db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@apache.org>
Subject Re: Strange NPE in 10.1
Date Fri, 25 Jan 2008 19:59:15 GMT
Kathey Marsden wrote:
> Daniel John Debrunner wrote:
>>
>> Could it be DERBY-2142, which has a valid fix described.
>>
> Stan and I were looking at 2142, but for it to be that we would expect I 
> think the connection to be null and we have a dereference of it.  Here 
> our NPE comes at this line. How can we even get an NPE with this line of 
> code? Nothing is being dereferenced. I am sure I am being dense.
> 
> return new BrokeredStatement(statementControl, getJDBCLevel());

It could be the jit is messing up the line numbers for the NPE, 
especially if it is in-lining code. Could the NPE be in the 
BrokeredStatement constructor.

Dan.


Mime
View raw message