Hi people,
I'm wondering if anybody has come across this problem. While developing
my app that uses Xindice, I sometimes get this error:
java.lang.NullPointerException
at
org.apache.xindice.core.DocumentCache$CacheKey.equals(DocumentCache.java:171)
at java.util.WeakHashMap.eq(WeakHashMap.java:248)
at java.util.WeakHashMap.get(WeakHashMap.java:340)
at
org.apache.xindice.core.DocumentCache.getDocument(DocumentCache.java:79)
at
org.apache.xindice.core.Collection.getDocument(Collection.java:711)
at
org.apache.xindice.core.Collection.putDocument(Collection.java:624)
at
org.apache.xindice.core.Collection.insertDocument(Collection.java:659)
at
org.apache.xindice.client.corba.CollectionServant.insertDocument(CollectionServant.java:317)
at
org.apache.xindice.client.corba.db.CollectionPOA._invoke(CollectionPOA.java:181)
at org.openorb.adapter.poa.POA.dispatch(POA.java:975)
at
org.openorb.net.AbstractServerRequest.dispatch(AbstractServerRequest.java:750)
at
org.openorb.net.ServerManagerImpl.serve_request(ServerManagerImpl.java:1467)
at
org.openorb.net.ServerManagerImpl.thread_pool_main(ServerManagerImpl.java:1410)
at
org.openorb.net.ServerManagerImpl.access$200(ServerManagerImpl.java:77)
at
org.openorb.net.ServerManagerImpl$PoolThread.run(ServerManagerImpl.java:1557)
It's always in the same method, which leads me to believe there is a bug
in Xindice. I'm getting close to deployment time and am worried that
this is going to cause issues for my users. Often, if I simply repeat
whatever action caused that error, it works fine. Does anybody have any
ideas?
thanks -mike