Jump to content
Changes to the Jaspersoft community edition download ×

LinkageError


2005 IR Help

Recommended Posts

By: Rafael Farias - rafaelfarias

LinkageError

2004-04-20 06:44

I'm using JasperReports 0.5.2.

When I try to run my report (runReportToPdf method) I receive a LinkageError with this message: "loader constraints violated when linking dori/jasper/engine/JRReportFont class".

What is wrong? and

What can I do to solve this?

 

Thanks

Rafael Farias

 

-*- begin of stack -*-

java.lang.LinkageError: loader constraints violated when linking dori/jasper/engine/JRReportFont class

at java.lang.Class.getDeclaredFields0(Native Method)

at java.lang.Class.privateGetDeclaredFields(Class.java:1494)

at java.lang.Class.getField0(Class.java:1727)

at java.lang.Class.getDeclaredField(Class.java:1189)

at java.io.ObjectStreamClass.getDeclaredSUID(ObjectStreamClass.java:1430)

at java.io.ObjectStreamClass.access$400(ObjectStreamClass.java:45)

at java.io.ObjectStreamClass$3.run(ObjectStreamClass.java:331)

at java.security.AccessController.doPrivileged(Native Method)

at java.io.ObjectStreamClass.(ObjectStreamClass.java:329)

at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:249)

at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:449)

at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521)

at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)

at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521)

at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)

at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)

at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)

at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)

at dori.jasper.engine.util.JRLoader.loadObject(JRLoader.java:128)

at dori.jasper.engine.JasperFillManager.fillReport(JasperFillManager.java:157)

at dori.jasper.engine.JasperRunManager.runReportToPdf(JasperRunManager.java:165)

at dori.jasper.engine.JasperManager.runReportToPdf(JasperManager.java:164)

 

-*- end of stack -*-

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...