db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Pendleton <bpendleton.de...@gmail.com>
Subject Re: nulls in prepared statement
Date Wed, 20 Jul 2011 03:59:44 GMT
> pstmt.setString(1,cobj.getPartNo());
>
> where the getPartNo() method returns null.  When this happens I get a null pointer exception.

It's not an exact match, but your description sounds VERY close to
https://issues.apache.org/jira/browse/DERBY-1938

Can you post a full stack trace of your NullPointerException?

What version of Derby are you using?

If you are in fact encountering DERBY-1938, can you upgrade to 10.8 and
see if your results are better?

thanks,

bryan

Mime
View raw message