That usually indicates an encoding problem in the XML. For example, you
specify UTF-8 as the encoding but use a non-XML-aware text editor in a
ISO-8859-1 fashion.

On 08.04.2008 12:42:36 Andreas Schröder wrote:
> 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 sequence.
> 
> The funny thing is still, that it worked before. ;-)
> 
> 
> 
> 
> > -----Ursprüngliche Nachricht-----
> > Von: [email protected]
> > Gesendet: 08.04.08 12:30:51
> > An: [email protected]
> > 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
> > 



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to