[Bug 3350] New: Java applet launched via jnlp web-start cannot load. Fails with "Could not initialize applet"

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Wed Apr 5 08:44:43 UTC 2017


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3350

            Bug ID: 3350
           Summary: Java applet launched via jnlp web-start cannot load.
                    Fails with "Could not initialize applet"
           Product: IcedTea-Web
           Version: hg
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: blocker
          Priority: P5
         Component: NetX (javaws)
          Assignee: jvanek at redhat.com
          Reporter: stefan at kemtrak.com
                CC: unassigned at icedtea.classpath.org

Running OpenJDK Java 8 with latest IcedTea-Netx, with a jnlp file version spec
"7.0+" without codebase attribute (Document base).
Earliest allowed version in the jnlp file is 1.7.0.45 and security
"all-permissions". Jar codebase files are signed.
The file and code has been developed and running in all platforms (Windows
XP-7-8-10, Mac OS, with various browsers and Oracle Java 7.45+ to latest 8
versions) and also runs perfectly in Linux with Oracle Java/Web start by
running
javaws 192.168.<rest of IP address>/xxxx.jnlp in the terminal

However with IcedTea webstart I get

net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not
initialize applet. For more information click "more information button".     at
net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:764)     at
net.sourceforge.jnlp.Launcher.launchApplet(Launcher.java:653)     at
net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:939) Caused by:
java.lang.NullPointerException     at
net.sourceforge.jnlp.security.SecurityDialogs.showMatchingALACAttributePanel(SecurityDialogs.java:405)
    at
net.sourceforge.jnlp.runtime.ManifestAttributesChecker.checkApplicationLibraryAllowableCodebaseAttribute(ManifestAttributesChecker.java:426)
    at
net.sourceforge.jnlp.runtime.ManifestAttributesChecker.checkAll(ManifestAttributesChecker.java:122)
    at
net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:777)
    at
net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:285)  
  at
net.sourceforge.jnlp.runtime.JNLPClassLoader.createInstance(JNLPClassLoader.java:357)
    at
net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:429)
    at
net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:403)
    at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:729)     ... 2
more 
net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not
initialize applet. For more information click "more information button".     at
net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:764)     at
net.sourceforge.jnlp.Launcher.launchApplet(Launcher.java:653)     at
net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:939) Caused by:
java.lang.NullPointerException     at
net.sourceforge.jnlp.security.SecurityDialogs.showMatchingALACAttributePanel(SecurityDialogs.java:405)
    at
net.sourceforge.jnlp.runtime.ManifestAttributesChecker.checkApplicationLibraryAllowableCodebaseAttribute(ManifestAttributesChecker.java:426)
    at
net.sourceforge.jnlp.runtime.ManifestAttributesChecker.checkAll(ManifestAttributesChecker.java:122)
    at
net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:777)
    at
net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:285)  
  at
net.sourceforge.jnlp.runtime.JNLPClassLoader.createInstance(JNLPClassLoader.java:357)
    at
net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:429)
    at
net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:403)
    at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:729)     ... 2
more 
netx: Initialization Error: Could not initialize applet. ()
net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not
initialize applet. For more information click "more information button".     at
net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:764)     at
net.sourceforge.jnlp.Launcher.launchApplet(Launcher.java:653)     at
net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:939) Caused by:
java.lang.NullPointerException     at
net.sourceforge.jnlp.security.SecurityDialogs.showMatchingALACAttributePanel(SecurityDialogs.java:405)
    at
net.sourceforge.jnlp.runtime.ManifestAttributesChecker.checkApplicationLibraryAllowableCodebaseAttribute(ManifestAttributesChecker.java:426)
    at
net.sourceforge.jnlp.runtime.ManifestAttributesChecker.checkAll(ManifestAttributesChecker.java:122)
    at
net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:777)
    at
net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:285)  
  at
net.sourceforge.jnlp.runtime.JNLPClassLoader.createInstance(JNLPClassLoader.java:357)
    at
net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:429)
    at
net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:403)
    at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:729)     ... 2
more 
netx: Initialization Error: Could not initialize applet. ()
Stored action for matching alaca at null was null

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20170405/98db9a87/attachment.html>


More information about the distro-pkg-dev mailing list