hi,
I have just recently started looking at the Cocoon 2 framework and the
current project needs are very much like the Sun Spot demo portal sample
application that comes with Cocoon.when i run it from the samples page
and after enter the username either as cocoon or guest and do submit , i
get  the following message on my browser page:
---------------------------------------------------------------------------
Cocoon2 - Internal Server Error
type  fatal
message null
description java.lang.NullPointerException
sender org.apache.cocoon.servlet.CocoonServlet
source Cocoon servlet
stack-trace
java.lang.NullPointerException
        at
org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUtil.java:869)
        at
org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUtil.java:871)
        at
org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUtil.java:871)
        at
org.apache.cocoon.sunshine.xml.XMLUtil.getNodeListFromPath(XMLUtil.java:836)
        at
org.apache.cocoon.sunshine.context.SimpleSessionContext.getXML(SimpleSessionContext.java:173)
        at
org.apache.cocoon.sunshine.sunrise.SunRise.isAuthenticated(SunRise.java:692)
        at
org.apache.cocoon.sunshine.sunrise.SunRise.checkAuthentication(SunRise.java:769)
        at
org.apache.cocoon.sunshine.sunrise.acting.AuthAction.act(AuthAction.java:122)
        at
org.apache.cocoon.www.sitemap_xmap.matchN400496(C:\Tomcat1\work\Standalone\localhost\cocoon\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:5223)
        at
org.apache.cocoon.www.sitemap_xmap.process(C:\Tomcat1\work\Standalone\localhost\cocoon\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:3313)
        at
org.apache.cocoon.www.sitemap_xmap.process(C:\Tomcat1\work\Standalone\localhost\cocoon\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:3091)
        at org.apache.cocoon.sitemap.Handler.process(Handler.java:227)
        at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:173)
        at
org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:152)
        at org.apache.cocoon.Cocoon.process(Cocoon.java:579)
        at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1043)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:458)
        at
org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551)
        at java.lang.Thread.run(Thread.java:536)

request-uri
/cocoon/sunspotdemo-portal

path-info
sunspotdemo-portal

---------------------------------------------------------------------------
My system config is as follows:

OS: windows2000 advanced server
JDK:1.4
Webserver: IIS 5.0
Java Servlet Engine: Tomcat-4.1.18(connecting to IIS using ajp13)
Cocoon Server : 2.0.4.(The war file was generated using the source from
the download site and using =
 build option -Dinclude.webapp.libs=yes -Dinclude.scratchpad.libs=yes
webapp)

-----------------------
I am accessing the samples page by going to
http://10.194.45.66/cocoon/sunspotdemoportal

I saw a few of the same type of error listed on other forums but it was
not of much help.Hope you all might be able to help me out.
reagrds,
Gautam

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

Reply via email to