xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <...@jeremias-maerki.ch>
Subject Re: Runtime exception
Date Mon, 10 Oct 2005 11:13:47 GMT
I'm pretty sure that is because of a FOP extension that is dynamically
loaded. The FOP extensions built for 0.20.5 are not compatible with the
FOP extensions for FOP Trunk. Do you have any FOP extensions in your
classpath?

On 10.10.2005 12:52:53 Greg Hulands wrote:
> Hi,
> I have just downloaded the latest from svn and everything builds ok,  
> but when I try to convert some fo to pdf I get a runtime exception  
> (stack trace below). I added a log.debug message into  
> addElementMapping and then rebuilt fop to try and log out what class  
> it was trying to load to try and narrow down the problem. The only  
> problem is that I cannot seem to get the logger setup properly.
> 
> In my Properties file I have this:
> # FOP Logging
> org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogg 
> er
> log4j.logger.org.apache.fop.fo.FOTreeBuilder = DEBUG
> 
> Does anyone have any suggestions on how to find out the cause so I  
> can file a bug if necessary.
> 
> Thanks,
> Greg
> 
> java.lang.IncompatibleClassChangeError: Implementing class
>      at java.lang.ClassLoader.defineClass0(Native Method)
>      at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
>      at java.security.SecureClassLoader.defineClass 
> (SecureClassLoader.java:123)
>      at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
>      at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
>      at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
>      at java.security.AccessController.doPrivileged(Native Method)
>      at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
>      at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
>      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
>      at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
>      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
>      at java.lang.Class.forName0(Native Method)
>      at java.lang.Class.forName(Class.java:141)
>      at org.apache.fop.fo.FOTreeBuilder.addElementMapping 
> (FOTreeBuilder.java:164)
>      at org.apache.fop.fo.FOTreeBuilder.setupDefaultMappings 
> (FOTreeBuilder.java:146)
>      at org.apache.fop.fo.FOTreeBuilder.<init>(FOTreeBuilder.java:117)
>      at org.apache.fop.apps.Fop.getDefaultHandler(Fop.java:131)
>      at  
> au.com.shoebox.accounting.reports.ShoeBoxFOPComponent.appendToResponse 
> (ShoeBoxFOPComponent.java:52)


Jeremias Maerki


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


Mime
View raw message