My bad Alex... Apparently I can't read.  The following did work afterall.

 

  <application-desc main-class="org.eclipse.equinox.launcher.WebStartMain"> 
    <argument>-nosplash</argument> 
  </application-desc>

 

Now we're getting a null pointer exception.  But at least we've gotten past
that part.  Here's the NPE that we're getting if anyone has a suggestion on
that.

 

java.lang.NullPointerException

      at java.util.Hashtable.put(Unknown Source)

      at
org.eclipse.equinox.launcher.WebStartMain.basicRun(WebStartMain.java:77)

      at org.eclipse.equinox.launcher.Main.run(Main.java:1173)

      at
org.eclipse.equinox.launcher.WebStartMain.main(WebStartMain.java:56)

      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.continueLaunch(Unknown Source)

      at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)

      at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)

      at com.sun.javaws.Launcher.run(Unknown Source)

      at java.lang.Thread.run(Unknown Source)

 

Dennis

 

 

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Swanson, Dennis
Sent: Thursday, November 29, 2007 9:47 AM
To: 'Equinox development mailing list'
Subject: RE: [equinox-dev] Could not find main-class org.eclipse.core.laun
cher.WebStartMain

 

Not sure if this helps, but I did some more searching and it appears that
we're having the same problems that Tejah had back in August.  

http://www.eclipsepowered.org/forums/thread.jspa?messageID=92168477
<http://www.eclipsepowered.org/forums/thread.jspa?messageID=92168477&#921684
77> &#92168477

 

The link suggests that culprit may be that the
org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar could be referenced
from the wrong jnlp.  I verified our jnlp and it looks right to me.  So
there's something else funky going on.

 

Anybody have any more ideas?

 

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Swanson, Dennis
Sent: Wednesday, November 28, 2007 5:51 PM
To: 'Equinox development mailing list'
Subject: RE: [equinox-dev] Could not find main-class org.eclipse.core.laun
cher.WebStartMain. class

 

If only It was that easy.  =)  I made the change as you suggested, but got
the same error:  "Could not find main-class
org.eclipse.core.launcher.WebStartMain in
http://localhost:18080/AgileCourtWebStart/org.eclipse.equinox.launcher_1.0.1
.R33x_v20070828.jar"

 

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andrew Niefer
Sent: Wednesday, November 28, 2007 5:40 PM
To: Equinox development mailing list
Subject: Re: [equinox-dev] Could not find main-class
org.eclipse.core.launcher.WebStartMain. class

 


In 3.3 the Webstart main class is org.eclipse.equinox.launcher.WebStartMain.


We left a stub org.eclipse.core.launcher.Main, but it looks like we forgot
to put a stub for the old WebStartMain. 

I expect you simply need to change 

  <application-desc
main-class="org.eclipse.equinox.launcher.WebStartMain.class"> 
    <argument>-nosplash</argument> 
  </application-desc> 

-Andrew 


"Swanson, Dennis" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED] 

11/28/2007 05:29 PM 


Please respond to
Equinox development mailing list <equinox-dev@eclipse.org>


To

"'equinox-dev@eclipse.org'" <equinox-dev@eclipse.org> 


cc

 


Subject

[equinox-dev] Could not find main-class
org.eclipse.core.launcher.WebStartMain. class

 


 

 




We are trying to migrate our RCP application from Eclipse 3.2 to 3.3.1.1.
When we deploy the application, we get the following error:  #### Could not
find main-class org.eclipse.core.launcher.WebStartMain.class in
<http://localhost:18080/AgileCourtWebStart/org.eclipse.equinox.launcher_1.0.
1.R33x_v20070828.jar>
http://localhost:18080/AgileCourtWebStart/org.eclipse.equinox.launcher_1.0.1
.R33x_v20070828.jar 
  
Below is the full exception with the JNLP file included.  Does anyone have
any suggestions? 
  
Thanks, 
Dennis 
  
JNLPException[category: Launch File Error : Exception: null : LaunchDesc: 
<jnlp spec="1.0+" codebase="http://localhost:18080/AgileCourtWebStart/";> 
  <information> 
    <title>AgileCourt Rich Client 1.0</title> 
    <vendor>(c) 2007 ACS</vendor> 
    <homepage
href="http://localhost:18080/AgileCourtWebStart/www.acs-inc.com"/> 
    <description>AgileCourt Rich Client 1.0</description> 
  </information> 
  <security> 
    <all-permissions/> 
  </security> 
  <resources> 
    <j2se initial-heap-size="134217728" max-heap-size="134217728"
version="1.5+"/> 
    <extension href="http://localhost:18080/RcpWebStart/RcpWebStart.jnlp";
name="RCP Framework"/> 
    <jar
href="http://localhost:18080/AgileCourtWebStart/org.eclipse.equinox.launcher
_1.0.1.R33x_v20070828.jar" download="eager" main="false"/> 
    <jar
href="http://localhost:18080/AgileCourtWebStart/acs.ui.AgileCourt_0.1.733216
06.jar" download="eager" main="false"/> 
    <property name="osgi.configuration.area"
value="@user.home/AgileCourt/configuration"/> 
    <property name="osgi.instance.area"
value="@user.home/AgileCourt/workspace"/> 
    <property name="osgi.bundles"
value="[EMAIL PROTECTED]:start,[EMAIL PROTECTED]:
start,[EMAIL PROTECTED], 
 
com.ibm.icu,flute,itext,javax.servlet,js,org.apache.batik.bridge,org.apache.
batik.css,org.apache.batik.dom.svg,org.apache.batik.dom, 
 
org.apache.batik.ext.awt,org.apache.batik.parser,org.apache.batik.svggen,org
.apache.batik.transcoder,org.apache.batik.util.gui, 
 
org.apache.batik.util,org.apache.batik.xml,org.apache.commons.codec,org.apac
he.xerces,org.apache.xml.resolver, 
 
org.eclipse.ant.core,org.eclipse.birt.chart.engine.extension,org.eclipse.bir
t.chart.engine,org.eclipse.birt.chart.reportitem, 
 
org.eclipse.birt.core,org.eclipse.birt.data,org.eclipse.birt.report.data.ada
pter,org.eclipse.birt.report.engine.emitter.html, 
 
org.eclipse.birt.report.engine.emitter.pdf,org.eclipse.birt.report.engine.em
itter.postscript,org.eclipse.birt.report.engine.emitter.ppt, 
 
org.eclipse.birt.report.engine.emitter.prototype.excel,org.eclipse.birt.repo
rt.engine.emitter.wpml,org.eclipse.birt.report.engine, 
 
org.eclipse.birt.report.model,org.eclipse.core.commands,org.eclipse.core.con
tenttype,org.eclipse.core.databinding, 
              org.eclipse.core.expressions, 
 
org.eclipse.core.filesystem.win32.x86,org.eclipse.core.filesystem,org.eclips
e.core.jobs,org.eclipse.core.resources.compatibility, 
 
org.eclipse.core.resources.win32,org.eclipse.core.resources,org.eclipse.core
.runtime.compatibility.auth, 
 
org.eclipse.core.runtime.compatibility,org.eclipse.core.runtime,org.eclipse.
core.variables, 
 
org.eclipse.datatools.connectivity.oda.consumer,org.eclipse.datatools.connec
tivity.oda.profile,org.eclipse.datatools.connectivity.oda, 
 
org.eclipse.datatools.connectivity,org.eclipse.datatools.enablement.oda.xml,

 
org.eclipse.draw2d,org.eclipse.emf.common,org.eclipse.emf.ecore.xmi,org.ecli
pse.emf.ecore, 
 
org.eclipse.equinox.app,org.eclipse.equinox.common,org.eclipse.equinox.prefe
rences,org.eclipse.equinox.launcher,org.eclipse.equinox.registry, 
 
org.eclipse.help,org.eclipse.jface.databinding,org.eclipse.jface, 
 
org.eclipse.osgi.services,org.eclipse.osgi,org.eclipse.swt.win32.win32.x86,o
rg.eclipse.swt,org.eclipse.ui.forms,org.eclipse.ui.workbench, 
 
org.eclipse.ui,org.eclipse.update.configurator,org.w3c.css.sac,org.w3c.dom.s
mil,org.w3c.dom.svg"/> 
    <property name="eclipse.product" value="acs.ui.AgileCourt.Client"/> 
  </resources> 
  <application-desc
main-class="org.eclipse.core.launcher.WebStartMain.class"> 
    <argument>-nosplash</argument> 
  </application-desc> 
</jnlp> ] 
      at com.sun.javaws.LaunchDownload.getMainClassName(Unknown Source) 
      at com.sun.javaws.Launcher.continueLaunch(Unknown Source) 
      at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source) 
      at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source) 
      at com.sun.javaws.Launcher.run(Unknown Source) 
      at java.lang.Thread.run(Unknown Source) 
  
 _______________________________________________
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev

_______________________________________________
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Reply via email to