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

sendPage function in Flow causes an NPE.





------- Additional Comments From [EMAIL PROTECTED]  2003-03-05 16:08 -------
I've attached a copy of Jetty's output that contains a full stacktrace. As for
the test case, create a file called test.js in build/webapp:

function welcome() {
  sendPage("/");
}

And add the following statements to sitemap.xmap. This one as a child of
map:sitemap 

<map:flow language="JavaScript">
  <map:script src="test.js"/>
</map:flow>

And this one inside a pipeline:

<map:match pattern="welcome">
  <map:call function="welcome"/>
</map:match>

Then request http://localhost:8888/welcome if running under Jetty with
"cocoon.sh servlet" (YMMV).

Reply via email to