[Bug 1041] New: Main class is not found if the main jar is brought in through an external jnlp file (extension)

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Thu Jun 7 13:16:43 PDT 2012


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

          Priority: P3
            Bug ID: 1041
                CC: unassigned at icedtea.classpath.org
          Assignee: dbhole at redhat.com
           Summary: Main class is not found if the main jar is brought in
                    through an external jnlp file (extension)
          Severity: normal
    Classification: Unclassified
                OS: Linux
          Reporter: smohammad at redhat.com
          Hardware: x86_64
            Status: NEW
           Version: unspecified
         Component: Plugin
           Product: IcedTea-Web

Created attachment 705
  --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=705&action=edit
Reproducer

If the launching jnlp file contains jars (without main) as its resources and
includes the main jar from an external jnlp file (using extension), the main
class is not found. Reproducer is attached - launch SignedJnlpExtension2.jnlp.

The following message is displayed at launch:

netx: Initialization Error: Could not initialize application. (Fatal:
Application Error: Unknown Main-Class. Could not determine the main class for
this application.)
net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not
initialize application. 
    at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:778)
    at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:552)
    at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:889)
Caused by: net.sourceforge.jnlp.LaunchException: Fatal: Application Error:
Unknown Main-Class. Could not determine the main class for this application.
    at
net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:508)
    at
net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:201)
    at
net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:320)
    at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:770)
    ... 2 more

-- 
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/20120607/99b85430/attachment.html 


More information about the distro-pkg-dev mailing list