[#4763] - Using custom color in Style from iReport bugs in JasperReport

Category:
Bug report
Priority:
High
Status:
Assigned
Project: Severity:
Major
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:

Hello,

I've used a "style" defining a custom forecolor (not awt) during my report design in iReport 3.7.3. Compiling and Previewing it in iReport works fine.

But, when i try to execute it to generate my PDF document from my JBOSS apps, I always get the following JRException :

java.lang.ClassNotFoundException: No ClassLoaders found for: org.netbeans.beaninfo.editors.ColorEditor$SuperColor

WorkAround: directly use color on target elements works fine

khonsort's picture
Joined: Jun 25 2010 - 2:43am
Last seen: 5 years 6 months ago

3 Comments:

#1

When using styles and colours, you have to add the following JAR file to the CLASSPATH:

<iReport>\platform9\modules\org-netbeans-core.jar

Where <iReport> is iReport's installation directory.

A vanilla JasperReports installation may have the same dependency.

#2

I have the same problem. I am Using ireport 5.1.0 with UBUNTU 14.04, When I change the colour of any element in the jasper report and try to execute then following error occurs:
Class java.lang.ClassNotFoundException
Message : org.netbeans.beaninfo.editors.ColorEditor$SuperColor

#3
  • Priority:Normal» High
  • Severity:Minor» Major

You have to add this org-netbeans-core.jar file to your CLASSPATH when using styles & color.

Hopefully to solve your problem.
Anyway, I have attached the required jar file.

AttachmentSize
File org-netbeans-core.jar519.63 KB
Feedback