I am working with a user who is getting a NullPointerException in 10.1. Below is the Derby
part of the trace:

  [1/24/08 14:25:59:741 EST] 0000002b SystemErr
R java.lang.NullPointerException
org.apache.derby.iapi.jdbc.BrokeredConnection.newBrokeredStatement(BrokeredConnection.java:448)
org.apache.derby.jdbc.XAStatementControl.<init>(XAStatementControl.java:62) org.apache.derby.jdbc.EmbedXAConnection.wrapStatement(EmbedXAConnection.java:827)
org.apache.derby.iapi.jdbc.BrokeredConnection.createStatement(BrokeredConnection.java:296)
....


Looking though at the code, I don't really see how we can get a NPE at this point. public BrokeredStatement newBrokeredStatement(BrokeredStatementControl statementControl) throws SQLException { return new BrokeredStatement(statementControl, getJDBCLevel()); << line 448
   }

I've been assured that we are not missing the top of the trace. The issue is intermittent and it happens in a complex environment for which we don't have a simple repro at this point. We've asked them to try with JIT turned off in case it is a JIT issue. Any other thoughts on this error and how to debug?


Kathey

Reply via email to