Forum Stats

  • 3,768,730 Users
  • 2,252,841 Discussions
  • 7,874,701 Comments

Discussions

com.sleepycat.je.evictor.LRUEvictor NPE

2684498
2684498 Member Posts: 1
edited Jun 2, 2014 3:16PM in Berkeley DB Java Edition

00:11:20.003 202792571 [charlotteScheduler-2] ERROR c.i.c.crawler.dao.TodoUrlDao -

java.lang.NullPointerException: null

  at com.sleepycat.je.evictor.LRUEvictor$LRUList.moveBack(LRUEvictor.java:856) ~[je-6.0.11.jar:6.0.11]

  at com.sleepycat.je.evictor.LRUEvictor.moveBack(LRUEvictor.java:1350) ~[je-6.0.11.jar:6.0.11]

  at com.sleepycat.je.tree.IN.setGeneration(IN.java:640) ~[je-6.0.11.jar:6.0.11]

  at com.sleepycat.je.tree.IN.latchShared(IN.java:551) ~[je-6.0.11.jar:6.0.11]

  at com.sleepycat.je.tree.Tree.searchSubTreeInternal(Tree.java:1580) ~[je-6.0.11.jar:6.0.11]

  at com.sleepycat.je.tree.Tree.searchSubTree(Tree.java:1403) ~[je-6.0.11.jar:6.0.11]

  at com.sleepycat.je.tree.Tree.search(Tree.java:1271) ~[je-6.0.11.jar:6.0.11]

  at com.sleepycat.je.dbi.CursorImpl.searchAndPosition(CursorImpl.java:1623) ~[je-6.0.11.jar:6.0.11]

  at com.sleepycat.je.Cursor.searchInternal(Cursor.java:2960) ~[je-6.0.11.jar:6.0.11]

  at com.sleepycat.je.Cursor.searchAllowPhantoms(Cursor.java:2799) ~[je-6.0.11.jar:6.0.11]

  at com.sleepycat.je.Cursor.searchNoDups(Cursor.java:2647) ~[je-6.0.11.jar:6.0.11]

  at com.sleepycat.je.Cursor.search(Cursor.java:2594) ~[je-6.0.11.jar:6.0.11]

  at com.sleepycat.je.Cursor.readPrimaryAfterGet(Cursor.java:4079) ~[je-6.0.11.jar:6.0.11]

  at com.sleepycat.je.JoinCursor.retrieveNext(JoinCursor.java:469) ~[je-6.0.11.jar:6.0.11]

  at com.sleepycat.je.JoinCursor.getNext(JoinCursor.java:378) ~[je-6.0.11.jar:6.0.11]

00:11:20.153 202792721 [download-thread-4] ERROR c.i.c.crawler.group.dao.WebPageDao - willUpdateThisLoop

java.lang.NullPointerException: null

  at com.sleepycat.je.evictor.LRUEvictor$LRUList.moveBack(LRUEvictor.java:856) ~[je-6.0.11.jar:6.0.11]

  at com.sleepycat.je.evictor.LRUEvictor.moveBack(LRUEvictor.java:1350) ~[je-6.0.11.jar:6.0.11]

  at com.sleepycat.je.tree.IN.setGeneration(IN.java:640) ~[je-6.0.11.jar:6.0.11]

  at com.sleepycat.je.tree.IN.latchShared(IN.java:551) ~[je-6.0.11.jar:6.0.11]

  at com.sleepycat.je.tree.Tree.searchSubTreeInternal(Tree.java:1580) ~[je-6.0.11.jar:6.0.11]

  at com.sleepycat.je.tree.Tree.searchSubTree(Tree.java:1403) ~[je-6.0.11.jar:6.0.11]

  at com.sleepycat.je.tree.Tree.search(Tree.java:1271) ~[je-6.0.11.jar:6.0.11]

  at com.sleepycat.je.dbi.CursorImpl.searchAndPosition(CursorImpl.java:1623) ~[je-6.0.11.jar:6.0.11]

  at com.sleepycat.je.Cursor.searchInternal(Cursor.java:2960) ~[je-6.0.11.jar:6.0.11]

  at com.sleepycat.je.Cursor.searchAllowPhantoms(Cursor.java:2799) ~[je-6.0.11.jar:6.0.11]

  at com.sleepycat.je.Cursor.searchNoDups(Cursor.java:2647) ~[je-6.0.11.jar:6.0.11]

  at com.sleepycat.je.Cursor.search(Cursor.java:2594) ~[je-6.0.11.jar:6.0.11]

  at com.sleepycat.je.Cursor.search(Cursor.java:2579) ~[je-6.0.11.jar:6.0.11]

  at com.sleepycat.je.Database.get(Database.java:1309) ~[je-6.0.11.jar:6.0.11]

  at com.sleepycat.persist.PrimaryIndex.get(PrimaryIndex.java:595) ~[je-6.0.11.jar:6.0.11]

Answers

  • Hello,

    Thank you for reporting this. Unfortunately, the stack trace alone does not help much in identifying the problem. Can you tell us how often you see this and whether it is reproducible in some controlled (hopefully deterministic) way? Another step towards getting more information is to turn assertions on for JE in your environment. Hopefully an assertion will fire at an earlier point and give us some clue about the bug.

    Best,

    Markos.

This discussion has been closed.