db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Øystein Grøvlen <Oystein.Grov...@Sun.COM>
Subject Re: Null Pointer ? any idea how to solve
Date Tue, 15 Apr 2008 06:13:52 GMT
Templexp Tan wrote:
> Hi,
> 
> There are some problem like the following:
> 
> 
> java.sql.SQLException: DERBY SQL error: SQLCODE: -1, SQLSTATE: XJ001, 
> SQLERRMC: java.lang.NullPointerException&#20;&#20;XJ001.U
>      at 
> org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(Unknown 
> Source)
>      at org.apache.derby.client.am.SqlException.getSQLException(Unknown 
> Source)
>      at org.apache.derby.client.am.Statement.executeQuery(Unknown Source)
> 
> 
> any idea how it happens?
> 

More information is needed to tell the origin of the 
NullPointerException.  If you could print the entire exception chain, 
this could give more information.  Also, if the NPE occurs on the 
server, there is probably a stack trace in derby.log that could tell a 
bit more.

--
Øystein


Mime
View raw message