cinxgler_1 Posted August 9, 2013 Share Posted August 9, 2013 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 isjava 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 thereI'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 More sharing options...
Solution angelcasadelsoftware.com Posted August 23, 2013 Solution Share Posted August 23, 2013 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 javajava compiler : sudo /usr/sbin/update-alternatives --config javacjava web start : sudo /usr/sbin/update-alternatives --config javaws Link to comment Share on other sites More sharing options...
cinxgler_1 Posted August 23, 2013 Author Share Posted August 23, 2013 I did it and ireports is working again thanks. Link to comment Share on other sites More sharing options...
vaibhav.lather Posted August 28, 2013 Share Posted August 28, 2013 thanks alara_1 . great reply. hope u will help us in future.... thanks a lot Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now