You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Gerhard Froehlich <g-...@gmx.de> on 2001/12/09 23:55:50 UTC

NullPointerException looking up SAXConnector

Hi,
following NullPointerException attracted
my attention during tests.
Maybe nothing serious, but NullPointerExceptions 
making me nervous all the time ;).

It seems to be that the ComponentManager fails
to lookup the implementation of the SAXConnector.

This entry in the cocoon.role

<role name="org.apache.cocoon.components.saxconnector.SAXConnector"
       shorthand="sax-connector"/>

gives that issue a bit of logic.

Cheers
Gerhard
 
--------------------------------
Beam me up... arrgh, no carrier!
--------------------------------

RE: NullPointerException looking up SAXConnector

Posted by Carsten Ziegeler <cz...@s-und-n.de>.
Hi,

this is by intention. The SAXConnector is optional, so the 
cocoon.role does not link an implementation to the role.

The NPE is inside avalon. Unfortunately it is raised and
logged by Avalon and this is actually the bug.

Carsten

> -----Original Message-----
> From: Gerhard Froehlich [mailto:g-froehlich@gmx.de]
> Sent: Sunday, December 09, 2001 11:56 PM
> To: cocoon-Dev
> Subject: NullPointerException looking up SAXConnector
> 
> 
> Hi,
> following NullPointerException attracted
> my attention during tests.
> Maybe nothing serious, but NullPointerExceptions 
> making me nervous all the time ;).
> 
> It seems to be that the ComponentManager fails
> to lookup the implementation of the SAXConnector.
> 
> This entry in the cocoon.role
> 
> <role name="org.apache.cocoon.components.saxconnector.SAXConnector"
>        shorthand="sax-connector"/>
> 
> gives that issue a bit of logic.
> 
> Cheers
> Gerhard
>  
> --------------------------------
> Beam me up... arrgh, no carrier!
> --------------------------------
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org