Servoy 2020.03 and Jasper reports plugin 6.12.2

Questions and answers on developing, deploying and using plugins and JavaBeans

Servoy 2020.03 and Jasper reports plugin 6.12.2

Postby lwjwillemsen » Wed May 20, 2020 10:38 am

Hi,

When i try this combination I am getting xerces exceptions when compiling a jasper report.
I suspect there is a version conflict between the Jasper report plugin (2.9.1) and Servoy 2020.03 (2.9.0?)

Gabi?

Regards,
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 673
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

Re: Servoy 2020.03 and Jasper reports plugin 6.12.2

Postby Gabi Boros » Wed May 20, 2020 10:57 am

hi,
can you paste the exception here?
Gabi Boros
Servoy
Gabi Boros
 
Posts: 373
Joined: Tue Jun 26, 2007 4:03 pm
Location: Timisoara, Romania

Re: Servoy 2020.03 and Jasper reports plugin 6.12.2

Postby lwjwillemsen » Wed May 20, 2020 5:07 pm

Hi Gabi,

Thanks for your reply. After re-installation of the plugin the error is gone...
So let's forget about the xerces.

I was testing with the 6.12.2 because we encountered errors when using barcodes in Servoy2020.03 and plugin version 6.4.1 Servoy2020.03 (WAR file operation).
The error was: java.lang.NoSuchMethodError: org.apache.batik.anim.dom.SVGDOMImplementation.registerFeature(Ljava/lang/String;Ljava/lang/Object;)

When I now test Servoy2020.03 Developer and plugin 6.12.2 with a C39 Barcode4U barcode I am getting a blank preview (looks like hanging in the server thread) but I can nowhere find an error message...
Reports without barcode run fine. Maybe batik or dom collisions?

Can you help?
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 673
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

Re: Servoy 2020.03 and Jasper reports plugin 6.12.2

Postby Gabi Boros » Thu May 21, 2020 9:21 am

hi,

I tried a simple sample with code39 and also code128, and both works fine. Can you upload (or create a case) with a sample+report file?
Gabi Boros
Servoy
Gabi Boros
 
Posts: 373
Joined: Tue Jun 26, 2007 4:03 pm
Location: Timisoara, Romania

Re: Servoy 2020.03 and Jasper reports plugin 6.12.2

Postby lwjwillemsen » Fri May 22, 2020 8:34 am

Hi Gabi,

Thanks, I am first gonna test with a war file deployment.
I shall report back.

regards,
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 673
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

Re: Servoy 2020.03 and Jasper reports plugin 6.12.2

Postby lwjwillemsen » Mon May 25, 2020 4:25 pm

Hi Gabi,

I am getting the following error with output type "pdf":
Can you find out where the problem is?

With output type "print" no problem and barcode visible in preview!

mei 25, 2020 4:15:39 PM com.servoy.j2db.util.Debug error
SEVERE: Error occurred in server thread; nested exception is:
java.lang.NoSuchMethodError: org.apache.batik.anim.dom.SVGDOMImplementation.registerFeature(Ljava/lang/String;Ljava/lang/Object;)V
at svy_utilities/scopes/globals/svy_utl_callMethod:2893 (svy_utl_callMethod)
at svy_utilities/scopes/globals/svy_utl_showFormInWindow:8448 (svy_utl_showFormInWindow)
at glb_lgc/scopes/globals/report_dlg:3688 (report_dlg)
at svy_utilities/scopes/globals/svy_utl_callMethod:2887 (svy_utl_callMethod)
at svy_nav_navigation/scopes/globals/svy_nav_call_menu_item:5780 (svy_nav_call_menu_item)

java.rmi.ServerError: Error occurred in server thread; nested exception is:
java.lang.NoSuchMethodError: org.apache.batik.anim.dom.SVGDOMImplementation.registerFeature(Ljava/lang/String;Ljava/lang/Object;)V
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
at sun.rmi.transport.Transport$1.run(Unknown Source)
at sun.rmi.transport.Transport$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at com.servoy.plugins.jasperreports.JasperReportsServer_Stub.getJasperBytes(Unknown Source)
at com.servoy.plugins.jasperreports.JasperReportsProvider.handleSmartClientExport(JasperReportsProvider.java:905)
at com.servoy.plugins.jasperreports.JasperReportsProvider.getExportedJasperReport(JasperReportsProvider.java:716)
at com.servoy.plugins.jasperreports.JasperReportsProvider.runReport(JasperReportsProvider.java:511)
at com.servoy.plugins.jasperreports.JasperReportsProvider.js_runReport(JasperReportsProvider.java:372)
at com.servoy.plugins.jasperreports.JasperReportsProvider.js_runReport(JasperReportsProvider.java:231)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:292)
at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
at org.mozilla.javascript.gen.glb_lgc_scopes_globals_jasper_report_237._c_jasper_report_0(Unknown Source)
at org.mozilla.javascript.gen.glb_lgc_scopes_globals_jasper_report_237.call(Unknown Source)
at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
at org.mozilla.javascript.gen.svy_utilities_scopes_globals_svy_utl_callMethod_218._c_svy_utl_callMethod_0(svy_utilities/scopes/globals/svy_utl_callMethod:2893)
at org.mozilla.javascript.gen.svy_utilities_scopes_globals_svy_utl_callMethod_218.call(svy_utilities/scopes/globals/svy_utl_callMethod)
at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)
at org.mozilla.javascript.gen.svy_utilities_scopes_globals_svy_utl_busy_process_236._c_svy_utl_busy_process_0(Unknown Source)
at org.mozilla.javascript.gen.svy_utilities_scopes_globals_svy_utl_busy_process_236.call(Unknown Source)
at com.servoy.j2db.scripting.ScriptEngine.executeFunction(ScriptEngine.java:670)
at com.servoy.j2db.plugins.ClientPluginAccessProvider$MethodExecutor.run(ClientPluginAccessProvider.java:573)
at com.servoy.j2db.smart.J2DBClient.invokeAndWait(J2DBClient.java:4179)
at com.servoy.j2db.plugins.ClientPluginAccessProvider.executeMethod(ClientPluginAccessProvider.java:455)
at com.servoy.j2db.plugins.ClientPluginAccessProvider.executeMethod(ClientPluginAccessProvider.java:422)
at com.servoy.j2db.scripting.FunctionDefinition.exec(FunctionDefinition.java:300)
at com.servoy.j2db.scripting.FunctionDefinition.execute(FunctionDefinition.java:264)
at net.stuff.servoy.BusyAbstractProvider.callProcess(BusyAbstractProvider.java:73)
at com.servoyguy.plugins.busy.swing.BusySwingProvider.busy(BusySwingProvider.java:112)
at com.servoyguy.plugins.busy.BusyScriptObject.js_block(BusyScriptObject.java:187)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:292)
at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
at org.mozilla.javascript.gen.svy_utilities_scopes_globals_svy_utl_busy_235._c_svy_utl_busy_0(Unknown Source)
at org.mozilla.javascript.gen.svy_utilities_scopes_globals_svy_utl_busy_235.call(Unknown Source)
at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
at org.mozilla.javascript.gen.glb_lgc_scopes_globals_jasper_report_busy_234._c_jasper_report_busy_0(Unknown Source)
at org.mozilla.javascript.gen.glb_lgc_scopes_globals_jasper_report_busy_234.call(Unknown Source)
at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
at org.mozilla.javascript.gen.glb_forms_glb_dlg_report_jasper_ok_233._c_ok_0(Unknown Source)
at org.mozilla.javascript.gen.glb_forms_glb_dlg_report_jasper_ok_233.call(Unknown Source)
at com.servoy.j2db.scripting.ScriptEngine.executeFunction(ScriptEngine.java:670)
at com.servoy.j2db.BasicFormController.executeFunction(BasicFormController.java:1074)
at com.servoy.j2db.BasicFormController.executeFunction(BasicFormController.java:956)
at com.servoy.j2db.BasicFormController.executeFunction(BasicFormController.java:827)
at com.servoy.j2db.FormController$ScriptExecuter.executeFunction(FormController.java:1043)
at com.servoy.j2db.ui.BaseEventExecutor.fireEventCommand(BaseEventExecutor.java:299)
at com.servoy.j2db.ui.BaseEventExecutor.fireEventCommand(BaseEventExecutor.java:265)
at com.servoy.j2db.ui.BaseEventExecutor.fireActionCommand(BaseEventExecutor.java:233)
at com.servoy.j2db.ui.BaseEventExecutor.fireActionCommand(BaseEventExecutor.java:228)
at com.servoy.j2db.smart.dataui.AbstractScriptButton$2.actionPerformed(AbstractScriptButton.java:660)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.WaitDispatchSupport$2.run(Unknown Source)
at java.awt.WaitDispatchSupport$4.run(Unknown Source)
at java.awt.WaitDispatchSupport$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(Unknown Source)
at java.awt.Dialog.show(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at java.awt.Window.setVisible(Unknown Source)
at java.awt.Dialog.setVisible(Unknown Source)
at com.servoy.j2db.util.gui.JEscapeDialog.setVisible(JEscapeDialog.java:170)
at com.servoy.j2db.gui.FormDialog.setVisible(FormDialog.java:164)
at com.servoy.j2db.smart.SwingRuntimeWindow.finalizeShowWindow(SwingRuntimeWindow.java:875)
at com.servoy.j2db.smart.SwingRuntimeWindow.doOldShowInDialog(SwingRuntimeWindow.java:511)
at com.servoy.j2db.smart.SwingRuntimeWindow.doOldShow(SwingRuntimeWindow.java:420)
at com.servoy.j2db.scripting.RuntimeWindow.doShow(RuntimeWindow.java:304)
at com.servoy.j2db.scripting.RuntimeWindow.show(RuntimeWindow.java:298)
at com.servoy.j2db.scripting.RuntimeWindow.showObject(RuntimeWindow.java:285)
at com.servoy.j2db.scripting.JSWindow.js_show(JSWindow.java:155)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:292)
at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
at org.mozilla.javascript.gen.svy_utilities_scopes_globals_svy_utl_showFormInWindow_222._c_svy_utl_showFormInWindow_0(svy_utilities/scopes/globals/svy_utl_showFormInWindow:8448)
at org.mozilla.javascript.gen.svy_utilities_scopes_globals_svy_utl_showFormInWindow_222.call(svy_utilities/scopes/globals/svy_utl_showFormInWindow)
at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
at org.mozilla.javascript.gen.glb_lgc_scopes_globals_report_dlg_219._c_report_dlg_0(glb_lgc/scopes/globals/report_dlg:3688)
at org.mozilla.javascript.gen.glb_lgc_scopes_globals_report_dlg_219.call(glb_lgc/scopes/globals/report_dlg)
at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)
at org.mozilla.javascript.gen.svy_utilities_scopes_globals_svy_utl_callMethod_218._c_svy_utl_callMethod_0(svy_utilities/scopes/globals/svy_utl_callMethod:2887)
at org.mozilla.javascript.gen.svy_utilities_scopes_globals_svy_utl_callMethod_218.call(svy_utilities/scopes/globals/svy_utl_callMethod)
at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)
at org.mozilla.javascript.gen.svy_nav_navigation_scopes_globals_svy_nav_call_menu_item_216._c_svy_nav_call_menu_item_0(svy_nav_navigation/scopes/globals/svy_nav_call_menu_item:5780)
at org.mozilla.javascript.gen.svy_nav_navigation_scopes_globals_svy_nav_call_menu_item_216.call(svy_nav_navigation/scopes/globals/svy_nav_call_menu_item)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:399)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3534)
at org.mozilla.javascript.gen.svy_nav_navigation_scopes_globals_svy_nav_call_menu_item_216.call(svy_nav_navigation/scopes/globals/svy_nav_call_menu_item)
at com.servoy.j2db.scripting.ScriptEngine.executeFunction(ScriptEngine.java:670)
at com.servoy.j2db.plugins.ClientPluginAccessProvider$MethodExecutor.run(ClientPluginAccessProvider.java:573)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.NoSuchMethodError: org.apache.batik.anim.dom.SVGDOMImplementation.registerFeature(Ljava/lang/String;Ljava/lang/Object;)V
at org.apache.batik.anim.dom.SVGDOMImplementation.<init>(SVGDOMImplementation.java:94)
at org.apache.batik.anim.dom.SVGDOMImplementation.<clinit>(SVGDOMImplementation.java:1587)
at org.apache.batik.anim.dom.SAXSVGDocumentFactory.<init>(SAXSVGDocumentFactory.java:120)
at net.sf.jasperreports.renderers.util.SvgDataSniffer.<init>(SvgDataSniffer.java:59)
at net.sf.jasperreports.renderers.util.SvgDataSniffer.getInstance(SvgDataSniffer.java:68)
at net.sf.jasperreports.renderers.util.RendererUtil.getSvgDataSniffer(RendererUtil.java:164)
at net.sf.jasperreports.renderers.util.RendererUtil.getSvgInfo(RendererUtil.java:133)
at net.sf.jasperreports.renderers.util.RendererUtil.isSvgData(RendererUtil.java:114)
at net.sf.jasperreports.renderers.util.RendererUtil.isSvgData(RendererUtil.java:153)
at net.sf.jasperreports.engine.export.JRPdfExporter$InternalImageProcessor.process(JRPdfExporter.java:1759)
at net.sf.jasperreports.engine.export.JRPdfExporter$InternalImageProcessor.access$300(JRPdfExporter.java:1714)
at net.sf.jasperreports.engine.export.JRPdfExporter.exportImage(JRPdfExporter.java:1654)
at net.sf.jasperreports.engine.export.JRPdfExporter.exportElements(JRPdfExporter.java:1261)
at net.sf.jasperreports.engine.export.JRPdfExporter.exportPage(JRPdfExporter.java:1204)
at net.sf.jasperreports.engine.export.JRPdfExporter.exportReportToStream(JRPdfExporter.java:1068)
at net.sf.jasperreports.engine.export.JRPdfExporter.exportReport(JRPdfExporter.java:685)
at com.servoy.plugins.jasperreports.JasperReportRunner.getJasperBytes(JasperReportRunner.java:407)
at com.servoy.plugins.jasperreports.JasperReportsServer.getJasperBytes(JasperReportsServer.java:232)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
at sun.rmi.transport.Transport$1.run(Unknown Source)
at sun.rmi.transport.Transport$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

org.mozilla.javascript.WrappedException: Wrapped java.lang.Exception: java.rmi.ServerError: Error occurred in server thread; nested exception is:
java.lang.NoSuchMethodError: org.apache.batik.anim.dom.SVGDOMImplementation.registerFeature(Ljava/lang/String;Ljava/lang/Object;)V (svy_utilities/scopes/globals/svy_utl_callMethod#2893)
at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1914)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:160)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:292)
at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
at org.mozilla.javascript.gen.glb_lgc_scopes_globals_jasper_report_237._c_jasper_report_0(Unknown Source)
at org.mozilla.javascript.gen.glb_lgc_scopes_globals_jasper_report_237.call(Unknown Source)
at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
at org.mozilla.javascript.gen.svy_utilities_scopes_globals_svy_utl_callMethod_218._c_svy_utl_callMethod_0(svy_utilities/scopes/globals/svy_utl_callMethod:2893)
at org.mozilla.javascript.gen.svy_utilities_scopes_globals_svy_utl_callMethod_218.call(svy_utilities/scopes/globals/svy_utl_callMethod)
at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)
at org.mozilla.javascript.gen.svy_utilities_scopes_globals_svy_utl_busy_process_236._c_svy_utl_busy_process_0(Unknown Source)
at org.mozilla.javascript.gen.svy_utilities_scopes_globals_svy_utl_busy_process_236.call(Unknown Source)
at com.servoy.j2db.scripting.ScriptEngine.executeFunction(ScriptEngine.java:670)
at com.servoy.j2db.plugins.ClientPluginAccessProvider$MethodExecutor.run(ClientPluginAccessProvider.java:573)
at com.servoy.j2db.smart.J2DBClient.invokeAndWait(J2DBClient.java:4179)
at com.servoy.j2db.plugins.ClientPluginAccessProvider.executeMethod(ClientPluginAccessProvider.java:455)
at com.servoy.j2db.plugins.ClientPluginAccessProvider.executeMethod(ClientPluginAccessProvider.java:422)
at com.servoy.j2db.scripting.FunctionDefinition.exec(FunctionDefinition.java:300)
at com.servoy.j2db.scripting.FunctionDefinition.execute(FunctionDefinition.java:264)
at net.stuff.servoy.BusyAbstractProvider.callProcess(BusyAbstractProvider.java:73)
at com.servoyguy.plugins.busy.swing.BusySwingProvider.busy(BusySwingProvider.java:112)
at com.servoyguy.plugins.busy.BusyScriptObject.js_block(BusyScriptObject.java:187)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:292)
at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
at org.mozilla.javascript.gen.svy_utilities_scopes_globals_svy_utl_busy_235._c_svy_utl_busy_0(Unknown Source)
at org.mozilla.javascript.gen.svy_utilities_scopes_globals_svy_utl_busy_235.call(Unknown Source)
at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
at org.mozilla.javascript.gen.glb_lgc_scopes_globals_jasper_report_busy_234._c_jasper_report_busy_0(Unknown Source)
at org.mozilla.javascript.gen.glb_lgc_scopes_globals_jasper_report_busy_234.call(Unknown Source)
at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
at org.mozilla.javascript.gen.glb_forms_glb_dlg_report_jasper_ok_233._c_ok_0(Unknown Source)
at org.mozilla.javascript.gen.glb_forms_glb_dlg_report_jasper_ok_233.call(Unknown Source)
at com.servoy.j2db.scripting.ScriptEngine.executeFunction(ScriptEngine.java:670)
at com.servoy.j2db.BasicFormController.executeFunction(BasicFormController.java:1074)
at com.servoy.j2db.BasicFormController.executeFunction(BasicFormController.java:956)
at com.servoy.j2db.BasicFormController.executeFunction(BasicFormController.java:827)
at com.servoy.j2db.FormController$ScriptExecuter.executeFunction(FormController.java:1043)
at com.servoy.j2db.ui.BaseEventExecutor.fireEventCommand(BaseEventExecutor.java:299)
at com.servoy.j2db.ui.BaseEventExecutor.fireEventCommand(BaseEventExecutor.java:265)
at com.servoy.j2db.ui.BaseEventExecutor.fireActionCommand(BaseEventExecutor.java:233)
at com.servoy.j2db.ui.BaseEventExecutor.fireActionCommand(BaseEventExecutor.java:228)
at com.servoy.j2db.smart.dataui.AbstractScriptButton$2.actionPerformed(AbstractScriptButton.java:660)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.WaitDispatchSupport$2.run(Unknown Source)
at java.awt.WaitDispatchSupport$4.run(Unknown Source)
at java.awt.WaitDispatchSupport$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(Unknown Source)
at java.awt.Dialog.show(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at java.awt.Window.setVisible(Unknown Source)
at java.awt.Dialog.setVisible(Unknown Source)
at com.servoy.j2db.util.gui.JEscapeDialog.setVisible(JEscapeDialog.java:170)
at com.servoy.j2db.gui.FormDialog.setVisible(FormDialog.java:164)
at com.servoy.j2db.smart.SwingRuntimeWindow.finalizeShowWindow(SwingRuntimeWindow.java:875)
at com.servoy.j2db.smart.SwingRuntimeWindow.doOldShowInDialog(SwingRuntimeWindow.java:511)
at com.servoy.j2db.smart.SwingRuntimeWindow.doOldShow(SwingRuntimeWindow.java:420)
at com.servoy.j2db.scripting.RuntimeWindow.doShow(RuntimeWindow.java:304)
at com.servoy.j2db.scripting.RuntimeWindow.show(RuntimeWindow.java:298)
at com.servoy.j2db.scripting.RuntimeWindow.showObject(RuntimeWindow.java:285)
at com.servoy.j2db.scripting.JSWindow.js_show(JSWindow.java:155)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:292)
at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
at org.mozilla.javascript.gen.svy_utilities_scopes_globals_svy_utl_showFormInWindow_222._c_svy_utl_showFormInWindow_0(svy_utilities/scopes/globals/svy_utl_showFormInWindow:8448)
at org.mozilla.javascript.gen.svy_utilities_scopes_globals_svy_utl_showFormInWindow_222.call(svy_utilities/scopes/globals/svy_utl_showFormInWindow)
at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
at org.mozilla.javascript.gen.glb_lgc_scopes_globals_report_dlg_219._c_report_dlg_0(glb_lgc/scopes/globals/report_dlg:3688)
at org.mozilla.javascript.gen.glb_lgc_scopes_globals_report_dlg_219.call(glb_lgc/scopes/globals/report_dlg)
at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)
at org.mozilla.javascript.gen.svy_utilities_scopes_globals_svy_utl_callMethod_218._c_svy_utl_callMethod_0(svy_utilities/scopes/globals/svy_utl_callMethod:2887)
at org.mozilla.javascript.gen.svy_utilities_scopes_globals_svy_utl_callMethod_218.call(svy_utilities/scopes/globals/svy_utl_callMethod)
at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)
at org.mozilla.javascript.gen.svy_nav_navigation_scopes_globals_svy_nav_call_menu_item_216._c_svy_nav_call_menu_item_0(svy_nav_navigation/scopes/globals/svy_nav_call_menu_item:5780)
at org.mozilla.javascript.gen.svy_nav_navigation_scopes_globals_svy_nav_call_menu_item_216.call(svy_nav_navigation/scopes/globals/svy_nav_call_menu_item)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:399)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3534)
at org.mozilla.javascript.gen.svy_nav_navigation_scopes_globals_svy_nav_call_menu_item_216.call(svy_nav_navigation/scopes/globals/svy_nav_call_menu_item)
at com.servoy.j2db.scripting.ScriptEngine.executeFunction(ScriptEngine.java:670)
at com.servoy.j2db.plugins.ClientPluginAccessProvider$MethodExecutor.run(ClientPluginAccessProvider.java:573)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.Exception: java.rmi.ServerError: Error occurred in server thread; nested exception is:
java.lang.NoSuchMethodError: org.apache.batik.anim.dom.SVGDOMImplementation.registerFeature(Ljava/lang/String;Ljava/lang/Object;)V
at com.servoy.plugins.jasperreports.JasperReportsProvider.runReport(JasperReportsProvider.java:527)
at com.servoy.plugins.jasperreports.JasperReportsProvider.js_runReport(JasperReportsProvider.java:372)
at com.servoy.plugins.jasperreports.JasperReportsProvider.js_runReport(JasperReportsProvider.java:231)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)
... 134 more
Caused by: java.rmi.ServerError: Error occurred in server thread; nested exception is:
java.lang.NoSuchMethodError: org.apache.batik.anim.dom.SVGDOMImplementation.registerFeature(Ljava/lang/String;Ljava/lang/Object;)V
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
at sun.rmi.transport.Transport$1.run(Unknown Source)
at sun.rmi.transport.Transport$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at com.servoy.plugins.jasperreports.JasperReportsServer_Stub.getJasperBytes(Unknown Source)
at com.servoy.plugins.jasperreports.JasperReportsProvider.handleSmartClientExport(JasperReportsProvider.java:905)
at com.servoy.plugins.jasperreports.JasperReportsProvider.getExportedJasperReport(JasperReportsProvider.java:716)
at com.servoy.plugins.jasperreports.JasperReportsProvider.runReport(JasperReportsProvider.java:511)
... 141 more
Caused by: java.lang.NoSuchMethodError: org.apache.batik.anim.dom.SVGDOMImplementation.registerFeature(Ljava/lang/String;Ljava/lang/Object;)V
at org.apache.batik.anim.dom.SVGDOMImplementation.<init>(SVGDOMImplementation.java:94)
at org.apache.batik.anim.dom.SVGDOMImplementation.<clinit>(SVGDOMImplementation.java:1587)
at org.apache.batik.anim.dom.SAXSVGDocumentFactory.<init>(SAXSVGDocumentFactory.java:120)
at net.sf.jasperreports.renderers.util.SvgDataSniffer.<init>(SvgDataSniffer.java:59)
at net.sf.jasperreports.renderers.util.SvgDataSniffer.getInstance(SvgDataSniffer.java:68)
at net.sf.jasperreports.renderers.util.RendererUtil.getSvgDataSniffer(RendererUtil.java:164)
at net.sf.jasperreports.renderers.util.RendererUtil.getSvgInfo(RendererUtil.java:133)
at net.sf.jasperreports.renderers.util.RendererUtil.isSvgData(RendererUtil.java:114)
at net.sf.jasperreports.renderers.util.RendererUtil.isSvgData(RendererUtil.java:153)
at net.sf.jasperreports.engine.export.JRPdfExporter$InternalImageProcessor.process(JRPdfExporter.java:1759)
at net.sf.jasperreports.engine.export.JRPdfExporter$InternalImageProcessor.access$300(JRPdfExporter.java:1714)
at net.sf.jasperreports.engine.export.JRPdfExporter.exportImage(JRPdfExporter.java:1654)
at net.sf.jasperreports.engine.export.JRPdfExporter.exportElements(JRPdfExporter.java:1261)
at net.sf.jasperreports.engine.export.JRPdfExporter.exportPage(JRPdfExporter.java:1204)
at net.sf.jasperreports.engine.export.JRPdfExporter.exportReportToStream(JRPdfExporter.java:1068)
at net.sf.jasperreports.engine.export.JRPdfExporter.exportReport(JRPdfExporter.java:685)
at com.servoy.plugins.jasperreports.JasperReportRunner.getJasperBytes(JasperReportRunner.java:407)
at com.servoy.plugins.jasperreports.JasperReportsServer.getJasperBytes(JasperReportsServer.java:232)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
at sun.rmi.transport.Transport$1.run(Unknown Source)
at sun.rmi.transport.Transport$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
2020-05-25 16:15:36.811 Error : EXCEPTION Mon May 25 2020 16:15:36 GMT+0200 (CEST) Jasper report error during runReport
Wrapped java.lang.Exception: java.rmi.ServerError: Error occurred in server thread; nested exception is:
java.lang.NoSuchMethodError: org.apache.batik.anim.dom.SVGDOMImplementation.registerFeature(Ljava/lang/String;Ljava/lang/Object;)V (svy_utilities/scopes/globals/svy_utl_callMethod#2893)
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 673
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

Re: Servoy 2020.03 and Jasper reports plugin 6.12.2

Postby Gabi Boros » Tue May 26, 2020 1:40 pm

for me it works, in developer, but isn't this one similar to this case? https://www.servoyforge.net/issues/845
can it be that now it is the same and there are some jar collisions?
Gabi Boros
Servoy
Gabi Boros
 
Posts: 373
Joined: Tue Jun 26, 2007 4:03 pm
Location: Timisoara, Romania

Re: Servoy 2020.03 and Jasper reports plugin 6.12.2

Postby lwjwillemsen » Tue May 26, 2020 3:20 pm

Yes, that's the one!
In the JGantt.jar (it2be Gantt plugin) the org.apache.batik is reintroduced some time ago!
I am on my way testing again.
Thanks a lot Gabi!
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 673
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

Re: Servoy 2020.03 and Jasper reports plugin 6.12.2

Postby lwjwillemsen » Thu May 28, 2020 8:25 am

Okay, problem solved through adjustment JGantt.jar.
Thanks Gabi for your support.
Regards,
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 673
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands


Return to Plugins and Beans

Who is online

Users browsing this forum: No registered users and 3 guests

cron