dennisk1718 Posted August 16, 2011 Share Posted August 16, 2011 I am getting the following error on compiling a .jrxml file from iReport Designer 4.1.1.Yes, the D/B has the source element as a java.lang.Integer. Looks like the cast is failing. I am usingJava 1.6_22, but that can.ot have any bearing on this problem, I think ......found : java.lang.Integer required: java.lang.Stringvalue = (java.lang.String)(((java.lang.Integer)field_statusID.getValue())); //$JR_EXPR_ID=8$ ^Interesting Link to comment Share on other sites More sharing options...
mfirkser Posted August 17, 2011 Share Posted August 17, 2011 I'm having lots of problems since I downloaded iReport 4.1.1. In my reports, whereever I was printing an integer, I had to call the toString() method on it for it not to cause a cast error. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now