pumaking Posted April 20, 2011 Share Posted April 20, 2011 Hi,we ran Jasperserver 3.0 for some time now. Now I set up a new server with Jasperreports Server 4.0. I now manually moved the reports which we use to the new server. So far eveything OK. But now I have one report which doesn't run on the new server:com.jaspersoft.jasperserver.api.JSExceptionWrapper: Error evaluating expression : Source text : 100 / $V{SumUm} * $V{SumDB1}I can run the report locally in Ireport without problems and it also still runs on the 3.0 server. I don't understand this as I use exactly the same jrxml files and the datasource is also the same.Does someone have an explanation for this behaviour? Link to comment Share on other sites More sharing options...
mdahlman Posted April 20, 2011 Share Posted April 20, 2011 It's probably because of changes to Groovy. Groovy isn't nice about backwards compatibility.Try changing the report language to Java. It shouldn't be too tough to tweak the report to work again with Groovy. It's a bummer that it doesn't immediately work on upgrade... but there doesn't seem to be anything JasperServer can do to work around Groovy scripts's incompatibility with newer versions. Normally it's an issue with how nulls are handled.Regards,Matt Link to comment Share on other sites More sharing options...
pumaking Posted April 21, 2011 Author Share Posted April 21, 2011 Hi, thanks for your answer.I solved it by putting the calculation into the textfields and not in the variables. 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