Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-5915

NPE in LIRS cache

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Cannot Reproduce
    • 1.8.0
    • 1.8.0
    • cache, core
    • None

    Description

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

      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)
      

      Unfortunately no further information or ways to reproduce this.

      FYI tmueller

      Attachments

        Activity

          People

            thomasm Thomas Mueller
            mduerig Michael Dürig
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: