Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Exporting RCP GEF Editor
Exporting RCP GEF Editor [message #249587] Mon, 13 July 2009 11:10 Go to next message
Chris Turner is currently offline Chris TurnerFriend
Messages: 9
Registered: July 2009
Junior Member
Hi everyone!

when i try to export my RCP Application I get the following error when i
try to open the Editor (GraphicalEditorWithFlyoutPalette):

Could not open the editor: The editor class could not be instantiated.
This usually indicates a missing no-arg constructor or that the editor's
class name was mistyped in plugin.xml.

And in the Details:

java.lang.NoClassDefFoundError:
org/eclipse/ui/views/properties/IPropertySheetEntry
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:170)
at
org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:874)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
at
org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
at
org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:259)
at
org.eclipse.ui.internal.registry.EditorDescriptor.createEdit or(EditorDescriptor.java:235)
at
org.eclipse.ui.internal.EditorManager.createPart(EditorManag er.java:845)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:606)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:462)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:595)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:31 3)
at
org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:180)
at
org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:270)
at
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65)
at
org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:473)
at
org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1256)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.jav a:1209)
... and so on.

When i start the Application from eclipse everything works just fine.
So obviously i forget to include a package or something.

Here is my MANIFEST.MF file:

Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: QueryBuilder Plug-in
Bundle-SymbolicName: QueryBuilder; singleton:=true
Bundle-Version: 1.0.0
Bundle-Activator: de.pdtec.querybuilder.ui.gui.Activator
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
org.eclipse.gef;bundle-version="3.5.0",
org.eclipse.ui.views;bundle-version="3.4.0",
org.eclipse.ui.views.properties.tabbed;bundle-version="3.5.0 "
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Import-Package: org.eclipse.core.resources,
org.eclipse.ui,
org.eclipse.ui.actions,
org.eclipse.ui.dialogs,
org.eclipse.ui.part,
org.eclipse.ui.views,
org.eclipse.ui.views.properties
Bundle-ClassPath: .


But i have no clue waht i'm doing wrong - so if anybody has a idea - tell
me!

Thanks
Chris
Re: Exporting RCP GEF Editor [message #249615 is a reply to message #249587] Tue, 14 July 2009 10:17 Go to previous message
Chris Turner is currently offline Chris TurnerFriend
Messages: 9
Registered: July 2009
Junior Member
Okay problem solved....

I just deleted the exported Product and reexported it - now it works just
fine... nothing changed.....

Thanks anyway
Chris
Previous Topic:GEF Data Entry GUI Based on PDF/SVG Input?
Next Topic:[Draw2D] Text figure with getLocationAtOffset
Goto Forum:
  


Current Time: Wed Apr 24 15:54:52 GMT 2024

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

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

Back to the top