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 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
at it.businesslogic.ireport.connection.JRXMLDataSourceConnection.loadPro
at it.businesslogic.ireport.gui.MainFrame.traverse(
at it.businesslogic.ireport.gui.MainFrame.loadiReportConfiguration(MainF
at it.businesslogic.ireport.gui.MainFrame.loadiReportConfiguration(MainF
at it.businesslogic.ireport.gui.MainFrame.<init>(
at it.businesslogic.ireport.gui.MainFrame.main(
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/ with:

this.setUseConnection( Boolean.valueOf( Misc.nvl(map.get("UseConnection"),"false") ).booleanValue() );

(anyway you need java 1.5 to compile iReport...)

giulio's picture
Joined: Jan 2 2007 - 4:15pm
Last seen: 2 years 4 months ago

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