Issues with Temurin

Questions, answers, tips and ideas on Servoy Client

Issues with Temurin

Postby ryan.m.beasley » Wed Feb 02, 2022 12:36 am

Hello to any Servoy Devs,
Recently my company has upgraded our computers to use Temurin, IcedTea, the open source java. It did not play well with the existing smart client we're using, so all users had to get added to an exception list as a short term fix. The main error I'm getting is something like this:

Fatal: Launch Error: Could not launch JNLP file. The application has not been initialized, for more information execute javaws/browser from the command line and send a bug report.
at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:583)
at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:946)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:577)
... 1 more
Caused by: java.lang.IllegalAccessError: class com.servoy.j2db.scripting.InstanceJavaMembers cannot access its superclass org.mozilla.javascript.JavaMembers
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.access$1701(JNLPClassLoader.java:104)
at net.sourceforge.jnlp.runtime.JNLPClassLoader$5.run(JNLPClassLoader.java:1749)
at net.sourceforge.jnlp.runtime.JNLPClassLoader$5.run(JNLPClassLoader.java:1746)
at java.security.AccessController.doPrivileged(Native Method)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.findClass(JNLPClassLoader.java:1745)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClassExt(JNLPClassLoader.java:1782)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClass(JNLPClassLoader.java:1582)
at com.servoy.j2db.smart.J2DBClient.createFormManager(J2DBClient.java:1220)
at com.servoy.j2db.ClientState.applicationSetup(ClientState.java:294)
at com.servoy.j2db.smart.J2DBClient.applicationSetup(J2DBClient.java:1032)
at com.servoy.j2db.smart.J2DBClient.startupApplication(J2DBClient.java:806)
at com.servoy.j2db.smart.J2DBClient$4.run(J2DBClient.java:713)
at com.servoy.j2db.smart.J2DBClient.mainImpl(J2DBClient.java:737)
at com.servoy.j2db.smart.J2DBClient.main(J2DBClient.java:700)

I can send over additional error logs I've received when trying to access the smart client with Temurin over email. Please let me know if anyone's experienced this and if there's a fix.

Thanks,
Ryan Beasley
ryan.m.beasley
 
Posts: 61
Joined: Wed Oct 10, 2018 8:51 pm

Re: Issues with Temurin

Postby jcompagner » Wed Feb 02, 2022 10:57 am

i am not sure what that is, do they include there own rhino.jar file? (so they already provide a javascript impl)?
that will not be possible we need our own rhino implementation(js.jar)

Also i think its is better to just use our bootstrap.jar to start a smart client (the standalone variant)
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8828
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 6 guests