Matthew Hailstone wrote:

>Awesome! I changed the xsp file to declare a namespace of:
>
>    xmlns:session="http://apache.org/xsp/session/2.0";
>          create-session="true"
>
>instead of 
>
>    xmlns:xsp-session="http://apache.org/xsp/session/2.0";
>          create-session="true"
>
>and changed all the tags in the file (of course :)
>
>Thank you Vadim.
>
>It now compiles, but I have a new problem.
>
>Forgive me for relentlessly inquiring, but I really have no clue. :)
>I am excited that I am actually getting somewhere, which I haven't been
>for some time.
>

...

>java.lang.NullPointerException
>       at
>org.apache.cocoon.components.language.markup.xsp.XSPRequestHelper.setSes
>sionAttribute(XSPRequestHelper.java:454)
>       at
>org.apache.cocoon.www.eval.logic.form_xsp.generate(form_xsp.java:265)
>       at
>org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGe
>nerator.java:226)
>       at
>  
>

...

>Thoughts?
>

Bug in your XSP. 99 out of 100 that you are using request or response 
variables before they are initialized, or session before it is created 
(you have to explicitly create session).


Vadim



>Matthew
>  
>


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

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

Reply via email to