facebook

XML Editor problems

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #228723 Reply

    qasim
    Member

    I have for sometime (various versions of MyEclipse) found that the XML Editor in design view is really unusable.

    First of all it doesn’t refresh, so if I use the arrow keys to scroll down the various key I will find that the value associated with the key will disappear and then not reappear until I do something that causes a refresh.

    Secondly it often seems to lock Eclipse completely.

    While I am an OSX user I have also found this to be the case on windoze.

    Can anyone shed some light on this?

    Q

    #228729 Reply

    Riyad Kalla
    Member

    Q, admitedly it isn’t one of the most used features so we don’t get any bug reports about it. I will file your findings for investigation however and see if we can track down what is going on.

    #230078 Reply

    qasim
    Member

    Is there any update on this?

    #230081 Reply

    Riyad Kalla
    Member

    Q,
    We did find some shortcommings with the behaviors and have planned updates for *all* the editors for our 5.0 release, however for 4.0 we were heads-down for months on pre-determine features and bugfixes while other lower priority items didn’t make the cut. I appologize for the delay.

    #230785 Reply

    mphellrung
    Member

    I’m getting the following error when trying to edit any .xml file:
    “Unable to create editor. This message may be due to a bug in the editor, not a problem with the file you are trying to edit. First close this error message and then use “Open With…” to open the file in a different editor. Reason for the failure: An error has occurred when initializing the input for the the editor’s source page.”
    Help!

    #230803 Reply

    Riyad Kalla
    Member

    First, you help us!

    Can you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some context so that we can determine if this is an installation issue, a configuration problem, or a bug. Thanks.

    #230820 Reply

    mphellrung
    Member

    What operating system and version are you running?
    win 2000 5.00.2195 sp4

    What Eclipse version and build id are you using? (Help > About Eclipse Platform)
    Version: 3.1.0
    Build id: I20050401-1645

    – Was Eclipse freshly installed for MyEclipse?
    yes
    – If not, was it upgraded to its current version using the update manager?
    na
    – Are any other external plugins installed?
    no
    – How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*

    What MyEclipse version are you using? (Help > About Eclipse Platform > Features)
    3.8.4+QF2-Betafor3.1m6

    What JDK version are you using to run Eclipse? (java -version)
    see below

    What JDK version are you using to launch your application server?
    na

    What steps did you take that resulted in the issue?
    right click on .xml file in java perspective – open with xml editor

    What application server are you using?
    na

    Are there any exceptions in the Eclipse log file? (<workspace>/.metadata/.log)

    !SESSION 2005-06-08 17:42:45.805 ———————————————–
    eclipse.buildId=I20050401-1645
    java.version=1.5.0_02
    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

    !ENTRY org.eclipse.ui 4 0 2005-06-08 17:42:45.825
    !MESSAGE Unable to create editor ID org.xmen.ui.text.XMLTextEditor: An error has occurred when initializing the input for the the editor’s source page.
    !STACK 0
    An error has occurred when initializing the input for the the editor’s source page.
    at com.ibm.xmleditor.internal.XMLMultiPageEditorPart.createPages(XMLMultiPageEditorPart.java:222)
    at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:241)
    at org.eclipse.ui.internal.EditorManager.busyRestoreEditorHelper(EditorManager.java:1237)
    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)

    !ENTRY org.eclipse.osgi 2005-06-08 18:09:39.846
    !MESSAGE Error while stopping “org.eclipse.webbrowser_13.8.4”.
    !STACK 0
    org.osgi.framework.BundleException: Exception in org.eclipse.webbrowser.internal.WebBrowserUIPlugin.stop() of bundle org.eclipse.webbrowser.
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:1051)
    at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:402)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.stop(AbstractBundle.java:410)
    at org.eclipse.core.runtime.adaptor.BundleStopper.basicStopBundles(BundleStopper.java:73)
    at org.eclipse.core.runtime.adaptor.BundleStopper.stopBundles(BundleStopper.java:62)
    at org.eclipse.core.runtime.adaptor.EclipseAdaptor.frameworkStopping(EclipseAdaptor.java:700)
    at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:486)
    at org.eclipse.osgi.framework.internal.core.SystemBundle$1.run(SystemBundle.java:172)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.NoSuchMethodError: com.genuitec.eclipse.integration.Integrator.webBrowserUIPlugin_1332()V
    at org.eclipse.webbrowser.internal.WebBrowserUIPlugin.stop(WebBrowserUIPlugin.java:92)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$3.run(BundleContextImpl.java:1035)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:1031)
    … 8 more
    Root exception:
    java.lang.NoSuchMethodError: com.genuitec.eclipse.integration.Integrator.webBrowserUIPlugin_1332()V
    at org.eclipse.webbrowser.internal.WebBrowserUIPlugin.stop(WebBrowserUIPlugin.java:92)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$3.run(BundleContextImpl.java:1035)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:1031)
    at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:402)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.stop(AbstractBundle.java:410)
    at org.eclipse.core.runtime.adaptor.BundleStopper.basicStopBundles(BundleStopper.java:73)
    at org.eclipse.core.runtime.adaptor.BundleStopper.stopBundles(BundleStopper.java:62)
    at org.eclipse.core.runtime.adaptor.EclipseAdaptor.frameworkStopping(EclipseAdaptor.java:700)
    at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:486)
    at org.eclipse.osgi.framework.internal.core.SystemBundle$1.run(SystemBundle.java:172)
    at java.lang.Thread.run(Unknown Source)

    #230821 Reply

    Riyad Kalla
    Member

    !ENTRY org.eclipse.ui 4 0 2005-06-08 17:42:45.825
    !MESSAGE Unable to create editor ID org.xmen.ui.text.XMLTextEditor: An error has occurred when initializing the input for the the editor’s source page.
    !STACK 0

    org.xmen is not part of MyEclipse and was removed back in the 3.7 build series, the fact that it is showing up in your stack trace means either you have it installed and are trying to open your XML files with a different editor instead of “MyEclipse XML Editor” OR you have many old versions of MyEclipse installed ontop of eachother.

    Quick way is to right click on the XML file, choose “Open With” and “MyEclipse XML Editor”, if that doesn’t work, I suggest a clean install of Eclipse 3.0.2 and MyEclipse 3.8.4 if you don’t need Java 5 functionality. If you need Java 5 functionality, then Eclipse 3.1M7 and the respective Beta release of MyEclipse (although there are anumber of known bugs).

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: XML Editor problems

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