You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-user@db.apache.org by Templexp Tan <te...@gmail.com> on 2008/04/15 03:06:33 UTC
Null Pointer ? any idea how to solve
Hi,
There are some problem like the following:
java.sql.SQLException: DERBY SQL error: SQLCODE: -1, SQLSTATE: XJ001,
SQLERRMC: java.lang.NullPointerExceptionXJ001.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?
Regards,
Temple
Re: Null Pointer ? any idea how to solve
Posted by ramana reddy <ra...@rediffmail.com>.
Check the database path
--
View this message in context: http://www.nabble.com/Null-Pointer---any-idea-how-to-solve-tp16693049p16895550.html
Sent from the Apache Derby Users mailing list archive at Nabble.com.
Re: Null Pointer ? any idea how to solve
Posted by Øystein Grøvlen <Oy...@Sun.COM>.
Templexp Tan wrote:
> Hi,
>
> There are some problem like the following:
>
>
> java.sql.SQLException: DERBY SQL error: SQLCODE: -1, SQLSTATE: XJ001,
> SQLERRMC: java.lang.NullPointerExceptionXJ001.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
Re: Null Pointer ? any idea how to solve
Posted by Mamta Satoor <ms...@gmail.com>.
Can you please provide more info on what is causing the problem? Is
there a reproducible SQL script in IJ that can duplicate the problem?
thanks,
Mamta
On 4/14/08, Templexp Tan <te...@gmail.com> wrote:
> Hi,
>
> There are some problem like the following:
>
>
> java.sql.SQLException: DERBY SQL error: SQLCODE: -1, SQLSTATE: XJ001,
> SQLERRMC: java.lang.NullPointerExceptionXJ001.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?
>
>
> Regards,
> Temple
>