CMDBuild Forum

Jasper Reports

I have created a custom report and when I upload it to the Jasper reports section it gives me a java error message. Nothing shows in the report configuration screen after it has been uploaded and I keep getting that error message everytime I click on the reports section. I am able to resolve that error if I do a 'DELETE FROM "Report";' dropping all of the report information, but my report still will not upload.

Error: java.lang.ArrayIndexOutOfBoundsException

 

Thanks

 

Matt

Hi, which version of jasper reports are you using?

CMDBuild only supports files produced with version 3.7.1 (and earlier); for later versions you must set the compatibility mode with the 3.7.1 version.
By the way I would not recommend using version 4, which presents some problems of compatibility with the version used by CMDBuild.

 

Kind regards,

Lisa

 

I installed v3.7.1 of iReports, created a new report in that version and I am still having the same issues. I even tried creating a blank report and get the same java array error.
 
Thanks
 
Matt
 
Tecnoteca ha scritto:
Hi, which version of jasper reports are you using?
CMDBuild only supports files produced with version 3.7.1 (and earlier); for later versions you must set the compatibility mode with the 3.7.1 version.
By the way I would not recommend using version 4, which presents some problems of compatibility with the version used by CMDBuild.

 

Kind regards,

Lisa

 

 

Hi Matt,
 
I had the same error a few day ago, it was cause by the postgres driver that my Tomcat was using. My database is version postgres 9.1 and the drive was for version 8.?? (don't remember) there was no problem with access to the application but it was impossible to load a report with the same error as you.
 
Hope this helps.
 
Matt ha scritto:
I installed v3.7.1 of iReports, created a new report in that version and I am still having the same issues. I even tried creating a blank report and get the same java array error.
 
Thanks
 
Matt
 
Tecnoteca ha scritto:
Hi, which version of jasper reports are you using?
CMDBuild only supports files produced with version 3.7.1 (and earlier); for later versions you must set the compatibility mode with the 3.7.1 version.
By the way I would not recommend using version 4, which presents some problems of compatibility with the version used by CMDBuild.

 

Kind regards,

Lisa

 

 

 

Yes, updating from 8.3 to 9.1 resolved my reports issue.
 
Thank you!
 
Matt
 
Javier V. ha scritto:
Hi Matt,
 
I had the same error a few day ago, it was cause by the postgres driver that my Tomcat was using. My database is version postgres 9.1 and the drive was for version 8.?? (don't remember) there was no problem with access to the application but it was impossible to load a report with the same error as you.
 
Hope this helps.
 
Matt ha scritto:
I installed v3.7.1 of iReports, created a new report in that version and I am still having the same issues. I even tried creating a blank report and get the same java array error.
 
Thanks
 
Matt
 
Tecnoteca ha scritto:
Hi, which version of jasper reports are you using?
CMDBuild only supports files produced with version 3.7.1 (and earlier); for later versions you must set the compatibility mode with the 3.7.1 version.
By the way I would not recommend using version 4, which presents some problems of compatibility with the version used by CMDBuild.

 

Kind regards,

Lisa