# Launching Vision Client: ExceptionInInitializerError: null

**URL:** <https://forum.inductiveautomation.com/t/launching-vision-client-exceptionininitializererror-null/45882>\
**Category:** Ignition\
**Created:** [April 21, 2021, 7:10pm UTC](https://forum.inductiveautomation.com/t/launching-vision-client-exceptionininitializererror-null/45882 "2021-04-21T19:10:22Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![S1ack](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/s1ack/32/22451_2.png) [@S1ack](https://forum.inductiveautomation.com/u/S1ack)\
**Post date:** [April 21, 2021, 7:10pm UTC](https://forum.inductiveautomation.com/t/launching-vision-client-exceptionininitializererror-null/45882/1 "2021-04-21T19:10:22Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 21, 2021, 7:12pm UTC](https://forum.inductiveautomation.com/t/launching-vision-client-exceptionininitializererror-null/45882/2 "2021-04-21T19:12:54Z")

</div>

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):

```auto
INFO [ClientLauncherFrame] [18:25:41,496]: Starting Java with the following parameters:nohup /Users/kevin/Desktop/LogViewer.app/Contents/Resources/jre/bin/java -classpath /Users/kevin/.ignition/clientlauncher-data/launchclient.jar -Djavaws.sr.gateway.addr.0=support-projects.ia.local:8088/main -Djavaws.sr.scope=C -Djavaws.sr.launchts=1616030741220 -Djavaws.sr.main=com.inductiveautomation.factorypmi.application.runtime.ClientLaunchHook -Djavaws.sr.platform.edition= -Xms128M -Xmx1024M -Xdock:name=LogViewer -Dsun.java2d.d3d=false -Djavaws.sr.project=LogViewer -Djavaws.sr.screen=0 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.

---

<div class="post-metadata">

**Author:** ![S1ack](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/s1ack/32/22451_2.png) [@S1ack](https://forum.inductiveautomation.com/u/S1ack)\
**Post date:** [April 21, 2021, 7:40pm UTC](https://forum.inductiveautomation.com/t/launching-vision-client-exceptionininitializererror-null/45882/3 "2021-04-21T19:40:25Z")

</div>

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’.

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

Launch failed on step "StartupStep" with error:
java.lang.NoClassDefFoundError: Could not initialize class sun.security.ssl.SSLContextImpl$DefaultSSLContext
	at java.base/java.lang.Class.forName0(Native Method)
	at java.base/java.lang.Class.forName(Unknown Source)
	at java.base/java.security.Provider$Service.getImplClass(Unknown Source)
	at java.base/java.security.Provider$Service.newInstance(Unknown Source)
	at java.base/sun.security.jca.GetInstance.getInstance(Unknown Source)
	at java.base/sun.security.jca.GetInstance.getInstance(Unknown Source)
	at java.base/javax.net.ssl.SSLContext.getInstance(Unknown Source)
	at java.base/javax.net.ssl.SSLContext.getDefault(Unknown Source)
	at java.net.http/jdk.internal.net.http.HttpClientImpl.<init>(Unknown Source)
	at java.net.http/jdk.internal.net.http.HttpClientImpl.create(Unknown Source)
	at java.net.http/jdk.internal.net.http.HttpClientBuilderImpl.build(Unknown Source)
	at java.net.http/java.net.http.HttpClient.newHttpClient(Unknown Source)
	at com.inductiveautomation.factorypmi.application.runtime.ClientLaunchHook.downloadProjectInitDescriptor(ClientLaunchHook.java:386)
	at com.inductiveautomation.factorypmi.application.runtime.ClientLaunchHook.setup(ClientLaunchHook.java:164)
	at com.inductiveautomation.ignition.client.launch.steps.StartupStep.run(StartupStep.java:108)
	at com.inductiveautomation.ignition.client.launch.AbstractStepRunner.run(AbstractStepRunner.java:33)
	at java.base/java.lang.Thread.run(Unknown Source)

```

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 21, 2021, 7:46pm UTC](https://forum.inductiveautomation.com/t/launching-vision-client-exceptionininitializererror-null/45882/4 "2021-04-21T19:46:39Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![S1ack](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/s1ack/32/22451_2.png) [@S1ack](https://forum.inductiveautomation.com/u/S1ack)\
**Post date:** [April 21, 2021, 8:01pm UTC](https://forum.inductiveautomation.com/t/launching-vision-client-exceptionininitializererror-null/45882/5 "2021-04-21T20:01:33Z")

</div>

There is, first of several errors…

```auto
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

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 21, 2021, 8:04pm UTC](https://forum.inductiveautomation.com/t/launching-vision-client-exceptionininitializererror-null/45882/6 "2021-04-21T20:04:18Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![S1ack](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/s1ack/32/22451_2.png) [@S1ack](https://forum.inductiveautomation.com/u/S1ack)\
**Post date:** [April 21, 2021, 8:05pm UTC](https://forum.inductiveautomation.com/t/launching-vision-client-exceptionininitializererror-null/45882/7 "2021-04-21T20:05:55Z")

</div>

Thank you very kindly.
