NPE for sale :-)

12 views
Skip to first unread message

Michael Widmann

unread,
Jan 11, 2012, 5:55:55 AM1/11/12
to orient-...@googlegroups.com
Hi .... is someone want it :-) 
svn: 4521

Luca you wanna have it ;-) 

java.lang.NullPointerException
 at java.lang.String.compareTo(String.java:1167)
 at java.lang.String.compareTo(String.java:92)
 at java.util.TreeMap.cmp(TreeMap.java:1911)
 at java.util.TreeMap.put(TreeMap.java:2002)
 at com.orientechnologies.orient.core.type.tree.OMVRBTreePersistent.addNodeAsEntrypoint(OMVRBTreePersistent.java:851)
 at com.orientechnologies.orient.core.type.tree.OMVRBTreePersistent.addNodeInMemory(OMVRBTreePersistent.java:839)
 at com.orientechnologies.orient.core.type.tree.OMVRBTreeEntryPersistent.<init>(OMVRBTreeEntryPersistent.java:100)
 at com.orientechnologies.orient.core.type.tree.OMVRBTreePersistent.createEntry(OMVRBTreePersistent.java:89)
 at com.orientechnologies.orient.core.type.tree.OMVRBTreePersistent.loadEntry(OMVRBTreePersistent.java:133)
 at com.orientechnologies.orient.core.type.tree.OMVRBTreeEntryPersistent.getLeft(OMVRBTreeEntryPersistent.java:425)
 at com.orientechnologies.common.collection.OMVRBTree.predecessor(OMVRBTree.java:2197)
 at com.orientechnologies.common.collection.OMVRBTree.getEntry(OMVRBTree.java:401)
 at com.orientechnologies.common.collection.OMVRBTree.getEntry(OMVRBTree.java:339)
 at com.orientechnologies.common.collection.OMVRBTree.containsKey(OMVRBTree.java:205)
 at com.orientechnologies.orient.core.type.tree.OMVRBTreePersistent.containsKey(OMVRBTreePersistent.java:519)
 at com.orientechnologies.orient.core.index.OIndexMVRBTreeAbstract.contains(OIndexMVRBTreeAbstract.java:225)
 at com.orientechnologies.orient.core.index.OIndexAbstractDelegate.contains(OIndexAbstractDelegate.java:65)
 at com.bayoda.ods.store.orientdb.OrientDBStore.exists(OrientDBStore.java:192)
 at com.bayoda.ods.store.orientdb.OrientDBStore.put(OrientDBStore.java:358)
 at com.bayoda.ods.store.orientdb.OrientDBStore.put(OrientDBStore.java:1)
 at com.bayoda.ods.store.orientdb.RetryOrientDBStore$1.doWork(RetryOrientDBStore.java:115)
 at com.bayoda.ods.store.orientdb.RetryOrientDBStore.retryOperation(RetryOrientDBStore.java:75)
 at com.bayoda.ods.store.orientdb.RetryOrientDBStore.put(RetryOrientDBStore.java:112)
 at com.bayoda.ods.store.orientdb.RetryOrientDBStore.put(RetryOrientDBStore.java:1)
 at com.bayoda.ods.remoting.impl.StorageServiceServer.put(StorageServiceServer.java:136)
 at com.bayoda.ods.storagenode.disruptor.MultiStorageEventHandler.doWork(MultiStorageEventHandler.java:70)
 at com.bayoda.ods.storagenode.disruptor.MultiStorageEventHandler.onEvent(MultiStorageEventHandler.java:112)
 at com.bayoda.ods.storagenode.disruptor.MultiStorageEventHandler.onEvent(MultiStorageEventHandler.java:1)
 at com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:113)
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)


--
bayoda.com - Professional Online Backup Solutions for Small and Medium Sized Companies

Luca Garulli

unread,
Jan 11, 2012, 6:02:11 AM1/11/12
to orient-...@googlegroups.com
Hi Michael,
seems that the index in memory has dirty values (a key is null). Can you provide a test case for it?

Lvc@

Michael Widmann

unread,
Jan 11, 2012, 10:12:08 AM1/11/12
to orient-...@googlegroups.com
This error happens when - about 60gb on data is in the database - with 1 Mio entries!

Would you like such a testcase ;-)

Michael

2012/1/11 Luca Garulli <l.ga...@gmail.com>
Reply all
Reply to author
Forward
0 new messages