[ http://issues.apache.org/jira/browse/FOR-672?page=all ]
Ross Gardler updated FOR-672:
-----------------------------
Priority: Trivial (was: Blocker)
The specific problem in the voice plugin has been resolved (thanks Thorsten)
however, the underlying issue still remains. I'm reducing the priority to
trivial, but leaving it open as this is a very confusin error message and
having this in here may help others coming across the problem.
Sooner or later the problem will be removed as views mature and become
independant of the old skinning system.
> Class Cast Exceptionin Views processing
> ---------------------------------------
>
> Key: FOR-672
> URL: http://issues.apache.org/jira/browse/FOR-672
> Project: Forrest
> Type: Bug
> Components: Views
> Reporter: Ross Gardler
> Priority: Trivial
> Fix For: 0.8-dev
>
> I've seen this before with views, but the problem "just disappeared" whilst I
> was exploring it. I have no idea why.
> Here's what I did:
> 1) Modified voice plugin to work with views (committed to svn now).
> 2) did forrest run - page rendered but content was missing (mini toc and
> title were present though)
> 3) svn up
> 4) build clean
> 5) build
> 6) deployed views plugins with views.sh
> 7) forrest run
> Browser reports:
> Internal Server Error
> Message: null
> Description: No details available.
> Sender: org.apache.cocoon.servlet.CocoonServlet
> error.log shows:
> ERROR (2005-09-12) 23:55.34:415 [access] (/index.html)
> PoolThread-4/CocoonServlet: Internal Cocoon Problem
> org.apache.cocoon.ProcessingException: Failed to process pipeline
> at [cause location] - cocoon://prepare.include.xhtml.index:209:77
> at <map:serialize type="xml"> -
> file:/D:/openSource/forrest/build/plugins/org.apache.forrest.plugin.internal.view/internal.xmap:220:34
> at <map:serialize type="xhtml"> -
> file:/D:/openSource/forrest/build/plugins/org.apache.forrest.plugin.output.viewHelper.xhtml/output.xmap:255:36
> at <map:transform> -
> file:/D:/openSource/forrest/build/plugins/org.apache.forrest.plugin.output.viewHelper.xhtml/output.xmap:254:72
> at <map:transform> -
> file:/D:/openSource/forrest/build/plugins/org.apache.forrest.plugin.output.viewHelper.xhtml/output.xmap:251:61
> ....
> Caused by: javax.xml.transform.TransformerException:
> java.lang.ClassCastException
> at org.apache.cocoon.transformation.TraxTransformer.endDocument(Unknown
> Source)
> at
> org.apache.cocoon.environment.internal.EnvironmentChanger.endDocument(Unknown
> Source)
> at org.apache.cocoon.sitemap.DefaultContentAggregator.generate(Unknown
> Source)
> ... 56 more
> Caused by: javax.xml.transform.TransformerException:
> java.lang.ClassCastException
> at org.apache.xalan.templates.ElemValueOf.execute(ElemValueOf.java:293)
> at
> org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336)
> at
> org.apache.xalan.transformer.TransformerImpl.transformToString(TransformerImpl.java:2019)
> at
> org.apache.xalan.templates.ElemAttribute.constructNode(ElemAttribute.java:196)
> ...
> Caused by: java.lang.ClassCastException
> at
> org.apache.xpath.axes.FilterExprIteratorSimple.executeFilterExpr(FilterExprIteratorSimple.java:120)
> at
> org.apache.xpath.axes.FilterExprWalker.setRoot(FilterExprWalker.java:129)
> at
> org.apache.xpath.axes.WalkingIterator.setRoot(WalkingIterator.java:154)
> I've not got time to do further investigation just now, can anyone reproduce
> this (perhaps using the voice plugin)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira