chiphi13 Posted August 8, 2006 Share Posted August 8, 2006 I am receiving the following error when trying to startup 1.2.5 after installation. I am using jdk version 1.4.2_05:Exception in thread "main" java.lang.NoSuchMethodError: java.lang.Boolean.parseBoolean(Ljava/lang/String;)Z at it.businesslogic.ireport.connection.JRXMLDataSourceConnection.loadProperties(JRXMLDataSourceConnection.java:90) at it.businesslogic.ireport.gui.MainFrame.traverse(MainFrame.java:7872) at it.businesslogic.ireport.gui.MainFrame.loadiReportConfiguration(MainFrame.java:7732) at it.businesslogic.ireport.gui.MainFrame.loadiReportConfiguration(MainFrame.java:7630) at it.businesslogic.ireport.gui.MainFrame.<init>(MainFrame.java:331) at it.businesslogic.ireport.gui.MainFrame.main(MainFrame.java:7110) Link to comment Share on other sites More sharing options...
Giulio Toffoli Posted August 9, 2006 Share Posted August 9, 2006 Hm, it looks like a bug. You can use java 1.5 or replace the line 90 of it/businesslogic/ireport/connection/JRXMLDataSourceConnection.java with: this.setUseConnection( Boolean.valueOf( Misc.nvl(map.get("UseConnection"),"false") ).booleanValue() ); (anyway you need java 1.5 to compile iReport...) Giulio Link to comment Share on other sites More sharing options...
chiphi13 Posted August 12, 2006 Author Share Posted August 12, 2006 Giulio, I figured out the problem. It looks like you need to delete the .ireport folder for the older versions before trying to open the v1.2.5. Once I deleted the config directory the application opened successfully. I didn't need to install a newer version of the jvm. 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