jrbean.jar error

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

Re: jrbean.jar error

Postby lwjwillemsen » Thu Aug 20, 2020 10:30 am

Thanks, Johan!
The jrbean.jar was always only available on Servoy Forge.
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 673
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

Re: jrbean.jar error

Postby lwjwillemsen » Thu Aug 20, 2020 10:42 am

Can the new jrbean.jar also be used with Jasperreports 6.4.1 ?
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 673
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

Re: jrbean.jar error

Postby jcompagner » Thu Aug 20, 2020 10:48 am

yes i think so, i think that swing package was there already
but with 6.4.1 you shouldn't have this problem, only with the latest jasper.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8460
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: jrbean.jar error

Postby c85700 » Tue Oct 27, 2020 12:07 am

lwjwillemsen wrote:Hi Johan,

The jrbean.jar is shipped through the Servoy Application Server beans folder where we put all the non-jnlp jar files.

Java-log:
SEVERE: net/sf/jasperreports/view/JRViewer
at svy_nav_navigation/scopes/globals/svy_nav_showForm:6860 (svy_nav_showForm)
at svy_nav_navigation/scopes/globals/svy_nav_tree_node_selected:7598 (svy_nav_tree_node_selected)

java.lang.NoClassDefFoundError: net/sf/jasperreports/view/JRViewer

Decompile JAR and check whether net.sf.jasperreports.view.JRViewer class actually exists there.
c85700
 
Posts: 4
Joined: Wed Dec 18, 2019 3:53 pm

Re: jrbean.jar error

Postby briese-it » Thu Feb 18, 2021 12:55 pm

Hello,
I tried the bean with Servoy 2020.3.0.3562 but it doesn't work in the web client with my report. It runs fine on SmartClient.
I have a Gantt chart in my report and I am getting the following error:
Code: Select all
2021-02-18 10:00:59,085 ERROR [http-nio-8080-exec-2] com.servoy.j2db.util.Debug - org.jfree.data.general.SeriesChangeListener (Form Context: br_boss_verwalt_autos_gantt_dtl), JSEvent(type = form, source = FormController[form: br_boss_verwalt_autos_gantt_dtl, fs size:0, selected record: null,destroyed:false], formName = br_boss_verwalt_autos_gantt_dtl, elementName = <no name>, timestamp = Thu Feb 18 10:00:59 CET 2021,modifiers = 0,x =0,y = 0,data = null)
   at D:\GitHub\iBOSS\br_boss_verwalt_autoverwaltung\forms\br_boss_verwalt_autos_gantt_dtl.js:125 (showJasperBean)
   ...
[54A75BE3-4781-47B0-91E5-7FDFE00E1B4D BOSS]
org.mozilla.javascript.WrappedException: Wrapped net.sf.jasperreports.engine.JRException: Class not found when loading object from InputStream. (D:\GitHub\iBOSS\br_boss_verwalt_autoverwaltung\forms\br_boss_verwalt_autos_gantt_dtl.js#125)
   at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1914) ~[org.eclipse.dltk.javascript.rhino_2020.3.0.3562.jar:?]
   at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:160) ~[org.eclipse.dltk.javascript.rhino_2020.3.0.3562.jar:?]
   at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:292) ~[org.eclipse.dltk.javascript.rhino_2020.3.0.3562.jar:?]
   at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1487) ~[org.eclipse.dltk.javascript.rhino_2020.3.0.3562.jar:?]
   at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815) ~[org.eclipse.dltk.javascript.rhino_2020.3.0.3562.jar:?]
   at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109) ~[org.eclipse.dltk.javascript.rhino_2020.3.0.3562.jar:?]
   at com.servoy.j2db.scripting.ScriptEngine.executeFunction(ScriptEngine.java:670) [servoy_shared_2020.3.0.3562.jar:?]
   at com.servoy.j2db.debug.RemoteDebugScriptEngine.executeFunction(RemoteDebugScriptEngine.java:393) [servoy_debug_2020.3.0.3562.jar:?]
   at com.servoy.j2db.BasicFormController.executeFunction(BasicFormController.java:1074) [servoy_shared_2020.3.0.3562.jar:?]
   at com.servoy.j2db.BasicFormController.executeFormMethod(BasicFormController.java:790) [servoy_shared_2020.3.0.3562.jar:?]
   at com.servoy.j2db.BasicFormController.executeOnRecordSelect(BasicFormController.java:688) [servoy_shared_2020.3.0.3562.jar:?]
   at com.servoy.j2db.FormController.refreshAllPartRenderers(FormController.java:725) [servoy_shared_2020.3.0.3562.jar:?]
   at com.servoy.j2db.BasicFormController.valueChanged(BasicFormController.java:508) [servoy_shared_2020.3.0.3562.jar:?]
   at com.servoy.j2db.BasicFormController.notifyVisible(BasicFormController.java:361) [servoy_shared_2020.3.0.3562.jar:?]
   at com.servoy.j2db.FormController.notifyVisible(FormController.java:790) [servoy_shared_2020.3.0.3562.jar:?]
   at com.servoy.j2db.server.headlessclient.dataui.WebTabFormLookup.notifyVisible(WebTabFormLookup.java:179) [servoy_headless_client_2020.3.0.3562.jar:?]
   at com.servoy.j2db.server.headlessclient.dataui.WebTabPanel.setCurrentForm(WebTabPanel.java:493) [servoy_headless_client_2020.3.0.3562.jar:?]
   at com.servoy.j2db.server.headlessclient.dataui.WebTabPanel.notifyVisible(WebTabPanel.java:643) [servoy_headless_client_2020.3.0.3562.jar:?]
   at com.servoy.j2db.dataprocessing.DataAdapterList.notifyVisible(DataAdapterList.java:538) [servoy_shared_2020.3.0.3562.jar:?]
   at com.servoy.j2db.server.headlessclient.dataui.WebDataRenderer.notifyVisible(WebDataRenderer.java:360) [servoy_headless_client_2020.3.0.3562.jar:?]
   at com.servoy.j2db.FormController.notifyVisibleOnChildren(FormController.java:806) [servoy_shared_2020.3.0.3562.jar:?]
   at com.servoy.j2db.FormController.notifyVisible(FormController.java:794) [servoy_shared_2020.3.0.3562.jar:?]
   at com.servoy.j2db.server.headlessclient.dataui.WebTabPanel.notifyVisible(WebTabPanel.java:670) [servoy_headless_client_2020.3.0.3562.jar:?]
   at com.servoy.j2db.dataprocessing.DataAdapterList.notifyVisible(DataAdapterList.java:538) [servoy_shared_2020.3.0.3562.jar:?]
   at com.servoy.j2db.server.headlessclient.dataui.WebDataRenderer.notifyVisible(WebDataRenderer.java:360) [servoy_headless_client_2020.3.0.3562.jar:?]
   at com.servoy.j2db.FormController.notifyVisibleOnChildren(FormController.java:806) [servoy_shared_2020.3.0.3562.jar:?]
   at com.servoy.j2db.FormController.notifyVisible(FormController.java:794) [servoy_shared_2020.3.0.3562.jar:?]
   at com.servoy.j2db.server.headlessclient.dataui.WebSplitPane.notifyVisibleForm(WebSplitPane.java:400) [servoy_headless_client_2020.3.0.3562.jar:?]
   at com.servoy.j2db.server.headlessclient.dataui.WebSplitPane.notifyVisible(WebSplitPane.java:365) [servoy_headless_client_2020.3.0.3562.jar:?]
   at com.servoy.j2db.dataprocessing.DataAdapterList.notifyVisible(DataAdapterList.java:538) [servoy_shared_2020.3.0.3562.jar:?]
   at com.servoy.j2db.server.headlessclient.dataui.WebDataRenderer.notifyVisible(WebDataRenderer.java:360) [servoy_headless_client_2020.3.0.3562.jar:?]
   at com.servoy.j2db.FormController.notifyVisibleOnChildren(FormController.java:806) [servoy_shared_2020.3.0.3562.jar:?]
   at com.servoy.j2db.FormController.notifyVisible(FormController.java:794) [servoy_shared_2020.3.0.3562.jar:?]
   at com.servoy.j2db.server.headlessclient.dataui.WebTabFormLookup.notifyVisible(WebTabFormLookup.java:179) [servoy_headless_client_2020.3.0.3562.jar:?]
   at com.servoy.j2db.server.headlessclient.dataui.WebTabPanel.setCurrentForm(WebTabPanel.java:493) [servoy_headless_client_2020.3.0.3562.jar:?]
   at com.servoy.j2db.server.headlessclient.dataui.WebTabPanel.setActiveTabPanel(WebTabPanel.java:452) [servoy_headless_client_2020.3.0.3562.jar:?]
   at com.servoy.j2db.server.headlessclient.dataui.WebTabPanel.insertTab(WebTabPanel.java:856) [servoy_headless_client_2020.3.0.3562.jar:?]
   at com.servoy.j2db.server.headlessclient.dataui.WebTabPanel.addTab(WebTabPanel.java:910) [servoy_headless_client_2020.3.0.3562.jar:?]
   at com.servoy.j2db.ui.scripting.AbstractRuntimeTabPaneAlike.js_addTab(AbstractRuntimeTabPaneAlike.java:246) [servoy_shared_2020.3.0.3562.jar:?]
   at sun.reflect.GeneratedMethodAccessor486.invoke(Unknown Source) ~[?:?]
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_231]
   at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_231]
   at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138) [org.eclipse.dltk.javascript.rhino_2020.3.0.3562.jar:?]
   at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:292) [org.eclipse.dltk.javascript.rhino_2020.3.0.3562.jar:?]
   at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1487) [org.eclipse.dltk.javascript.rhino_2020.3.0.3562.jar:?]
   at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815) [org.eclipse.dltk.javascript.rhino_2020.3.0.3562.jar:?]
   at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109) [org.eclipse.dltk.javascript.rhino_2020.3.0.3562.jar:?]
   at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:399) [org.eclipse.dltk.javascript.rhino_2020.3.0.3562.jar:?]
   at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3534) [org.eclipse.dltk.javascript.rhino_2020.3.0.3562.jar:?]
   at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:107) [org.eclipse.dltk.javascript.rhino_2020.3.0.3562.jar:?]
   at com.servoy.j2db.scripting.ScriptEngine.executeFunction(ScriptEngine.java:670) [servoy_shared_2020.3.0.3562.jar:?]
   at com.servoy.j2db.debug.RemoteDebugScriptEngine.executeFunction(RemoteDebugScriptEngine.java:393) [servoy_debug_2020.3.0.3562.jar:?]
   at com.servoy.j2db.BasicFormController.executeFunction(BasicFormController.java:1074) [servoy_shared_2020.3.0.3562.jar:?]
   at com.servoy.j2db.BasicFormController.executeFunction(BasicFormController.java:956) [servoy_shared_2020.3.0.3562.jar:?]
   at com.servoy.j2db.BasicFormController.executeFunction(BasicFormController.java:827) [servoy_shared_2020.3.0.3562.jar:?]
   at com.servoy.j2db.FormController$ScriptExecuter.executeFunction(FormController.java:1043) [servoy_shared_2020.3.0.3562.jar:?]
   at com.servoy.j2db.ui.BaseEventExecutor.fireEventCommand(BaseEventExecutor.java:299) [servoy_shared_2020.3.0.3562.jar:?]
   at com.servoy.j2db.ui.BaseEventExecutor.fireEventCommand(BaseEventExecutor.java:265) [servoy_shared_2020.3.0.3562.jar:?]
   at com.servoy.j2db.ui.BaseEventExecutor.fireActionCommand(BaseEventExecutor.java:233) [servoy_shared_2020.3.0.3562.jar:?]
   at com.servoy.j2db.server.headlessclient.dataui.WebEventExecutor.handleEvent(WebEventExecutor.java:491) [servoy_headless_client_2020.3.0.3562.jar:?]
   at com.servoy.j2db.server.headlessclient.dataui.WebEventExecutor.onEvent(WebEventExecutor.java:421) [servoy_headless_client_2020.3.0.3562.jar:?]
   at com.servoy.j2db.server.headlessclient.dataui.WebEventExecutor.onEvent(WebEventExecutor.java:394) [servoy_headless_client_2020.3.0.3562.jar:?]
   at com.servoy.j2db.server.headlessclient.dataui.WebEventExecutor$2.onEvent(WebEventExecutor.java:192) [servoy_headless_client_2020.3.0.3562.jar:?]
   at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177) [wicket.jar:1.4-SNAPSHOT]
   at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:312) [wicket.jar:1.4-SNAPSHOT]
   at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:157) [wicket.jar:1.4-SNAPSHOT]
   at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92) [wicket.jar:1.4-SNAPSHOT]
   at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1279) [wicket.jar:1.4-SNAPSHOT]
   at org.apache.wicket.RequestCycle.step(RequestCycle.java:1358) [wicket.jar:1.4-SNAPSHOT]
   at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1465) [wicket.jar:1.4-SNAPSHOT]
   at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) [wicket.jar:1.4-SNAPSHOT]
   at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486) [wicket.jar:1.4-SNAPSHOT]
   at com.servoy.j2db.server.servlets.Zz.doGet(Zz.java:14) [j2db_server_2020.3.0.3562.jar:?]
   at org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:138) [wicket.jar:1.4-SNAPSHOT]
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) [javax.servlet_3.1.0.v201410161800.jar:3.1.0]
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [javax.servlet_3.1.0.v201410161800.jar:3.1.0]
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [catalina.jar:8.5.50]
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.50]
   at com.servoy.eclipse.ngclient.startup.resourceprovider.ResourceProvider.doFilter(ResourceProvider.java:339) [com.servoy.eclipse.ngclient_2020.3.0.3562.jar:?]
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.50]
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.50]
   at com.servoy.eclipse.designer.rfb.startup.EditorContentFilter.doFilter(EditorContentFilter.java:197) [com.servoy.eclipse.designer.rfb_2020.3.0.3562.jar:?]
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.50]
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.50]
   at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.5.50]
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.50]
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.50]
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) [catalina.jar:8.5.50]
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [catalina.jar:8.5.50]
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:543) [catalina.jar:8.5.50]
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) [catalina.jar:8.5.50]
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) [catalina.jar:8.5.50]
   at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:678) [catalina.jar:8.5.50]
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) [catalina.jar:8.5.50]
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [catalina.jar:8.5.50]
   at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:609) [tomcat-coyote.jar:8.5.50]
   at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-coyote.jar:8.5.50]
   at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:810) [tomcat-coyote.jar:8.5.50]
   at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1623) [tomcat-coyote.jar:8.5.50]
   at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote.jar:8.5.50]
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_231]
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_231]
   at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.5.50]
   at java.lang.Thread.run(Unknown Source) [?:1.8.0_231]
Caused by: net.sf.jasperreports.engine.JRException: Class not found when loading object from InputStream.
   at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:290) ~[?:?]
   at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:262) ~[?:?]
   at com.servoy.plugins.jasperreports.bean.JasperReportsServoyViewer.showReport(JasperReportsServoyViewer.java:583) ~[?:?]
   at com.servoy.plugins.jasperreports.bean.JasperReportsServoyViewer.js_showReport(JasperReportsServoyViewer.java:488) ~[?:?]
   at com.servoy.plugins.jasperreports.bean.JasperReportsServoyViewer.js_showReport(JasperReportsServoyViewer.java:467) ~[?:?]
   at com.servoy.plugins.jasperreports.bean.JasperReportsServoyViewer.js_showReport(JasperReportsServoyViewer.java:451) ~[?:?]
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_231]
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_231]
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_231]
   at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_231]
   at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138) ~[org.eclipse.dltk.javascript.rhino_2020.3.0.3562.jar:?]
   ... 102 more
Michael Harms
Briese Schiffahrts GmbH & Co.KG, Germany
- Servoy 2021.3.0.3642 Running on Windows 2019 DataCenter - MSSQL2017 & PostGreSQL
User avatar
briese-it
 
Posts: 155
Joined: Mon Jun 20, 2011 1:50 pm
Location: Leer, Germany

Previous

Return to Plugins and Beans

Who is online

Users browsing this forum: Google [Bot] and 5 guests

cron