Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » RCP startup error
RCP startup error [message #260359] Sat, 10 July 2004 10:31 Go to next message
Eclipse UserFriend
Originally posted by: lesliesoftware.yahoo.com

I have a strange startup error with my RCP application. When I launch my
application I get the error message "Could not launch the configuration.
Details are in the log. Would you like to open it?". I have attached the
log below. It looks like Eclipse is trying to run an exception class.
DataAccessException is derived from Exception. My application's run
method is never even called so I do not see how it could be caused by
hitting an exception. I have several plug-ins in my RCP application:
com.lesliesoftware.lcommon
com.lesliesoftware.lphoto
com.lesliesoftware.lphoto.dataaccess
and I wrote a wrapper plug-in for Xindice
org.apache.xindice

My application LPhotoApplication resides in .lphoto and the
DataAccessException class is in .lphoto.dataaccess. I recreated this
project from the version I was using in M8 to be 3.0 plug-ins. I had it
working step by step until I added the database back in (the Xindice
plug-in the dataaccess plug-in and some of the code to use it in my
application).

My launch configuration has the correct application specified and I have
checked and rechecked that the plug-in list is correct.

Any advice would be appreciated.

Thanks,

IL

---8<---
!SESSION Jul 10, 2004 07:21:48.46
----------------------------------------------
eclipse.buildId=unknown
java.version=1.4.1_02
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -application
com.lesliesoftware.lphoto.LPhotoApplication
!ENTRY org.eclipse.osgi Jul 10, 2004 07:21:48.46
!MESSAGE Application error
!STACK 1
java.lang.NoClassDefFoundError:
com/lesliesoftware/lphoto/dataaccess/errors/DataAccessExcept ion
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:15 90)
at java.lang.Class.getConstructor0(Class.java:1762)
at java.lang.Class.newInstance0(Class.java:276)
at java.lang.Class.newInstance(Class.java:259)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:141)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:124)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:113)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:303)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:256)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:127)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:638)
at org.eclipse.core.launcher.Main.main(Main.java:622)
Re: RCP startup error [message #260373 is a reply to message #260359] Sat, 10 July 2004 14:02 Go to previous message
Eclipse UserFriend
Originally posted by: pascal.ibm.canada

Try running with -clean once.

PaScaL


Ian Leslie wrote:

> I have a strange startup error with my RCP application. When I launch my
> application I get the error message "Could not launch the configuration.
> Details are in the log. Would you like to open it?". I have attached the
> log below. It looks like Eclipse is trying to run an exception class.
> DataAccessException is derived from Exception. My application's run
> method is never even called so I do not see how it could be caused by
> hitting an exception. I have several plug-ins in my RCP application:
> com.lesliesoftware.lcommon
> com.lesliesoftware.lphoto
> com.lesliesoftware.lphoto.dataaccess
> and I wrote a wrapper plug-in for Xindice
> org.apache.xindice
>
> My application LPhotoApplication resides in .lphoto and the
> DataAccessException class is in .lphoto.dataaccess. I recreated this
> project from the version I was using in M8 to be 3.0 plug-ins. I had it
> working step by step until I added the database back in (the Xindice
> plug-in the dataaccess plug-in and some of the code to use it in my
> application).
>
> My launch configuration has the correct application specified and I have
> checked and rechecked that the plug-in list is correct.
>
> Any advice would be appreciated.
>
> Thanks,
>
> IL
>
> ---8<---
> !SESSION Jul 10, 2004 07:21:48.46
> ----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.4.1_02
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Command-line arguments: -application
> com.lesliesoftware.lphoto.LPhotoApplication
> !ENTRY org.eclipse.osgi Jul 10, 2004 07:21:48.46
> !MESSAGE Application error
> !STACK 1
> java.lang.NoClassDefFoundError:
> com/lesliesoftware/lphoto/dataaccess/errors/DataAccessExcept ion
> at java.lang.Class.getDeclaredConstructors0(Native Method)
> at java.lang.Class.privateGetDeclaredConstructors(Class.java:15 90)
> at java.lang.Class.getConstructor0(Class.java:1762)
> at java.lang.Class.newInstance0(Class.java:276)
> at java.lang.Class.newInstance(Class.java:259)
> at
> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:141)
> at
> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:124)
> at
> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:113)
> at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:303)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:256)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:127)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
> at org.eclipse.core.launcher.Main.run(Main.java:638)
> at org.eclipse.core.launcher.Main.main(Main.java:622)
>
>
Previous Topic:Installing eclipse 3.0 in a common Linux directory
Next Topic:Plugini export does not see linked directory
Goto Forum:
  


Current Time: Tue Jul 22 15:43:05 EDT 2025

Powered by FUDForum. Page generated in 0.03780 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top