We’ve been working on implementing it2be’s barcode bean.
Our barcode prints nicely in developer but when we deploy to the server, it doesn’t work. Nothing errors on the server, but I get the following error in the java console on the client:
Exception in thread “AWT-EventQueue-0” java.lang.NoSuchFieldError: a
at com.it2be.barcode.d.c(Unknown Source)
at com.it2be.barcode.d.d(Unknown Source)
at com.it2be.barcode.f.a(Unknown Source)
at com.it2be.barcode.AbstractBarcodeScriptProvider.a(Unknown Source)
at com.it2be.barcode.AbstractBarcodeScriptProvider.js_Code128(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:179)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:347)
at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:73)
at org.mozilla.javascript.gen.c2._c0(on_show_form:17)
at org.mozilla.javascript.gen.c2.call(on_show_form)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:387)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3125)
at org.mozilla.javascript.gen.c2.call(on_show_form)
at com.servoy.j2db.scripting.ScriptEngine.executeFunction(ScriptEngine.java:126)
at com.servoy.j2db.scripting.ScriptEngine.executeFunction(ScriptEngine.java:70)
at com.servoy.j2db.FormController.Za(FormController.java:178)
at com.servoy.j2db.FormController.Za(FormController.java:806)
at com.servoy.j2db.FormController.Zl(FormController.java:516)
at com.servoy.j2db.FormController.access$1300(FormController.java:979)
at com.servoy.j2db.Zeb.run(Zeb.java:2)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
This happens within it2be’s sample barcode solution AND in our solution… so I don’t think it’s our code.
This happens on various servers that we have (all are running CentOS)
Servoy 4.1.4
The error comes up on both PC’s and Macs. Java versions are current on both.
We’ve worked with it2be, but they have concluded it’s something with our server. We’ve cleared out the plugins, beans and the /home/Servoy/application_server/server/work/Catalina/localhost/bean & plugin folder.
We’ve also crossed our fingers and hoped. That didn’t work either.
Anybody have any ideas?