dprogrammer Posted May 12, 2016 Share Posted May 12, 2016 Very frustrated with Jaspersoft Studo 6.2.0 (loved older versions of iReport).I am not sure why the developers of JasperStudio suite keep making it difficult to use. Older versions of iReport (3x) had a nice feature to double click on error message in the console and it would take you to the filed/object that is causing the error. With their greates JSS 6.2.0, that feature is no where to find and hence for past two hours I am not able to find where the heck this error is occuring. Could anyone throw any ideas? I've also checked the log (Windows-->Show View...) menu but it's not telling me anything about this error.Error message: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean.I know what the error means but I am not able to find where is it occuring. I've checked all fields, variables, parameters. Link to comment Share on other sites More sharing options...
hozawa Posted May 13, 2016 Share Posted May 13, 2016 Did you just want to complain? It's difficult to say anything else because you only provided complaint without any information about your jrxml. Link to comment Share on other sites More sharing options...
chicuslavic Posted June 13, 2016 Share Posted June 13, 2016 I verified it on the last JSS version, it is working. However it is not always possible to find the right object from compilation results. You should add more information so we can test the case and improve it. Link to comment Share on other sites More sharing options...
mrampradeepraj Posted October 16, 2017 Share Posted October 16, 2017 I got the same error when I try to implement a conversion of Big Decimal value to interger. I used the following expression with print expression:<FieldName>.compareTo(new BigDecimal(<value>))==1?"Green Status.png":"Red Status.png" I'm using this for image status indicator field. Any help on this would be of great help. Link to comment Share on other sites More sharing options...
ankushchhabra Posted January 5, 2018 Share Posted January 5, 2018 Getting same error. No where in my jrxml code i am using boolean but error says java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean. Very frustated with it. Link to comment Share on other sites More sharing options...
santoshtheprofessional Posted June 1, 2018 Share Posted June 1, 2018 Iam also facing the same error in Jasper Studio Professional version.Please suggest alternate solution. Link to comment Share on other sites More sharing options...
khitem.amiri Posted March 23, 2020 Share Posted March 23, 2020 Hello, I had the same problem, and it was because of print when expression, I was typing " " and this can not be converted to boolean as it says. So I left the print when expression blanc and it works :D Hope this will help.Best, 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