cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <giac...@apache.org>
Subject Re: AW: NPE since removal of SAXConnectors
Date Wed, 23 May 2001 16:11:53 GMT


On Wed, 23 May 2001, Carsten Ziegeler wrote:

> Is this NPE only in the logs or during a processing of a resource?

If I remember correctly they are in the logs.

> The only place were the SAXConnector is instantiated is the EventPipeline.
> It tests (by looking up) if the SAXConnector exists.

Yes. You've made a test to see if the SAXConnectors are available as
component in a try/cache block.

Giacomo

>
> Carsten
>
> > Giacomo Pati wrote:
> >
> > I've got a NPE
> >
> > ERROR   57297   [cocoon  ] (HttpProcessor[8080][4]): ComponentManager
> > Could not find component for role:
> > org.apache.cocoon.components.saxconnector.SAXConnector
> > java.lang.NullPointerException
> >         at
> > org.apache.catalina.loader.StandardClassLoader.loadClass(StandardC
> > lassLoader.java:1024)
> >         at
> > org.apache.catalina.loader.StandardClassLoader.loadClass(StandardC
> > lassLoader.java:976)
> >         at
> > org.apache.avalon.excalibur.component.DefaultComponentManager.look
> > up(DefaultComponentManager.java:149)
> >         at
> > org.apache.cocoon.components.pipeline.AbstractEventPipeline.compos
> > e(AbstractEventPipeline.java:70)
> >         at
> > org.apache.cocoon.components.pipeline.CachingEventPipeline.compose
> > (CachingEventPipeline.java:77)
> >
> > since the removal of the SAXConnectors from the cocoon.xconf.
> >
> > To me it seems that looking up a component that doesn't exists throws a
> > NPE in the DefaultComponentManager of excalibur?
> >
> > Can you verify that, Berin?
> >
> > Giacomo
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
>
>
>


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


Mime
View raw message