You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Eric Basley <er...@dexia-securities.fr> on 2002/04/28 18:29:59 UTC

Cocoon2.0.2 with jdk1.4 : ClassCastException

Trying to migrate to Cocoon2.0.2, I have many exceptions like those: 

org.apache.cocoon.ProcessingException: Exception in creating Transform
Handler: java.lang.ClassCastException:
org.apache.xalan.res.XSLTErrorResources_fr
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XSLTProcessorImpl.java:271)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XSLTProcessorImpl.java:204)
	at
org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:295)



java.lang.ClassCastException: org.apache.xalan.res.XSLTErrorResources_fr
	at org.apache.xalan.res.XSLMessages.createMessage(XSLMessages.java:285)
	at
org.apache.xalan.processor.StylesheetHandler.error(StylesheetHandler.java:976)



Can anyone help me ?

Thanks.

Eric.

Re: Cocoon2.0.2 with jdk1.4 : ClassCastException

Posted by Sylvain Wallez <sy...@anyware-tech.com>.
Eric Basley wrote:

> Trying to migrate to Cocoon2.0.2, I have many exceptions like those:
>
> org.apache.cocoon.ProcessingException: Exception in creating Transform 
> Handler: java.lang.ClassCastException: 
> org.apache.xalan.res.XSLTErrorResources_fr
> at 
> org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XSLTProcessorImpl.java:271) 
>
> at 
> org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XSLTProcessorImpl.java:204) 
>
> at 
> org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:295) 
>
>
>
>
> java.lang.ClassCastException: org.apache.xalan.res.XSLTErrorResources_fr
> at org.apache.xalan.res.XSLMessages.createMessage(XSLMessages.java:285)
> at 
> org.apache.xalan.processor.StylesheetHandler.error(StylesheetHandler.java:976) 
>
>
>
>
> Can anyone help me ? 

I had this one just today but didn't have the time to find a solution 
other than switching back to JDK 1.3.1.

Is it a time bomb in Xalan for french users ?

Seriously : any clue, someone ?

Sylvain

-- 
Sylvain Wallez
 Anyware Technologies                  Apache Cocoon
 http://www.anyware-tech.com           mailto:sylvain@apache.org




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