Any help would be much appreciated, this error started after the JAVA updates. It was working prior to the r40 java update.
I'm not sure what the source of the issue is. I've included the exception and a sample of the JNLP that is used to launch the program.
Thank you for you help in advance!
Java Web Start 10.45.2.18
Using JRE version 1.7.0_45-b18 Java HotSpot(TM) Client VM
User home directory = C:\Users\N550JV
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
0-5: set trace level to <n>
----------------------------------------------------
Cannot read properties file: /weasis/conf/config.properties
Cannot read properties file: /weasis/conf/ext-config.properties
***** Starting Configuration *****
Operating system: windows-x86
#### Java Web Start Error:
#### null
The Exception thrown:
java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at java.util.Properties.setProperty(Unknown Source)
at java.lang.System.setProperty(Unknown Source)
at org.weasis.launcher.WeasisLauncher.loadProperties(WeasisLauncher.java)
at org.weasis.launcher.WeasisLauncher.launch(WeasisLauncher.java)
at org.weasis.launcher.WebstartLauncher.main(WebstartLauncher.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
the JNLP to launch the program:
<description>DICOM images viewer</description>
<description kind="short">An application to visualize and analyze
DICOM images.
</description>
<description kind="one-line">DICOM images viewer</description>
<description kind="tooltip">Weasis</description>
<icon href="images/logo-button.png" kind="default" />
<icon href="images/about.png" kind="splash" />
<shortcut online="false">
<desktop />
<menu submenu="Weasis" />
</shortcut>
</information>
<security>
<all-permissions />
</security>
<resources>
<!-- Requires Java SE 6 update 10 release for jnlp extension without codebase (substance.jnlp) -->
<j2se version="1.6.0_10+" href="
http://java.sun.com/products/autodl/j2se" initial-heap-size="128m" max-heap-size="512m" />
<j2se version="1.6.0_10+" initial-heap-size="128m" max-heap-size="512m" />
<jar href="weasis-launcher.jar" main="true" />
<jar href="felix.jar" />
<!-- Optional library (Substance Look and feel, only since version 1.0.8). Requires the new Java Plug-in introduced in
the Java SE 6 update 10 release.For previous JRE 6, substance.jnlp needs a static codebase URL -->
<extension href="substance.jnlp" />
<!-- Allows to get the file in pack200 compression -->
<property name="jnlp.packEnabled" value="true" />
</resources>
<application-desc main-class="org.weasis.launcher.WebstartLauncher">
<!-- =======================================================================================================
Workaround for Java security restriction which only allow to put property in resources when starting
with "java." or "jnlp.". So property is passed here as argument with prefix "-VMP": <argument>-VMPpropertyname="value"</argument>.
This workaround allows to have a fully trusted application with dynamic jnlp (only since weasis 1.1.2,
for previous version see revision=16573),
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6653241 -->
<!-- Required parameter. Define the location of config.properties (the OSGI configuration and the list
of plug-ins to install/start) -->
<argument>-VMPfelix.config.properties="${weasis.base.url}/weasis/conf/config.properties"</argument>
<!-- Optional parameter. Define the location of ext-config.properties (extend/override config.properties) -->
<argument>-VMPfelix.extended.config.properties="${weasis.base.url}/weasis/conf/ext-config.properties"</argument>
<!-- Required parameter. Define the code base of Weasis for the JNLP -->
<argument>-VMPweasis.codebase.url="${weasis.base.url}/weasis"</argument>
<!-- Required parameter. Start local OSGI console on the port 17179 -->
<argument>-VMPgosh.args="-sc telnetd -p 17179 start"</argument>
<!-- Optional parameter. Allows to have the Weasis menu bar in the top bar on Mac OS X (works only
with the native Aqua look and feel) -->
<argument>-VMPapple.laf.useScreenMenuBar="true"</argument>
<!-- Optional parameter. Allows to get plug-ins translations -->
<argument>-VMPweasis.i18n="${weasis.base.url}/weasis-i18n"</argument>
<!-- Optional Weasis Documentation, appears in the menu Help > User Manual -->
<!-- <argument>-VMPweasis.help.url="${weasis.base.url}/weasis-doc"</argument> -->