Jump to content
Changes to the Jaspersoft community edition download ×

iReport Designer - problem between versions 4.0.2 and 4.1.1


zaya

Recommended Posts

Hello.

I have a very simple report, producing just a simple xls-list with several columns (in Detail Band) and headline (in Title Band), created and running with version 4.0.2..

After opening and configuring a TextField in the Detail Band (e.g. repartitioning of a Field in the Expression editor), as well as successful compiling and saving of the report, I executed him again on a 4.0.2. version.

Following error message (posted in parts only) appeared:

"ERROR - 1 - Errors were encountered when compiling report expressions class file: 1. Cannot cast from BigDecimal to String value = (java.lang.String)(((java.math.BigDecimal)field_USED_EU2.getValue())); //$JR_EXPR_ID=16$ <-------------------------------------------------------------------> 2. Cannot cast from Timestamp to String value = (java.lang.String)(((java.sql.Timestamp)field_IMPORT_DATE.getValue())); //$JR_EXPR_ID=21$ <--------------------------------------------------------------------> 3. Cannot cast from BigDecimal to String value = (java.lang.String)(((java.math.BigDecimal)field_TAG_CATEGORY.getValue())); //$JR_EXPR_ID=34$ <(...)"

 

The Expresssion Class was correctly configured, compiled and saved in 4.1.1, but throws an error in 4.0.2..

Additionally a change or correction of the Expression Class, according to the error message, only is possible in 4.0.2.!!!

Even if it is changed and saved in version 4.1.1., it will come to the same error message in 4.0.2!!!

 

How can this be fixed?

 

Best regards so far...

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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