DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26072>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26072 Null pointer exception being thrown in SLQNestedException Summary: Null pointer exception being thrown in SLQNestedException Product: Commons Version: 1.1 Final Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Dbcp AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] If you have a logWriter installed via DriverManager.setLogWriter() and then the code tries to create a SQLNestedException you will get a null pointer in SQLNestedException.printStackTrace(). This is due to super(msg); in SQLNestedException constructor. You can see that this called SQLException constructor which (if you have a logWriter installed) called printStackTrace(). This method is overloaded in SQLNestedException and expects the instance variable cause to be populated but it isn't as the method has not completed the constructor. An example place this can occur is line 175 in PoolingDriver.connect(). This method tries to create a SQLNestedException(). --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
