> From: news [mailto:[EMAIL PROTECTED]] On Behalf Of Sven Kuenzler
> Sent: Monday, July 08, 2002 5:50 AM
> To: [EMAIL PROTECTED]
> Subject: NullPointerException starting Cocoon
> 
> Trying to install latest 2.0.3 cvs on Tomcat 4.0.4 (JDK 1.3_03), I
get:

Cocoon 2.0.3 CVS, Tomcat 4.0.4, JDK 1.3 - this should work out of the
box, with no modifications to anything.

But, if you modified something, like added some xml parser to the
jre/lib/ext, then this can break things.


Vadim

 
> [Servlet output]
> java.lang.NullPointerException
>       at
>
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>       at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFi
> lterChain.java:247)
> ...
> 
> [error.log]
> ERROR   (2002-07-08) 11:40.52:440   [core] (Unknown-URI)
> Unknown-thread/Cocoon: Could not configure Cocoon environment
> org.apache.avalon.framework.component.ComponentException: Could not
> access the Component
>       at
>
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(E
xcalib
> urComponentManager.java:396)
>       at org.apache.cocoon.Cocoon.configure(Cocoon.java:324)
>       at org.apache.cocoon.Cocoon.initialize(Cocoon.java:266)
>       at
>
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:
1237)
>       at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:435)
> ...
> 
> [core.log]
> DEBUG   (2002-07-08) 11:40.52:440   [core.startup] (Unknown-URI)
> Unknown-thread/ExcaliburComponentManager: Could not access the
Component
> for role: org.apache.avalon.excalibur.xml.Parser
> java.lang.IllegalStateException: You cannot get a component from an
> uninitialized holder.
>       at
>
org.apache.avalon.excalibur.component.PoolableComponentHandler.doGet(Poo
lableC
> omponentHandler.java:176)
>       at
>
org.apache.avalon.excalibur.component.ComponentHandler.get(ComponentHand
ler.ja
> va:139)
>       at
>
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(E
xcalib
> urComponentManager.java:381)
>       at org.apache.cocoon.Cocoon.configure(Cocoon.java:324)
>       at org.apache.cocoon.Cocoon.initialize(Cocoon.java:266)
>       at
>
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:
1237)
> [SNIP]
> ERROR   (2002-07-08) 11:40.52:440   [core] (Unknown-URI)
> Unknown-thread/Cocoon: Could not configure Cocoon environment
> org.apache.avalon.framework.component.ComponentException: Could not
> access the Component
>       at
>
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(E
xcalib
> urComponentManager.java:396)
>       at org.apache.cocoon.Cocoon.configure(Cocoon.java:324)
>       at org.apache.cocoon.Cocoon.initialize(Cocoon.java:266)
>       at
>
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:
1237)
> ...
> 
> Tomcat was prepared as described in installing (which says no
> preparation necessary for 4.0.4), Cocoon was built "clean webapp" with
> libs included.
> 
> Is this the Excalibur-built-with-JDK1.4 problem? If so, where do I get
a
> version which is running for me?
> 
>       Thanks, Sven
> 


---------------------------------------------------------------------
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:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to