Noel J. Bergman wrote: > Any idea what would cause: > > 17/12/05 11:26:36 ERROR mailstore: Error retrieving pending messages > java.lang.NullPointerException > at > org.apache.derby.impl.store.access.conglomerate.GenericConglomerateControlle > r.fetch(Unknown Source) > at
[stack snipped] > Our code is the loadPendingMessages method in JDBCSpoolRepository, which > executes the listMessagesSQL query found in sqlResources.xml. > > ref: > http://svn.apache.org/repos/asf/james/server/trunk/src/java/org/apache/james > /mailrepository/JDBCSpoolRepository.java > http://svn.apache.org/repos/asf/james/server/trunk/src/conf/sqlResource > s.xml > > I don't see anything the SQL statement that I would expect to cause a > problem. Internal race condition? Most likely a race condition, a JDBC request to Derby should never receive a NPE. I looked at the code briefly and nothing jumped out as wrong. I'l see if I can reproduce it in my messing around with James. Dan.
