Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » ClassNotFound SWTError on deployed Startup
ClassNotFound SWTError on deployed Startup [message #605934] Mon, 07 June 2010 05:10 Go to next message
Jörn Guy  Süß is currently offline Jörn Guy Süß
Messages: 83
Registered: July 2009
Location: Germany
Member

I have an Eclipse product based on features which

validates ok
runs ok from a launch configuration
exports ok from export wizard


When I start the native launcher, the application fails to load. Reading the attached dump, I believe that the root cause is a ClassNotFoundError for SWTError, as shown below.


Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.SWTError
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:494)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:398)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 41 more



I have verified that both the plugin
org.eclipse.swt_3.5.2.v3557f.jar
and platform fragment
org.eclipse.swt.win32.win32.x86_3.5.2.v3557f.jar
are in the plugins directory.


Does anyone have an idea as to the cause of this issue?
Can anybody point me to a debugging strategy?
Re: ClassNotFound SWTError on deployed Startup [message #605936 is a reply to message #605934] Mon, 07 June 2010 08:13 Go to previous messageGo to next message
Ankur Sharma is currently offline Ankur Sharma
Messages: 68
Registered: July 2009
Member
On 6/7/2010 10:40 AM, Joerr Guy Suess wrote:
> I have an Eclipse product based on features which
>
> validates ok
> runs ok from a launch configuration
> exports ok from export wizard
>
>
> When I start the native launcher, the application fails to load. Reading
> the attached dump, I believe that the root cause is a ClassNotFoundError
> for SWTError, as shown below.
>
> Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.SWTError
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:494)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:398)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>
> at java.lang.ClassLoader.loadClass(Unknown Source)
> ... 41 more
>
>
>
> I have verified that both the plugin org.eclipse.swt_3.5.2.v3557f.jar
> and platform fragment
> org.eclipse.swt.win32.win32.x86_3.5.2.v3557f.jar
> are in the plugins directory.
>
>
> Does anyone have an idea as to the cause of this issue?
> Can anybody point me to a debugging strategy?
>
>
>



See if the solution at http://dev.eclipse.org/newslists/news.eclipse.platform.rcp/m sg32879.html
help fix problem too.

Ankur..
Re: ClassNotFound SWTError on deployed Startup [message #606382 is a reply to message #605934] Fri, 30 July 2010 09:28 Go to previous message
Juergen Weber is currently offline Juergen Weber
Messages: 54
Registered: July 2009
Member
See http://www.eclipse.org/forums/index.php?t=msg&goto=53908 2&

Amazing, what a misleading Exception this bug provokes.
Previous Topic:ClassNotFound SWTError on deployed Startup
Next Topic:Errors when following the Plug-in Cheat Sheet
Goto Forum:
  


Current Time: Thu Oct 23 22:18:03 GMT 2014

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

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