3 Replies Latest reply on Jul 3, 2007 11:07 AM by Peter Flynn (Adobe)

    Internal Error: The editor class could not be instantiated

    seantomas
      I had a working FB3 project that started throwing this error whenever I try to open a file to edit it:

      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.

      Everything was fine until I closed FB3 and reopened it. Then this started happening.

      Any help would be greatly appreciated!
      Shaun

      When I click details, the stack trace is as follows:

      java.lang.ClassNotFoundException: com.adobe.flexbuilder.editors.mxml.MXMLEditor
      at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:402)
      at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
      at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.jav a:83)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:278)
      at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)
      at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:124 5)
      at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(Re gistryStrategyOSGI.java:147)
      at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionR egistry.java:759)
      at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(Configu rationElement.java:243)
      at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(C onfigurationElementHandle.java:51)
      at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:242)
      at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
      at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:238)
      at org.eclipse.ui.internal.registry.EditorDescriptor.createEditor(EditorDescriptor.java:231)
      at org.eclipse.ui.internal.EditorManager.createPart(EditorManager.java:909)
      at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:549)
      at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
      at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
      at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:214)
      at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2595)
      at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2528)
      at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2520)
      at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2505)
      at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
      at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2500)
      at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2485)
      at org.eclipse.ui.ide.IDE.openEditor(IDE.java:388)
      at org.eclipse.ui.ide.IDE.openEditor(IDE.java:350)
      at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:98)
      at org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:98)
      at org.eclipse.ui.views.navigator.OpenActionGroup.runDefaultAction(OpenActionGroup.java:125)
      at org.eclipse.ui.views.navigator.MainActionGroup.runDefaultAction(MainActionGroup.java:328)
      at org.eclipse.ui.views.navigator.ResourceNavigator.handleOpen(ResourceNavigator.java:679)
      at org.eclipse.ui.views.navigator.ResourceNavigator$6.open(ResourceNavigator.java:434)
      at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:817)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
      at org.eclipse.core.runtime.Platform.run(Platform.java:843)
      at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
      at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
      at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:815)
      at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1069)
      at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1168)
      at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:249)
      at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:243)
      at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:283)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
      at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:92)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:68)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
      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:336)
      at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
      at org.eclipse.core.launcher.Main.run(Main.java:977)
      at org.eclipse.core.launcher.Main.main(Main.java:952)