[Bug 900] New: Fatal: Application Error: Unknown Main-Class. Could not determine the main class for this application.

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Tue Mar 20 07:33:58 PDT 2012


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

             Bug #: 900
           Summary: Fatal: Application Error: Unknown Main-Class. Could
                    not determine the main class for this application.
    Classification: Unclassified
           Product: IcedTea-Web
           Version: 1.2
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P3
         Component: NetX (javaws)
        AssignedTo: omajid at redhat.com
        ReportedBy: grin at grin.hu
                CC: unassigned at icedtea.classpath.org


After upgrading to icedtea-7 and it's NetX implementation at least one program
started to act weird (and started not to work anymore through webstart, though
working fine using plain java).

The message (I have seen no relevant info in the debug):

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:505)
        at
net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:198)
        at
net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:317)
        at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:770)
        ... 2 more
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:505)
        at
net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:198)
        at
net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:317)
        at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:770)
        at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:552)
        at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:889)


But probably you can check for yourself:
$ javaws http://soft.bt747.org/BT747_J2SE_Latest_RXTX2.2_Install.jnlp

I am no java expert so all I see is that the jnlp looks like just fine. If
there's any further help Ican provide please ask.

-- 
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the distro-pkg-dev mailing list