Weasis NullPointer Exception

252 views
Skip to first unread message

christia...@googlemail.com

unread,
Feb 6, 2014, 3:38:38 PM2/6/14
to dcm...@googlegroups.com
Hello,

I have a problem with the weasis viewer. After the download the application gives me following error: Unexpected java.lang.NullPointer Exception

java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:514)
at java.util.Properties.setProperty(Properties.java:161)
at java.lang.System.setProperty(System.java:787)
at org.weasis.launcher.WeasisLauncher.loadProperties(WeasisLauncher.java:691)
at org.weasis.launcher.WeasisLauncher.launch(WeasisLauncher.java:289)
at org.weasis.launcher.WebstartLauncher.main(WebstartLauncher.java:56)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
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(Thread.java:744)

The jnlp File is shown:


<jnlp spec="1.6+" codebase="http://192.168.10.4:8080/weasis">
  <information>
    <title>Weasis</title>
    <vendor>Weasis Team</vendor>
    <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>
    <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"/>
    <extension href="substance.jnlp"/>
    <property name="felix.config.properties" value="http://192.168.10.4:8080/weasis/conf/config.properties"/>
    <property name="weasis.codebase.url" value="http://192.168.10.4:8080/weasis"/>
    <property name="gosh.args" value="-sc telnetd -p 17179 start"/>
    <property name="apple.laf.useScreenMenuBar" value="true"/>
    <property name="weasis.i18n" value="http://192.168.10.4:8080/weasis-i18n"/>
  </resources>
  <application-desc main-class="org.weasis.launcher.WebstartLauncher">
    <argument>$dicom:get -i H4sIAAAAAAAAAJ1UXU/bMBR936+w/M6Nrz8SBxFQRjetU4GKgsTbZBoDltKEJe7a/vvd9IMB06ZpL7Fln3vOucdXOTlbL2r2w3d9aJuCIwjOfDNvq9A8FnwZH44sZ2enH05Wrmq/fV/6bsOooukLxp9ifD5OktVqBSvv+tBD2z0m677iO8jxug/FG5TaIqQQmNxdTGbzJ79wR6Hpo2vmnrNB4/Z68lKDuQRMLaAAfWyFFcmA4Kzz35eh81dNvZldTcf7+tvxqOAPru6JyVVViNRR4+qp69zCR+qw4Jy11GoXKj8K83Zx4x77SejjcEEtTl0Mvolsvw50KISQIqVQ9oeXxFXw8/Py+sttOZtMSva1vC7Z7OpyXL6APoYuPo1cJCTmFkWO9uVu5tcF/7zVm8VltWHb75seEBQYegnIQIncWC2kRpCZREAUmQWdpZqSQakkGGXQ0D7NDN9xjXw/78Jz3D7op3Xs/CJUrvI9GzcPvgtt5/sDdOtRCiQJcai/CUOLKJQ2eueTiqh6t/zJKUpELS0iWjA6J5NW6xw0HaSgjcxBGqsMKKsU0e7I3li9ae9DXbesnB6uL5eLe9+RDGcXbeXqEDcFH91tTR18sPcT8NqTJeGMxs2AVjoFqVRKoyQwJ5DKMAOpZaZBydxIzg40r2QTUkp2Zv41COIlhUwJUFrlKShUIgOdC3osLU2ag8npVWHISv01iImL75OQ/5lEhjY3FAaCkUqTSaszSsJaVNR9qjUZlJIMKpNmvych3yeRbCdl2OzHetj++kWc/gQLRCL9VwQAAA==</argument>
  </application-desc>
</jnlp>


The error comes only on  a Ubuntu (12.04,amd64) machine. At Windows it works normally.

Has someone an idea?


Thanks,

Christian




nicolas...@gmail.com

unread,
Feb 6, 2014, 4:23:37 PM2/6/14
to dcm...@googlegroups.com
This issue is related to the new security restrictions from JRE 1.7.0_40, see this post.
Reply all
Reply to author
Forward
0 new messages