Uploaded image for project: 'Bookkeeper'
  1. Bookkeeper
  2. BOOKKEEPER-854

NPE on InterleavedLedgerStorage.onRotateEntryLog

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.0, 4.3.1
    • Component/s: None
    • Labels:
      None

      Description

      testLedgerCacheFlushFailureOnDiskFull(org.apache.bookkeeper.bookie.LedgerCacheTest)  Time elapsed: 0.032 sec  <<< ERROR!
      java.lang.NullPointerException
              at org.apache.bookkeeper.bookie.InterleavedLedgerStorage.onRotateEntryLog(InterleavedLedgerStorage.java:350)
              at org.apache.bookkeeper.bookie.SortedLedgerStorage.onRotateEntryLog(SortedLedgerStorage.java:38)
              at org.apache.bookkeeper.bookie.EntryLogger.createNewLog(EntryLogger.java:381)
              at org.apache.bookkeeper.bookie.EntryLogger.addEntry(EntryLogger.java:637)
              at org.apache.bookkeeper.bookie.InterleavedLedgerStorage.processEntry(InterleavedLedgerStorage.java:334)
              at org.apache.bookkeeper.bookie.SortedLedgerStorage.process(SortedLedgerStorage.java:149)
              at org.apache.bookkeeper.bookie.EntryMemTable.flushSnapshot(EntryMemTable.java:236)
              at org.apache.bookkeeper.bookie.EntryMemTable.flush(EntryMemTable.java:214)
              at org.apache.bookkeeper.bookie.SortedLedgerStorage.flush(SortedLedgerStorage.java:154)
              at org.apache.bookkeeper.bookie.LedgerCacheTest.testLedgerCacheFlushFailureOnDiskFull(LedgerCacheTest.java:291)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:601)
              at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
              at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
              at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
              at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
              at org.junit.internal.runners.statements.FailOnTimeout$1.run(FailOnTimeout.java:28)
      

        Attachments

          Activity

            People

            • Assignee:
              hustlmsp Sijie Guo
              Reporter:
              hustlmsp Sijie Guo
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: