db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Narayanan <V.Naraya...@Sun.COM>
Subject Re: NPE getting length of Blob
Date Tue, 04 Mar 2008 10:14:43 GMT
Daniel Noll wrote:
> Hi all.
> I have someone seeing the following error under both and
> java.lang.NullPointerException
> 	at org.apache.derby.client.am.PreparedStatement.setIntX(Unknown Source)
> 	at org.apache.derby.client.am.CallableLocatorProcedures.blobGetLength(Unknown 
> Source)
> 	at org.apache.derby.client.am.Blob.getLocatorLength(Unknown Source)
> 	at org.apache.derby.client.am.Lob.sqlLength(Unknown Source)
> 	at org.apache.derby.client.am.Blob.length(Unknown Source)
> Has anyone seen something like this before?  What is the cause of the problem?  
> The exact same code on the exact same version of Derby doesn't cause the same 
> problem over here; could it be something which only happens when unusual 
> network conditions are happening, or something which only happens when the 
> database meets a certain condition?
> Daniel
Can you give more information about the code that uses this?

Can you check what version is the derby network server? What version is 
the network client?

This information will be very useful if we try to single step the code 
to find out
the problem source.

 From the attached information I find it a difficult to speculate on the 
source of the failure :(


View raw message