db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Noll <dan...@nuix.com>
Subject NPE getting length of Blob
Date Tue, 04 Mar 2008 05:07:55 GMT
Hi all.

I have someone seeing the following error under both 10.3.1.4 and 10.3.2.1:

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

Mime
View raw message