You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Antonio Gallardo Rivera <ag...@agsoftware.dnsalias.com> on 2002/09/03 15:06:46 UTC
[SUMMARY] sunRise throw java.lang.NullPointerException in Java 1.4
PROBLEM: When you are trying to use sunRise and your plataform is:
Cocoon 2.0.3
Tomcat 2.1.8 or 2.1.9
Java 1.4 or 1.4.1
You get the following error:
java.lang.NullPointerException
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(SimpleSession
Context.java:173)
at org.apache.cocoon.sunshine.sunrise.SunRise.isAuthenticated(SunRise.java:691
....
CAUSE:
You have to configure java to work with this libraries:
xalan-2.3.1.jar
xercesImpl-2.0.0.jar
xml-apis.jar
SOLUTION:
1-Stop Tomcat.
2-Create a directory named "endorsed" at $JAVA_HOME/jre/lib/
3-Copy from Cocoon the following files to the recent created directory:
xalan-2.3.1.jar
xercesImpl-2.0.0.jar
xml-apis.jar
4-Restart Tomcat
THANKS:
Many thanks to Matthew Langham that provide me the link to:
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=102927633032114&w=2
Antonio Gallardo
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: [SUMMARY] sunRise throw java.lang.NullPointerException in Java 1.4
Posted by Matthew Langham <ml...@s-und-n.de>.
>>
Many thanks to Matthew Langham that provide me the link to:
<<
Glad to see that solved your problem.
Matthew
-----Original Message-----
From: Antonio Gallardo Rivera [mailto:agallardo@agsoftware.dnsalias.com]
Sent: Tuesday, September 03, 2002 3:07 PM
To: cocoon-users@xml.apache.org
Subject: [SUMMARY] sunRise throw java.lang.NullPointerException in Java
1.4
PROBLEM: When you are trying to use sunRise and your plataform is:
Cocoon 2.0.3
Tomcat 2.1.8 or 2.1.9
Java 1.4 or 1.4.1
You get the following error:
java.lang.NullPointerException
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(SimpleSession
Context.java:173)
at
org.apache.cocoon.sunshine.sunrise.SunRise.isAuthenticated(SunRise.java:691
....
CAUSE:
You have to configure java to work with this libraries:
xalan-2.3.1.jar
xercesImpl-2.0.0.jar
xml-apis.jar
SOLUTION:
1-Stop Tomcat.
2-Create a directory named "endorsed" at $JAVA_HOME/jre/lib/
3-Copy from Cocoon the following files to the recent created directory:
xalan-2.3.1.jar
xercesImpl-2.0.0.jar
xml-apis.jar
4-Restart Tomcat
THANKS:
Many thanks to Matthew Langham that provide me the link to:
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=102927633032114&w=2
Antonio Gallardo
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>