facebook

MyEclipseIDE ant editor Error

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #230479 Reply

    Hi All,

    I’m using MyEclipse IDE 3.1 M7 and I’m getting this error in my ant editor:

    Unable to create editor ID org.eclipse.ant.ui.internal.editor.AntEditor: Cannot create file buffer.

    It comes to a point where I no longer can edit a build.xml file within eclipse. Could someone please help me out on how to resolve this issue.

    *** Stack Trace *****

    
    
    org.eclipse.core.runtime.CoreException: Cannot create file buffer.
    at org.eclipse.core.internal.filebuffers.TextFileBufferManager.connect(TextFileBufferManager.java:93)
    at org.eclipse.ui.editors.text.TextFileDocumentProvider.createFileInfo(TextFileDocumentProvider.java:542)
    at org.eclipse.ant.internal.ui.editor.text.AntEditorDocumentProvider.createFileInfo(AntEditorDocumentProvider.java:77)
    at org.eclipse.ui.editors.text.TextFileDocumentProvider.connect(TextFileDocumentProvider.java:463)
    at org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEditor.java:2993)
    at org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.java:173)
    at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetInput(AbstractDecoratedTextEditor.java:1253)
    at org.eclipse.ui.editors.text.TextEditor.doSetInput(TextEditor.java:262)
    at org.eclipse.ant.internal.ui.editor.AntEditor.doSetInput(AntEditor.java:858)
    at org.eclipse.ui.texteditor.AbstractTextEditor$16.run(AbstractTextEditor.java:2345)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:346)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:291)
    at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:624)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:621)
    at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:1975)
    at org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:2363)
    at org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:2390)
    at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:857)
    at org.eclipse.ui.internal.EditorManager.busyRestoreEditorHelper(EditorManager.java:1223)
    at org.eclipse.ui.internal.EditorManager.busyRestoreEditor(EditorManager.java:1102)
    at org.eclipse.ui.internal.EditorManager$7.run(EditorManager.java:1064)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.ui.internal.EditorManager.restoreEditor(EditorManager.java:1062)
    at org.eclipse.ui.internal.EditorManager$Editor.getEditor(EditorManager.java:1648)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2238)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2165)
    at org.eclipse.ui.internal.WorkbenchPage.access$7(WorkbenchPage.java:2157)
    at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2143)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2138)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2123)
    at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:278)
    at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.java:270)
    at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:177)
    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.java:2894)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2527)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1570)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1534)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:306)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:156)
    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:315)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:268)
    at org.eclipse.core.launcher.Main.run(Main.java:942)
    at org.eclipse.core.launcher.Main.main(Main.java:926)
    
    

    [/b]

    #230487 Reply

    Riyad Kalla
    Member

    Moving to OT > Soft Dev, this is all Eclipse.

    Additionally, check our your Help > About menu, what is the Build ID and version of Eclipse you are running? Have you tried restarting Eclipse using the -clean command line argument as outlined here: http://www.myeclipseide.com/FAQ+index-myfaq-yes-id_cat-30.html#343

    #230539 Reply

    I think this worked. The errors aren’t showing up anymore in the PDE Runtime Error Log view.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: MyEclipseIDE ant editor Error

You must be logged in to post in the forum log in