tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob S." <rsli...@home.com>
Subject RE: Help me !
Date Tue, 11 Jul 2000 15:48:56 GMT
> Root cause:
> java.lang.NullPointerException
> 	at Retraining.StaffRecords.getRecords(StaffRecords.java:253)

> Statement st = con.createStatement();
>
> that causes the error. (line 253) although i have no idea why, the exact
> codes work fine in another bean!
>
> Can any1 help?

Well, the only thing that could cause a NPE in that line would be if the
"con" instance of Connection was null.

- r


Mime
View raw message