cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 16248] New: - Reloading a modified page causes NPE
Date Mon, 20 Jan 2003 05:09:55 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16248>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16248

Reloading a modified page causes NPE

           Summary: Reloading a modified page causes NPE
           Product: Cocoon 2
           Version: Current CVS
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: core
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: jefft@apache.org


Looks like something is fubar with caching in CVS head. If I generate the
samples with:

./build.sh -Dinclude.webapp.libs=yes webapp-local

and then view 

http://localhost:8787/cocoon/documents/index.html

everything seems to work.  Then I touch and save
build/cocoon/webapps/samples/documentation/xdocs/index.xml. Reloading the page
results in:

java.lang.NullPointerException
    at java.util.Hashtable.remove(Hashtable.java:431)
    at
org.apache.excalibur.store.impl.MRUMemoryStore.remove(MRUMemoryStore.java:217)
    at org.apache.cocoon.caching.impl.CacheImpl.remove(CacheImpl.java:140)
    at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.validatePipeline(AbstractCachingProcessingPipeline.java:497)
    at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:545)
    at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:497)
    at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:463)
    at
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:148)
    at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)
    at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164)
    at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)
    at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:153)
    at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)
    at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:143)
    at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:317)
    at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:299)
    at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:134)
    at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)
    at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164)
    at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)
    at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:153)
    at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)
    at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:143)
    at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:317)
    at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:299)
    at org.apache.cocoon.Cocoon.process(Cocoon.java:600)
    at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1104)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java)
    at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)

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


Mime
View raw message