forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <>
Subject Re: Updates to sitemap
Date Tue, 17 Sep 2002 14:17:47 GMT

An unfortunate side-effect of using modules is that whenever the sitemap is
altered, the Cocoon app dies:

java.lang.ClassCastException: java.lang.String
    at org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolver.dispose(
    at org.apache.cocoon.components.treeprocessor.TreeProcessor.disposeTree(
    at org.apache.cocoon.components.treeprocessor.TreeProcessor.setupRootNode(
    at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(
    at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(
    at org.apache.cocoon.Cocoon.process(
    at org.apache.cocoon.servlet.CocoonServlet.service(

Seems that when the old sitemap is dispose()d, the variable stack in
PreparedVariableResolver is corrupt, and it tries to convert a string (eg
'type') into an Integer, and dies.


View raw message