cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Berin Loritsch" <blorit...@infoplanning.com>
Subject [C2] NullPointerException (command line operation)
Date Wed, 29 Nov 2000 19:28:39 GMT
I get this from the command line.  It happens when you try
to get a Cocoon.RESPONSE_OBJECT from the Map objectModel
passed to the browserSelector.  During servlet execution,
the browserSelector works fine.

java.lang.NullPointerException
 at _D_._WebSphere._AppServer._hosts._default_host._ePos._web._sitemap_xmap.browserSelect(_sitemap_xmap.java:221)
 at _D_._WebSphere._AppServer._hosts._default_host._ePos._web._sitemap_xmap.process(_sitemap_xmap.java:951)
 at org.apache.cocoon.sitemap.Handler.process(Handler.java:132)
 at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:87)
 at org.apache.cocoon.Cocoon.process(Cocoon.java:239)
 at org.apache.cocoon.Main.getPage(Main.java:409)
 at org.apache.cocoon.Main.processURI(Main.java:338)
 at org.apache.cocoon.Main.process(Main.java:297)
 at org.apache.cocoon.Main.main(Main.java:193)

This also happens during xsp/simple.xsp execution.

C:\projects\xml-cocoon\dist\cocoon-2.0a3>run -l logs/cocoon.log -u DEBUG -c D:\WebSphere\AppServer\hosts\default_host\ePos\web
xsp/simple.xsp
java.lang.NullPointerException
java.lang.NullPointerException
        at org.apache.cocoon.transformation.XalanTransformer.setup(XalanTransformer.java:182)
        at org.apache.cocoon.sitemap.ResourcePipeline.process(ResourcePipeline.java:181)
        at _D_._WebSphere._AppServer._hosts._default_host._ePos._web._sitemap_xmap.error_process_1(_sitemap_xmap.java:1893)
        at _D_._WebSphere._AppServer._hosts._default_host._ePos._web._sitemap_xmap.process(_sitemap_xmap.java:1858)
        at org.apache.cocoon.sitemap.Handler.process(Handler.java:132)
        at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:87)
        at org.apache.cocoon.Cocoon.process(Cocoon.java:239)
        at org.apache.cocoon.Main.warmup(Main.java:287)
        at org.apache.cocoon.Main.main(Main.java:192)

The error page generated has this exception:

java.lang.RuntimeException: org.apache.cocoon.environment.commandline.CommandLineRequest.getParameterValues(String
name) method not
yet implemented!
 at org.apache.cocoon.environment.commandline.CommandLineRequest.getParameterValues(CommandLineRequest.java:115)
 at org.apache.cocoon.components.language.markup.xsp.XSPRequestHelper.getParameterValues(XSPRequestHelper.java:121)
 at _D_._WebSphere._AppServer._hosts._default_host._ePos._web._docs._samples._xsp._simple_xsp.generate(_simple_xsp.java:470)
 at org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenerator.java:143)
 at org.apache.cocoon.sitemap.ResourcePipeline.process(ResourcePipeline.java:201)
 at _D_._WebSphere._AppServer._hosts._default_host._ePos._web._sitemap_xmap.process(_sitemap_xmap.java:1581)
 at org.apache.cocoon.sitemap.Handler.process(Handler.java:132)
 at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:87)
 at org.apache.cocoon.Cocoon.process(Cocoon.java:239)
 at org.apache.cocoon.Main.getPage(Main.java:409)
 at org.apache.cocoon.Main.processURI(Main.java:338)
 at org.apache.cocoon.Main.processURI(Main.java:330)
 at org.apache.cocoon.Main.process(Main.java:297)
 at org.apache.cocoon.Main.main(Main.java:193)



---------------------------------------
If you lust for Ham and Eggs, you have
committed breakfast in your heart
already.   -- C. S. Lewis


Mime
View raw message