cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joern_H...@notes.uni-paderborn.de
Subject Re: NullPointerException with SunShine -- user and password not stored in context?
Date Thu, 25 Jul 2002 09:25:08 GMT

Hi David,

I have got the same problem.

I am using:

Java 1.4.0
Tomcat 4.0.4
Cocoon 2.0.3

I´ve set:

JAVA_HOME=/usr/java/j2sdk1.4.0_01
CATALINA_OPTS='-Djava.awt.headless=true
-Djava_endorsed_dirs=/usr/java/j2sdk1.4.0_01/jre/lib/endorsed

I´ve copied the files:

xalan-2.3.1.jar
xercesImpl-2.0.0.jar
xml-apis.jar

from

cocoon-2.0.3-src.tar/lib/core

to

/usr/java/j2sdk1.4.0_01/jre/lib/endorsed

and also to

/var/tomcat4/common/lib


But still i get the NullPointerException after trying to log into the demo
portal.






--------------------------------------------------------------------------------------------------------------------------------

Cocoon 2 - Internal server error

type fatal

message null

description java.lang.NullPointerException

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

request-uri

/cocoon/sunspotdemofree-auth

path-info

sunspotdemofree-auth

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:691)
      at
org.apache.cocoon.sunshine.sunrise.acting.LoggedInAction.act(LoggedInAction.java:101)
      at
org.apache.cocoon.www.sitemap_xmap.matchN40045E(/var/cache/tomcat4/work/Standalone/localhost/cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:5074)
      at
org.apache.cocoon.www.sitemap_xmap.process(/var/cache/tomcat4/work/Standalone/localhost/cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:3319)
      at
org.apache.cocoon.www.sitemap_xmap.process(/var/cache/tomcat4/work/Standalone/localhost/cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:3100)
      at org.apache.cocoon.sitemap.Handler.process(Handler.java:224)
      at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
      at
org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:154)
      at org.apache.cocoon.Cocoon.process(Cocoon.java:575)
      at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java)
      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:243)
      at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
      at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
      at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
      at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
      at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
      at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
      at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
      at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
      at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
      at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
      at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
      at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
      at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
      at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
      at java.lang.Thread.run(Thread.java:536)



---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message