NoSuchMethodError in Jasper reports all of a sudden

(Yes I am aware of the the likely hood of the phrase “All of a sudden” being a System Admin, but thats the best i can describe it with what knowledge I have about the problem so far. :roll: )

All of a sudden we started getting the following error when running any jasper report in our 3.5 final system…

org.mozilla.javascript.JavaScriptException: java.lang.NoSuchMethodError: com.servoy.j2db.util.Utils.closeConnection(Ljava/sql/Connection;)V

I have tried reinstalling the plugin but that doesn’t seem to solve it. Any hints on what I can do / look at?

Something is wrong with j2db.jar. It seems that the plugin calls a method from the Servoy core that is not there or expects other arguments. Is that error new with 3.5?

Well we have been developing and using jasper all through the 3.5 betas and RC’s without an issue. But honestly, I’m not sure if i tried to run a report after I did the 3.5 final release… perhaps that is what changed.

you need indeed a new jasper lib.
One that is compiled against the latest version.

Try to contact Scott Butler, he send me the new ones!