cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17673] - sendPage function in Flow causes an NPE.
Date Wed, 05 Mar 2003 16:08:49 GMT
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 u.cei@cbim.it  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).

Mime
View raw message