You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Davanum Srinivas <di...@yahoo.com> on 2001/05/26 13:27:22 UTC
Re: [C2] NullPointerException after reloading welcome page
Gerhard,
What is your ServletEngine and your environment?
Thanks,
dims
--- gerhard <g-...@gmx.de> wrote:
> Hi,
> after a reload of the welcome page I got following NullPointerException
> in the cocoon.log:
>
> -->
> DEBUG 38146 [cocoon ] (Thread-9): getRealPath for /: H:\xml-cocoon2\build\cocoon\webapp\
> DEBUG 38146 [cocoon ] (Thread-9): URL for Root: file:/H:/xml-cocoon2/build/cocoon/webapp/
> DEBUG 38148 [cocoon ] (Thread-9): Making URL from
> file:/H:/xml-cocoon2/build/cocoon/webapp/sitemap.xmap
> DEBUG 38148 [cocoon ] (Thread-9): Changing Cocoon context(sitemap.xmap) to prefix()
> DEBUG 38148 [cocoon ] (Thread-9): from context(file:/H:/xml-cocoon2/build/cocoon/webapp/)
> and prefix()
> DEBUG 38149 [cocoon ] (Thread-9): at URI images/cocoon.gif
> DEBUG 38149 [cocoon ] (Thread-9): New context is file:/H:/xml-cocoon2/build/cocoon/webapp/
> DEBUG 38149 [cocoon ] (Thread-9): Retrieving a
> org.apache.cocoon.components.pipeline.CachingEventPipeline from the
> pool
> DEBUG 38150 [cocoon ] (Thread-9): Retrieving a
> org.apache.cocoon.components.pipeline.CachingStreamPipeline from the
> pool
> DEBUG 38150 [cocoon ] (Thread-9): Matched wildcardmatcher_wildcard_N3C2
> DEBUG 38151 [cocoon ] (Thread-9): Component reader:resource( emptyParam )
> DEBUG 38151 [cocoon ] (Thread-9): Source=resources/images/{1}.gif
> DEBUG 38151 [cocoon ] (Thread-9): Mime-type: image/gif
> DEBUG 38151 [cocoon ] (Thread-9): substitute evaluated value for 1 as cocoon
> DEBUG 38152 [cocoon ] (Thread-9): Retrieving a org.apache.cocoon.reading.ResourceReader
> from the pool
> DEBUG 38152 [cocoon ] (Thread-9): Making URL from
> file:/H:/xml-cocoon2/build/cocoon/webapp/resources/images/cocoon.gif
> DEBUG 38153 [cocoon ] (Thread-29): Making URL from
> file:/H:/xml-cocoon2/build/cocoon/webapp/sitemap.xmap
> DEBUG 38155 [cocoon ] (Thread-29): ComponentFactory creating new instance of
> org.apache.cocoon.components.language.markup.sitemap.SitemapMarkupLanguage.
> DEBUG 38170 [cocoon ] (Thread-9): Found cached response for 'images/cocoon.gif'.
> DEBUG 38170 [cocoon ] (Thread-9): Compared cached validity 'TimeStampCacheValidity:
> 990881141000' with new validity
> 'TimeStampCacheValidity: 990881141000' : valid
> DEBUG 38170 [cocoon ] (Thread-9): Using valid cached content for 'images/cocoon.gif'.
> DEBUG 38172 [cocoon ] (Thread-9): Recycling of CachingEventPipeline
> DEBUG 38172 [cocoon ] (Thread-9): Returning a
> org.apache.cocoon.components.pipeline.CachingEventPipeline to the
> pool
> DEBUG 38172 [cocoon ] (Thread-9): Recycling of CachingStreamPipeline
> DEBUG 38172 [cocoon ] (Thread-9): Returning a org.apache.cocoon.reading.ResourceReader to
> the pool
> DEBUG 38173 [cocoon ] (Thread-9): Returning a
> org.apache.cocoon.components.pipeline.CachingStreamPipeline to the
> pool
> INFO 38173 [cocoon ] (Thread-9): 'images/cocoon.gif' Processed by Apache Cocoon 2.0a7 in
> 290 milliseconds.
> DEBUG 38331 [cocoon ] (Thread-29): Holding object in memory. Key:
>
jar:file:H:\xml-cocoon2\build\cocoon\webapp\WEB-INF\lib\cocoon-2.0a7.jar!/org/apache/cocoon/components/language/markup/s
> itemap/java/sitemap.xsl
> DEBUG 38331 [cocoon ] (Thread-29): ComponentFactory decommissioning instance of
> org.apache.cocoon.components.language.markup.sitemap.SitemapMarkupLanguage.
> ERROR 38332 [cocoon ] (Thread-29): Error compiling sitemap
> java.lang.NullPointerException
> at org.apache.cocoon.environment.AbstractEnvironment.resolve(AbstractEnvironment.java:198)
> at
>
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateResource(ProgramGeneratorImpl.java:230)
> at
>
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:206)
> at org.apache.cocoon.sitemap.Handler.run(Handler.java:221)
> at java.lang.Thread.run(Thread.java:484)
> <--
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
=====
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
Re: [C2] NullPointerException after reloading welcome page
Posted by gerhard <g-...@gmx.de>.
Hi,
sorry I forgot:
Windows NT 4.0 SP 6
x86
tomcat 3.2
jdk 1.3.0-C
Cheers
Gerhard
----- Original Message -----
From: "Davanum Srinivas" <di...@yahoo.com>
To: <co...@xml.apache.org>
Sent: Saturday, May 26, 2001 12:27 PM
Subject: Re: [C2] NullPointerException after reloading welcome page
> Gerhard,
>
> What is your ServletEngine and your environment?
>
> Thanks,
> dims
>
> --- gerhard <g-...@gmx.de> wrote:
> > Hi,
> > after a reload of the welcome page I got following NullPointerException
> > in the cocoon.log:
> >
> > -->
> > DEBUG 38146 [cocoon ] (Thread-9): getRealPath for /: H:\xml-cocoon2\build\cocoon\webapp\
> > DEBUG 38146 [cocoon ] (Thread-9): URL for Root: file:/H:/xml-cocoon2/build/cocoon/webapp/
> > DEBUG 38148 [cocoon ] (Thread-9): Making URL from
> > file:/H:/xml-cocoon2/build/cocoon/webapp/sitemap.xmap
> > DEBUG 38148 [cocoon ] (Thread-9): Changing Cocoon context(sitemap.xmap) to prefix()
> > DEBUG 38148 [cocoon ] (Thread-9): from context(file:/H:/xml-cocoon2/build/cocoon/webapp/)
> > and prefix()
> > DEBUG 38149 [cocoon ] (Thread-9): at URI images/cocoon.gif
> > DEBUG 38149 [cocoon ] (Thread-9): New context is file:/H:/xml-cocoon2/build/cocoon/webapp/
> > DEBUG 38149 [cocoon ] (Thread-9): Retrieving a
> > org.apache.cocoon.components.pipeline.CachingEventPipeline from the
> > pool
> > DEBUG 38150 [cocoon ] (Thread-9): Retrieving a
> > org.apache.cocoon.components.pipeline.CachingStreamPipeline from the
> > pool
> > DEBUG 38150 [cocoon ] (Thread-9): Matched wildcardmatcher_wildcard_N3C2
> > DEBUG 38151 [cocoon ] (Thread-9): Component reader:resource( emptyParam )
> > DEBUG 38151 [cocoon ] (Thread-9): Source=resources/images/{1}.gif
> > DEBUG 38151 [cocoon ] (Thread-9): Mime-type: image/gif
> > DEBUG 38151 [cocoon ] (Thread-9): substitute evaluated value for 1 as cocoon
> > DEBUG 38152 [cocoon ] (Thread-9): Retrieving a org.apache.cocoon.reading.ResourceReader
> > from the pool
> > DEBUG 38152 [cocoon ] (Thread-9): Making URL from
> > file:/H:/xml-cocoon2/build/cocoon/webapp/resources/images/cocoon.gif
> > DEBUG 38153 [cocoon ] (Thread-29): Making URL from
> > file:/H:/xml-cocoon2/build/cocoon/webapp/sitemap.xmap
> > DEBUG 38155 [cocoon ] (Thread-29): ComponentFactory creating new instance of
> > org.apache.cocoon.components.language.markup.sitemap.SitemapMarkupLanguage.
> > DEBUG 38170 [cocoon ] (Thread-9): Found cached response for 'images/cocoon.gif'.
> > DEBUG 38170 [cocoon ] (Thread-9): Compared cached validity 'TimeStampCacheValidity:
> > 990881141000' with new validity
> > 'TimeStampCacheValidity: 990881141000' : valid
> > DEBUG 38170 [cocoon ] (Thread-9): Using valid cached content for 'images/cocoon.gif'.
> > DEBUG 38172 [cocoon ] (Thread-9): Recycling of CachingEventPipeline
> > DEBUG 38172 [cocoon ] (Thread-9): Returning a
> > org.apache.cocoon.components.pipeline.CachingEventPipeline to the
> > pool
> > DEBUG 38172 [cocoon ] (Thread-9): Recycling of CachingStreamPipeline
> > DEBUG 38172 [cocoon ] (Thread-9): Returning a org.apache.cocoon.reading.ResourceReader to
> > the pool
> > DEBUG 38173 [cocoon ] (Thread-9): Returning a
> > org.apache.cocoon.components.pipeline.CachingStreamPipeline to the
> > pool
> > INFO 38173 [cocoon ] (Thread-9): 'images/cocoon.gif' Processed by Apache Cocoon 2.0a7 in
> > 290 milliseconds.
> > DEBUG 38331 [cocoon ] (Thread-29): Holding object in memory. Key:
> >
>
jar:file:H:\xml-cocoon2\build\cocoon\webapp\WEB-INF\lib\cocoon-2.0a7.jar!/org/apache/cocoon/components/language/markup/s
> > itemap/java/sitemap.xsl
> > DEBUG 38331 [cocoon ] (Thread-29): ComponentFactory decommissioning instance of
> > org.apache.cocoon.components.language.markup.sitemap.SitemapMarkupLanguage.
> > ERROR 38332 [cocoon ] (Thread-29): Error compiling sitemap
> > java.lang.NullPointerException
> > at org.apache.cocoon.environment.AbstractEnvironment.resolve(AbstractEnvironment.java:198)
> > at
> >
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateResource(ProgramGeneratorImpl.java:230)
> > at
> >
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:206)
> > at org.apache.cocoon.sitemap.Handler.run(Handler.java:221)
> > at java.lang.Thread.run(Thread.java:484)
> > <--
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
> >
>
>
> =====
> Davanum Srinivas, JNI-FAQ Manager
> http://www.jGuru.com/faq/JNI
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
>
> ---------------------------------------------------------------------
> 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