Launching Vision Client: ExceptionInInitializerError: null

Gateway is 8.1.2
On a customer’s site, their workstation, connects to gateway, downloads vision client launcher (Edge browser). Launch. Select project (the only project) ExceptionInInitializerError: null

My laptop gets the client launcher and runs the vision client just fine, albeit I used chrome to get the vision client launcher.

Yeah, it’s pretty vague, but I’ve exhausted our ignition guy’s suggestions. Any help appreciated.

Can you get the log file at ~/.ignition/clientlauncher-data/clientlauncher.log and see if there’s anything in it?

You should see a line like this (but with Windows paths):

INFO  [ClientLauncherFrame           ] [18:25:41,496]: Starting Java with the following parameters:nohup /Users/kevin/Desktop/ -classpath /Users/kevin/.ignition/clientlauncher-data/launchclient.jar -Xms128M -Xmx1024M -Xdock:name=LogViewer -Dsun.java2d.d3d=false useBundledJre=true  com.inductiveautomation.ignition.client.launch.BootstrapSwing &

If you copy and paste the command it’s running into a command prompt to try and launch the client you should be able to get more information for us.

Wow that was quick. thanks.

Found log file on the workstation attempting to launch the client (i was not sure if you wanted a log from the gateway)
No hit on ‘ClientLauncherFrame’ in there.
Lots of stuff before this…but it’s the first hit on ‘error’.

Starting class: com.inductiveautomation.factorypmi.application.runtime.ClientLaunchHook

Launch failed on step "StartupStep" with error:
java.lang.NoClassDefFoundError: Could not initialize class$DefaultSSLContext
	at java.base/java.lang.Class.forName0(Native Method)
	at java.base/java.lang.Class.forName(Unknown Source)
	at java.base/$Service.getImplClass(Unknown Source)
	at java.base/$Service.newInstance(Unknown Source)
	at java.base/ Source)
	at java.base/ Source)
	at java.base/ Source)
	at java.base/ Source)
	at<init>(Unknown Source)
	at Source)
	at Source)
	at Source)
	at com.inductiveautomation.factorypmi.application.runtime.ClientLaunchHook.downloadProjectInitDescriptor(
	at com.inductiveautomation.factorypmi.application.runtime.ClientLaunchHook.setup(
	at java.base/ Source)

Hmm. Do you have the client launcher configured to launch using the system Java instead? Is there a visionclientlauncher.log file?

There is, first of several errors…

ERROR [LaunchUtil                    ] [2021/04/20 10:51:17]: Launch Error Occurred: Java process launch failed with error code 1: Error: could not open `C:\Users\SCADASOLAR\.ignition\cache\resources\runtimes\11.0.9\lib\jvm.cfg'

Looking there, there is a jvm.cfg file in that path size of 1 KB

Well, one thing worth trying is just deleting that entire 11.0.9 folder and then try launching again.


Thank you very kindly.