jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Created] (OAK-5915) NPE in LIRS cache
Date Thu, 09 Mar 2017 09:05:38 GMT
Michael Dürig created OAK-5915:
----------------------------------

             Summary: NPE in LIRS cache
                 Key: OAK-5915
                 URL: https://issues.apache.org/jira/browse/OAK-5915
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: cache, core
    Affects Versions: 1.8
            Reporter: Michael Dürig
             Fix For: 1.8


While experimenting with a snapshot of a production repository I hit an {{NPE}} in the LIRS
cache:

{noformat}
java.lang.NullPointerException
  org.apache.jackrabbit.oak.cache.CacheLIRS$Segment.removeFromStack(CacheLIRS.java:1333)
  org.apache.jackrabbit.oak.cache.CacheLIRS$Segment.access(CacheLIRS.java:907)
  org.apache.jackrabbit.oak.cache.CacheLIRS$Segment.get(CacheLIRS.java:880)
  org.apache.jackrabbit.oak.cache.CacheLIRS.getIfPresent(CacheLIRS.java:372)
  org.apache.jackrabbit.oak.segment.ReaderCache.get(ReaderCache.java:116)
  org.apache.jackrabbit.oak.segment.CachingSegmentReader.readString(CachingSegmentReader.java:90)
  org.apache.jackrabbit.oak.segment.Segment.readTemplate(Segment.java:567)
  org.apache.jackrabbit.oak.segment.CachingSegmentReader$2.apply(CachingSegmentReader.java:118)
  org.apache.jackrabbit.oak.segment.CachingSegmentReader$2.apply(CachingSegmentReader.java:114)
  org.apache.jackrabbit.oak.segment.ReaderCache.get(ReaderCache.java:118)
  org.apache.jackrabbit.oak.segment.CachingSegmentReader.readTemplate(CachingSegmentReader.java:114)
  org.apache.jackrabbit.oak.segment.SegmentNodeState.getTemplate(SegmentNodeState.java:102)
  org.apache.jackrabbit.oak.segment.SegmentNodeState.getChildNodeEntries(SegmentNodeState.java:439)
{noformat}

Unfortunately no further information or ways to reproduce this.

FYI [~tmueller]



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message