- This topic has 1 reply, 2 voices, and was last updated 21 years ago by
Scott Anderson.
-
AuthorPosts
-
Charles HasegawaMemberEclipse Version: 3.0.0 (m2) Build id: 200307181617
MyEclipse 3.6Has anyone else run into this message while trying to open an ANT build file?
“An error has occurred when creating this editor”I can consistantly get this to occur at any point after I have opened a document in the MyEclipse jsp editor. For instance, I opened and closed (no changes, no saves) a build file. I then open and close a JSP page (again, no changes or saving). When I try to open the build file again afterwords, I get the error message and need to restart Eclipse to get the ant editor to work.
I have no issues with other editors, nor does this happen after opening any of the other editors (I opened XML, properties, and java files).
I get the following in the .log file :
!SESSION Sep 09, 2003 14:28:15.265 --------------------------------------------- java.version=1.4.2 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments: -os win32 -ws win32 -arch x86 -install file:C:/apps/eclipse3/ !ENTRY org.eclipse.ui.workbench 4 2 Sep 09, 2003 14:28:15.265 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench". !STACK 0 java.lang.NullPointerException at org.eclipse.ui.texteditor.MarkerRulerAction.update(MarkerRulerAction.java:172) at org.eclipse.ui.texteditor.AbstractRulerActionDelegate.update(AbstractRulerActionDelegate.java:112) at org.eclipse.ui.texteditor.AbstractRulerActionDelegate.setActiveEditor(AbstractRulerActionDelegate.java:84) at org.eclipse.ui.internal.EditorPluginAction.editorChanged(EditorPluginAction.java:65) at org.eclipse.ui.internal.EditorPluginAction.<init>(EditorPluginAction.java:31) at org.eclipse.ui.internal.ActionDescriptor.createAction(ActionDescriptor.java:196) at org.eclipse.ui.internal.ActionDescriptor.<init>(ActionDescriptor.java:128) at org.eclipse.ui.internal.ViewerActionBuilder.createActionDescriptor(ViewerActionBuilder.java:51) at org.eclipse.ui.internal.PluginActionBuilder.readElement(PluginActionBuilder.java:144) at org.eclipse.ui.internal.ViewerActionBuilder.readElement(ViewerActionBuilder.java:97) at org.eclipse.ui.internal.registry.RegistryReader.readElements(RegistryReader.java:136) at org.eclipse.ui.internal.registry.RegistryReader.readElementChildren(RegistryReader.java:126) at org.eclipse.ui.internal.PluginActionBuilder.readElement(PluginActionBuilder.java:127) at org.eclipse.ui.internal.ViewerActionBuilder.readElement(ViewerActionBuilder.java:97) at org.eclipse.ui.internal.registry.RegistryReader.readElements(RegistryReader.java:136) at org.eclipse.ui.internal.registry.RegistryReader.readExtension(RegistryReader.java:145) at org.eclipse.ui.internal.registry.RegistryReader.readRegistry(RegistryReader.java:162) at org.eclipse.ui.internal.PluginActionBuilder.readContributions(PluginActionBuilder.java:100) at org.eclipse.ui.internal.ViewerActionBuilder.readViewerContributions(ViewerActionBuilder.java:113) at org.eclipse.ui.internal.PopupMenuExtender.readStaticActions(PopupMenuExtender.java:97) at org.eclipse.ui.internal.PopupMenuExtender.<init>(PopupMenuExtender.java:50) at org.eclipse.ui.internal.PartSite.registerContextMenu(PartSite.java:198) at org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:2120) at org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:53) at org.eclipse.ui.editors.text.TextEditor.createPartControl(TextEditor.java:1074) at org.eclipse.ui.internal.PartPane$4.run(PartPane.java:141) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1015) at org.eclipse.core.runtime.Platform.run(Platform.java:420) at org.eclipse.ui.internal.PartPane.createChildControl(PartPane.java:137) at org.eclipse.ui.internal.PartPane.createControl(PartPane.java:186) at org.eclipse.ui.internal.EditorWorkbook.createPage(EditorWorkbook.java:404) at org.eclipse.ui.internal.EditorWorkbook.add(EditorWorkbook.java:123) at org.eclipse.ui.internal.EditorArea.addEditor(EditorArea.java:55) at org.eclipse.ui.internal.EditorPresentation.openEditor(EditorPresentation.java:351) at org.eclipse.ui.internal.EditorManager$2.run(EditorManager.java:585) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:84) at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:574) at org.eclipse.ui.internal.EditorManager.openInternalEditor(EditorManager.java:668) at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:459) at org.eclipse.ui.internal.EditorManager.openEditorFromInput(EditorManager.java:333) at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:424) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2071) at org.eclipse.ui.internal.WorkbenchPage.access$6(WorkbenchPage.java:2019) at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2006) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:84) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2001) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:1902) at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:133) at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:106) at org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open(OpenActionUtil.java:47) at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:158) at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:147) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:194) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:172) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:325) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$5.open(PackageExplorerPart.java:323) at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:392) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1015) at org.eclipse.core.runtime.Platform.run(Platform.java:420) at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:390) at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:600) at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:689) at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:209) at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:204) at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:233) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:848) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2188) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1878) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1680) at org.eclipse.ui.internal.Workbench.run(Workbench.java:1663) at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461) 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.basicRun(Main.java:291) at org.eclipse.core.launcher.Main.run(Main.java:747) at org.eclipse.core.launcher.Main.main(Main.java:583)
Scott AndersonParticipantSorry you’re experiencing this issue. This problem is why we quickly released version 3.6.1. There was a problem in the JSP editor that broke subsequent XML editing. To fix the problem, you need to upgrade to 3.6.1.
Sometime tonight we’ll be releasing 3.6.2 which has another round of fixes in it. However, it will only work with 3.0M3. If you don’t want to upgrade to M3, I’d upgrade to 3.6.1 immediately. On the other hand, if you want to update to M3, then wait for 3.6.2.
–Scott
MyEclipse Support -
AuthorPosts