Jump to content

IReport V1.2.5 will not load


chiphi13

Recommended Posts

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)

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

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

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

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