IReport V1.2.5 will not load

Jaspersoft Community 'Read-Only' as of July 8, 2022

Transition to New TIBCO Community Just Weeks Away

You can still search, review wiki content, and review discussions in read-only mode. Please email community@tibco.com with questions or issues requiring TIBCO review or response.

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.parseB
oolean(Ljava/lang/String;)Z
at it.businesslogic.ireport.connection.JRXMLDataSourceConnection.loadPro
perties(JRXMLDataSourceConnection.java:90)
at it.businesslogic.ireport.gui.MainFrame.traverse(MainFrame.java:7872)
at it.businesslogic.ireport.gui.MainFrame.loadiReportConfiguration(MainF
rame.java:7732)
at it.businesslogic.ireport.gui.MainFrame.loadiReportConfiguration(MainF
rame.java:7630)
at it.businesslogic.ireport.gui.MainFrame.<init>(MainFrame.java:331)
at it.businesslogic.ireport.gui.MainFrame.main(MainFrame.java:7110)
chiphi13's picture
Joined: Jul 20 2006 - 3:47am
Last seen: 7 years 1 month ago

2 Answers:

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
giulio's picture
59844
Joined: Jan 2 2007 - 4:15pm
Last seen: 2 years 4 months ago
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.
chiphi13's picture
Joined: Jul 20 2006 - 3:47am
Last seen: 7 years 1 month ago
Feedback
randomness