forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ross Gardler (JIRA)" <>
Subject [jira] Created: (FOR-672) Class Cast Exceptionin Views processing
Date Mon, 12 Sep 2005 23:03:30 GMT
Class Cast Exceptionin Views processing

         Key: FOR-672
     Project: Forrest
        Type: Bug
  Components: Views  
    Reporter: Ross Gardler
    Priority: Blocker
     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
3) svn up
4) build clean
5) build
6) deployed views plugins with
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(
	at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(
	at org.apache.xalan.transformer.TransformerImpl.transformToString(
	at org.apache.xalan.templates.ElemAttribute.constructNode(
Caused by: java.lang.ClassCastException
	at org.apache.xpath.axes.FilterExprIteratorSimple.executeFilterExpr(
	at org.apache.xpath.axes.FilterExprWalker.setRoot(
	at org.apache.xpath.axes.WalkingIterator.setRoot(

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:
For more information on JIRA, see:

View raw message