Jump to content

iReport 5.x doesn't preview in my ubuntu 12.04


cinxgler_1
Go to solution Solved by angelcasadelsoftware.com,

Recommended Posts

Hello,

I was working with ireport 5.1.0 in my ubuntu desktop 12.04, but suddenly it stops working the preview feature. When i click preview it just displays a error message with 'null' as message and get frozen, I cannot close the error message window or close the ireports, i have to kill the process. I tested with the sample reports and they are not working either.

My initial guess was that it breaks due a ubuntu java update. The version i currently have is

java version "1.6.0_27"
OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1ubuntu0.12.04.2)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

But i tried downloading the oracle jdk1.7.0_25 and using the parameter --jdkhome and the issue still there

I've checked the ~/.ireport/5.1.0/var/log/messages.log but din't find any trace related to the last preview action, attached is the tracelog for a quick report i generated using the wizard.

Link to comment
Share on other sites

  • 2 weeks later...
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution

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

Link to comment
Share on other sites

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...