NULL is presented to compile a report

Hello! When compiling a report in i-Report is presented a message ! NULL and locks the i-Report.
I use Ubuntu 12.04.2 LTS and iReport-5.0.4
Attached is the picture of the problem.
Can anyone help me?
caddago's picture
Joined: Apr 30 2010 - 11:54am
Last seen: 8 years 4 months ago

5 Answers:


Take a look into the ide-protocoll (can be reached by the menu action) there is probably a problem with your ajusted compiler...



C-Box's picture
Joined: Jul 19 2006 - 5:58pm
Last seen: 6 months 3 weeks ago

I'm have the same problem here, using Ireport 4.0.2 and the same ubuntu version. I got the latest version of Ireport and the problem persists.

Please let me know if you solve it.

carolinepereiraf's picture
Joined: Aug 5 2013 - 11:45am
Last seen: 6 years 8 months ago

i was having the same problem using ubuntu 12.04 and ireport 3.7.6, ireport 4.6.0 and 5.0.1. I finally solve the problem by forcing java version to be OpenJDK 7.

I Changed the default Java, and javac version used on Ubuntu by doing:

java : sudo /usr/sbin/update-alternatives --config java

java compiler : sudo /usr/sbin/update-alternatives --config javac

java web start : sudo /usr/sbin/update-alternatives --config javaws

alara_1's picture
Joined: Aug 23 2013 - 7:57am
Last seen: 1 week 2 days ago

It worked for me using Ubuntu 13.04
Unfortunately, because I must use oracle-jdk-6 on my environment

amsoares - 8 years 5 months ago

I faced the same problem. But I realized that my "javac" version was pointing to open-jdk 1.7, and my "java" pointing to oracle-jdk 1.6.

After the change to open-jdk1.7 (java and javac), I changed back to oracle-jdk1.6(java and javac) for testing purposes, and now still working with oracle-jdk 1.6.0_45


That's it.

amsoares's picture
Joined: Oct 27 2011 - 9:09am
Last seen: 7 years 5 months ago

For me it was enough to configure jdk7 only with iReport using "jdkhome" option in ireport.conf.

kiminoboku's picture
Joined: Sep 23 2013 - 11:42pm
Last seen: 8 years 4 months ago