xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Schröder <as.hi...@web.de>
Subject Re: ClassCast-Exception when trying fopfactory.newinstance()
Date Tue, 08 Apr 2008 10:42:36 GMT
I got two times the same library in different places of my tomcat. I removed one and the exception
doesn't occur anymore. but a new error occured. In the output on the console of the conversion
process appears:

(position of error unknown)java.io.UTFDataFormatException: Invalid byte 1 of 1-byte UTF-8

The funny thing is still, that it worked before. ;-)

> -----Urspr√ľngliche Nachricht-----
> Von: fop-users@xmlgraphics.apache.org
> Gesendet: 08.04.08 12:30:51
> An: fop-users@xmlgraphics.apache.org
> Betreff: Re: ClassCast-Exception when trying fopfactory.newinstance()

> Works for me. The ClassCastException doesn't make much sense as the
> AFPExtensionHandlerFactory IS an implementation of the
> ContentHandlerFactory interface. So I realy don't understand why this
> happens. The only reason I can think of is that there's is a mix of
> different, incompatible versions of fop.jar in the classpath. But I'm
> not sure how this can happen as both the interface and the
> implementation are in the same JAR file. So I'd check if your
> application classpath is clean. HTH

Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!

To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org

View raw message