Is it possibile to save or debug XSP-generated Java code?

I am trying to create a XML using the ESQL logicsheet to access an
Interbase table, and this is my code:

<xsp:page language="java" 
xmlns:xsp="http://apache.org/xsp"; 
xmlns:xsp-request="http://apache.org/xsp/request/2.0";
xmlns:esql="http://apache.org/cocoon/SQL/v2";>

        <esql:connection>
        <esql:pool>mypool</esql:pool>
        <esql:execute-query>
                <esql:query>SELECT * FROM ROOMS</esql:query>
                <esql:results>

                        <esql:row-results>
                        <room>
                                <id><esql:get-string column="id"/></id>
                        </room>
                        </esql:row-results>
                </esql:results>
                <esql:no-results>
                </esql:no-results>
        </esql:execute-query>
        </esql:connection>
</xsp:page>

Cocoon gives me:

Exception in
ServerPagesGenerator.generate():java.lang.NullPointerException

What's it?

Cordiali saluti,
Paolo Scaffardi
AIRVENT SAM S.p.A.



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to