cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <d...@yahoo.com>
Subject Re: [C2] NullPointerException after reloading welcome page
Date Sat, 26 May 2001 11:27:22 GMT
Gerhard,

What is your ServletEngine and your environment?

Thanks,
dims

--- gerhard <g-froehlich@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


Mime
View raw message