You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2003/01/06 19:43:58 UTC

DO NOT REPLY [Bug 15820] New: - Null pointer exception - EsqlQuery constructor

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=15820>.
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=15820

Null pointer exception - EsqlQuery constructor

           Summary: Null pointer exception - EsqlQuery constructor
           Product: Cocoon 2
           Version: 2.0.4
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: john@geekhavoc.com


(Component could be wrong; is ESQL really "core"?)

Because I seem to be having problems establishing a database connection
(although what type of problems I do not know, because I can't figure out
how to debug the system), EsqlQuery is receiving a null connection parameter
to the EsqlConnection, String constructor.

There's no sanity checking on the parameters, so line 99 of EsqlQuery.java
throws a null pointer exception when connection.getLimitMethod() is invoked.

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org