Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Unable to create view ID / java.lang.ClassNotFoundException
Unable to create view ID / java.lang.ClassNotFoundException [message #303491] Tue, 16 May 2006 10:57 Go to next message
Eclipse UserFriend
Originally posted by: newsgroups.pellaton.li

Hi

In an RCP application I have a perspective that consists of views only,
the editor area is hidden. On the top I have a view which exports it's
selection as IStructuredSelection. Below it I have four stacked views
that are all listeners to the top view and that display data according
to the selection above.

When the workbench is restored, I get the following Warning/Exceptions -
always on the view which was active just before shutdown:

[org.eclipse.ui.workbench] org.eclipse.ui.workbench -
org.eclipse.core.runtime - 1 - Unable to create view ID XXview: Plug-in
XXlist was unable to load class XXView.

java.lang.ClassNotFoundException: XXView
at ...BundleLoader.findClass(BundleLoader.java:405)
at ...BundleLoader.findClass(BundleLoader.java:350)
....

and then later on in the trace:

ERROR [org.eclipse.ui.workbench] org.eclipse.ui.workbench -
org.eclipse.ui - 0 - Warning: Detected recursive attempt by part XXview
to create itself (this is probably, but not necessarily, a bug)

org.eclipse.ui.PartInitException: Warning: Detected recursive attempt by
part XXview to create itself (this is probably, but not necessarily, a bug)

at ...WorkbenchPartReference.getPart(WorkbenchPartReference.jav a:543)
....

When I clean the workspace on startup, everything works fine.

Hope somebody has an idea...

Thanks

Michael Pellaton
Re: Unable to create view ID / java.lang.ClassNotFoundException [message #303693 is a reply to message #303491] Fri, 19 May 2006 04:34 Go to previous message
Eclipse UserFriend
Originally posted by: newsgroups.pellaton.li

I found that the plugin-class and the View classes were calling
each other recursively (using listeners). I changed the plug-in
class to no longer listen to any events -> in the end it was a
recursive listener registration issue

Michael
Previous Topic:Programmatically displaying 'my' preference pages
Next Topic:Java Documentation included in Eclipse IDE
Goto Forum:
  


Current Time: Sat May 10 16:14:38 EDT 2025

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

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

Back to the top