Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Got "The editor class could not be instantiated" when running org.eclipse.gef.examples.sha
Got "The editor class could not be instantiated" when running org.eclipse.gef.examples.sha [message #182410] Tue, 24 May 2005 21:17 Go to next message
victor fiu is currently offline victor fiuFriend
Messages: 37
Registered: July 2009
Member
Hi,

My system is WinXP + Eclipse SDK 3.1M7 + GEF 3.1M7.
Here is what I did to run org.eclipse.gef.examples.shapes:

1. Show plug-ins View
2. Chosse "org.eclipse.gef.examples.shapes" and import as source project
3. At navigator View, right click the shapes project and follow "Run As..."
and then Eclipse Application

4. In the new Eclipse Platform, I create a new simple project named "a"
5. In the new Eclipse Platform, I create a new file with extention .shapes
inside project "a"

Then the Platform tried to invoke something, but returned error message:
"Unable to create this part due to an internal error. Reason for the
failure: The editor class could not be instantiated. This usually indicates
that the editor's class name was mistyped in plugin.xml."

Could someone help me?

Regards,
Miaohua Xu

PS:
The details of the error message are:
"java.lang.ClassNotFoundException:
org.eclipse.gef.examples.shapes.ShapesEditor
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:403)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:350)
at
org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass(AbstractClassLoader.java:74)
at java.lang.ClassLoader.loadClass(Unknown Source)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:275)
at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1259)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:152)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:142)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:129)
at
org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 48)
at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:239)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at
org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:235)
at
org.eclipse.ui.internal.registry.EditorDescriptor.createEdit or(EditorDescriptor.java:252)
at org.eclipse.ui.internal.EditorManager.createPart(EditorManag er.java:803)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:535)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:357)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:559)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:26 6)
at
org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:126)
at
org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:268)
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:391)
at
org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1064)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.jav a:1013)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:12 22)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:406)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:109 )
at
org.eclipse.ui.internal.EditorSashContainer.addEditor(Editor SashContainer.java:60)
at
org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorA reaHelper.java:212)
at
org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAre aHelper.java:202)
at
org.eclipse.ui.internal.EditorManager.createEditorTab(Editor Manager.java:719)
at
org.eclipse.ui.internal.EditorManager.openEditorFromDescript or(EditorManager.java:631)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManag er.java:594)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2254)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2185)
at org.eclipse.ui.internal.WorkbenchPage.access$8(WorkbenchPage .java:2177)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.ja va:2163)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2158)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2140)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:371)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:334)
at
org.eclipse.ui.wizards.newresource.BasicNewFileResourceWizar d.performFinish(BasicNewFileResourceWizard.java:100)
at
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:676)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:349)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:556)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2921)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2554)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:809 )
at org.eclipse.jface.window.Window.open(Window.java:787)
at
org.eclipse.ui.internal.actions.NewWizardShortcutAction.run( NewWizardShortcutAction.java:110)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:538)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2921)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2554)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1601)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1565)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:315)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:230)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:371)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:160)
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 org.eclipse.core.launcher.Main.invokeFramework(Main.java:330 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:274)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Re: Got "The editor class could not be instantiated" when running org.eclipse.gef.examples [message #182438 is a reply to message #182410] Tue, 24 May 2005 23:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Miaohua Xu wrote:
> Hi,
>
> My system is WinXP + Eclipse SDK 3.1M7 + GEF 3.1M7.
> Here is what I did to run org.eclipse.gef.examples.shapes:
>
> 1. Show plug-ins View
> 2. Chosse "org.eclipse.gef.examples.shapes" and import as source project
> 3. At navigator View, right click the shapes project and follow "Run As..."
> and then Eclipse Application
>
> 4. In the new Eclipse Platform, I create a new simple project named "a"
> 5. In the new Eclipse Platform, I create a new file with extention .shapes
> inside project "a"
>
> Then the Platform tried to invoke something, but returned error message:
> "Unable to create this part due to an internal error. Reason for the
> failure: The editor class could not be instantiated. This usually indicates
> that the editor's class name was mistyped in plugin.xml."
>
> Could someone help me?
>
> Regards,
> Miaohua Xu
>
> PS:
> The details of the error message are:
> "java.lang.ClassNotFoundException:
> org.eclipse.gef.examples.shapes.ShapesEditor
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:403)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:350)
> at
> org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass(AbstractClassLoader.java:74)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:275)
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1259)
> at
> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:152)
> at
> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:142)
> at
> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:129)
> at
> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 48)
> at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:239)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
> at
> org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:235)
> at
> org.eclipse.ui.internal.registry.EditorDescriptor.createEdit or(EditorDescriptor.java:252)
> at org.eclipse.ui.internal.EditorManager.createPart(EditorManag er.java:803)
> at
> org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:535)
> at
> org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:357)
> at
> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:559)
> at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:26 6)
> at
> org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:126)
> at
> org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:268)
> 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:391)
> at
> org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1064)
> at org.eclipse.ui.internal.PartStack.setSelection(PartStack.jav a:1013)
> at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:12 22)
> at org.eclipse.ui.internal.PartStack.add(PartStack.java:406)
> at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:109 )
> at
> org.eclipse.ui.internal.EditorSashContainer.addEditor(Editor SashContainer.java:60)
> at
> org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorA reaHelper.java:212)
> at
> org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAre aHelper.java:202)
> at
> org.eclipse.ui.internal.EditorManager.createEditorTab(Editor Manager.java:719)
> at
> org.eclipse.ui.internal.EditorManager.openEditorFromDescript or(EditorManager.java:631)
> at org.eclipse.ui.internal.EditorManager.openEditor(EditorManag er.java:594)
> at
> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2254)
> at
> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2185)
> at org.eclipse.ui.internal.WorkbenchPage.access$8(WorkbenchPage .java:2177)
> at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.ja va:2163)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
> at
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2158)
> at
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2140)
> at org.eclipse.ui.ide.IDE.openEditor(IDE.java:371)
> at org.eclipse.ui.ide.IDE.openEditor(IDE.java:334)
> at
> org.eclipse.ui.wizards.newresource.BasicNewFileResourceWizar d.performFinish(BasicNewFileResourceWizard.java:100)
> at
> org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:676)
> at
> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:349)
> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:556)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:89)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2921)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2554)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:809 )
> at org.eclipse.jface.window.Window.open(Window.java:787)
> at
> org.eclipse.ui.internal.actions.NewWizardShortcutAction.run( NewWizardShortcutAction.java:110)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:538)
> at
> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
> at
> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2921)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2554)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1601)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1565)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:315)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
> at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
> at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:230)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:371)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:160)
> 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 org.eclipse.core.launcher.Main.invokeFramework(Main.java:330 )
> at org.eclipse.core.launcher.Main.basicRun(Main.java:274)
> at org.eclipse.core.launcher.Main.run(Main.java:977)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
>
>

Goto the plugin.xml and make sure "Export entire library" is set instead
of the subset of packages. I think this is the problem if I vaguely
remember :)

Cheers,

~ Chris
Re: Got "The editor class could not be instantiated" when running org.eclipse.gef.examples [message #182445 is a reply to message #182438] Wed, 25 May 2005 02:13 Go to previous message
victor fiu is currently offline victor fiuFriend
Messages: 37
Registered: July 2009
Member
Thank you for your reply!

I have solved the problem by creating a .shapes file in current project
without launching new application, the Eclipse invoked the Shapes Editor
automatically.

Thanks,
Miaohua Xu

"Chris Aniszczyk" <none@us.ibm.com> wrote in message
news:d70enm$736$1@news.eclipse.org...
> Miaohua Xu wrote:
>> Hi,
>>
>> My system is WinXP + Eclipse SDK 3.1M7 + GEF 3.1M7.
>> Here is what I did to run org.eclipse.gef.examples.shapes:
>>
>> 1. Show plug-ins View
>> 2. Chosse "org.eclipse.gef.examples.shapes" and import as source project
>> 3. At navigator View, right click the shapes project and follow "Run
>> As..." and then Eclipse Application
>>
>> 4. In the new Eclipse Platform, I create a new simple project named "a"
>> 5. In the new Eclipse Platform, I create a new file with extention
>> .shapes inside project "a"
>>
>> Then the Platform tried to invoke something, but returned error message:
>> "Unable to create this part due to an internal error. Reason for the
>> failure: The editor class could not be instantiated. This usually
>> indicates that the editor's class name was mistyped in plugin.xml."
>>
>> Could someone help me?
>>
>> Regards,
>> Miaohua Xu
>>
>> PS:
>> The details of the error message are:
>> "java.lang.ClassNotFoundException:
>> org.eclipse.gef.examples.shapes.ShapesEditor
>> at
>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:403)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:350)
>> at
>> org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass(AbstractClassLoader.java:74)
>> at java.lang.ClassLoader.loadClass(Unknown Source)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:275)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
>> at
>> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1259)
>> at
>> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:152)
>> at
>> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:142)
>> at
>> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:129)
>> at
>> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 48)
>> at
>> org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:239)
>> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
>> at
>> org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:235)
>> at
>> org.eclipse.ui.internal.registry.EditorDescriptor.createEdit or(EditorDescriptor.java:252)
>> at
>> org.eclipse.ui.internal.EditorManager.createPart(EditorManag er.java:803)
>> at
>> org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:535)
>> at
>> org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:357)
>> at
>> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:559)
>> at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:26 6)
>> at
>> org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:126)
>> at
>> org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:268)
>> 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:391)
>> at
>> org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1064)
>> at org.eclipse.ui.internal.PartStack.setSelection(PartStack.jav a:1013)
>> at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:12 22)
>> at org.eclipse.ui.internal.PartStack.add(PartStack.java:406)
>> at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:109 )
>> at
>> org.eclipse.ui.internal.EditorSashContainer.addEditor(Editor SashContainer.java:60)
>> at
>> org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorA reaHelper.java:212)
>> at
>> org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAre aHelper.java:202)
>> at
>> org.eclipse.ui.internal.EditorManager.createEditorTab(Editor Manager.java:719)
>> at
>> org.eclipse.ui.internal.EditorManager.openEditorFromDescript or(EditorManager.java:631)
>> at
>> org.eclipse.ui.internal.EditorManager.openEditor(EditorManag er.java:594)
>> at
>> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2254)
>> at
>> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2185)
>> at
>> org.eclipse.ui.internal.WorkbenchPage.access$8(WorkbenchPage .java:2177)
>> at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.ja va:2163)
>> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
>> at
>> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2158)
>> at
>> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2140)
>> at org.eclipse.ui.ide.IDE.openEditor(IDE.java:371)
>> at org.eclipse.ui.ide.IDE.openEditor(IDE.java:334)
>> at
>> org.eclipse.ui.wizards.newresource.BasicNewFileResourceWizar d.performFinish(BasicNewFileResourceWizard.java:100)
>> at
>> org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:676)
>> at
>> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:349)
>> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:556)
>> at
>> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:89)
>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
>> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2921)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2554)
>> at org.eclipse.jface.window.Window.runEventLoop(Window.java:809 )
>> at org.eclipse.jface.window.Window.open(Window.java:787)
>> at
>> org.eclipse.ui.internal.actions.NewWizardShortcutAction.run( NewWizardShortcutAction.java:110)
>> at org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
>> at
>> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:538)
>> at
>> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
>> at
>> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
>> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2921)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2554)
>> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1601)
>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1565)
>> at
>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:315)
>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
>> at
>> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
>> at
>> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:230)
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:371)
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:160)
>> 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 org.eclipse.core.launcher.Main.invokeFramework(Main.java:330 )
>> at org.eclipse.core.launcher.Main.basicRun(Main.java:274)
>> at org.eclipse.core.launcher.Main.run(Main.java:977)
>> at org.eclipse.core.launcher.Main.main(Main.java:952)
>>
>>
>
> Goto the plugin.xml and make sure "Export entire library" is set instead
> of the subset of packages. I think this is the problem if I vaguely
> remember :)
>
> Cheers,
>
> ~ Chris
Previous Topic:Checking out GEF examples
Next Topic:Edit policy not used by DelayedDirectEditHelper?
Goto Forum:
  


Current Time: Fri Dec 13 02:58:46 GMT 2024

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

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

Back to the top