facebook

unable to create part on XML files

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #227970 Reply

    Rob Reece
    Member

    Generally, I keep two XML files open in the editor. On occasion, when I click the tab, I get “unable to create part: <filename>”. After reading some of the other posts about this (mostly on JSP), I have turned off XML validation to see if that helps. Thought I would post anyway to get other opinions.

    Rob

    What operating system and version are you running? WinXP SP2

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

    – Was Eclipse freshly installed for MyEclipse?
    yes

    – If not, was it upgraded to its current version using the update manager?
    n/a

    – Are any other external plugins installed?
    Yes, but not many.

    – How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*
    8

    What MyEclipse version are you using? (Help > About Eclipse Platform > Features)
    3.8.4

    What JDK version are you using to run Eclipse? (java -version)
    java version “1.4.2_06”

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

    What steps did you take that resulted in the issue?

    What application server are you using?
    Tomcat 4.1.30

    Are there any exceptions in the Eclipse log file? (<workspace>/.metadata/.log)
    !ENTRY org.eclipse.ui.workbench 4 2 2005-04-12 12:40:10.484
    !MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.ui.workbench”.
    !STACK 0
    An error has occurred when initializing the input for the the editor’s source page.
    at com.ibm.xmleditor.internal.XMLMultiPageEditorPart.createPages(Unknown Source)
    at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:227)
    at org.eclipse.ui.internal.PartPane$2.run(PartPane.java:148)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1015)
    at org.eclipse.core.runtime.Platform.run(Platform.java:757)
    at org.eclipse.ui.internal.PartPane.doCreateChildControl(PartPane.java:144)
    at org.eclipse.ui.internal.PartPane.createChildControl(PartPane.java:349)
    at org.eclipse.ui.internal.EditorManager$9.run(EditorManager.java:1123)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1015)
    at org.eclipse.core.runtime.Platform.run(Platform.java:757)
    at org.eclipse.ui.internal.EditorManager.busyRestoreEditor(EditorManager.java:1079)
    at org.eclipse.ui.internal.EditorManager$8.run(EditorManager.java:1071)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.ui.internal.EditorManager.restoreEditor(EditorManager.java:1069)
    at org.eclipse.ui.internal.EditorManager$Editor.getEditor(EditorManager.java:1487)
    at org.eclipse.ui.internal.EditorManager$Editor.getPart(EditorManager.java:1478)
    at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:329)
    at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:126)
    at org.eclipse.ui.internal.presentations.newapi.PresentablePartFolder.select(PresentablePartFolder.java:266)
    at org.eclipse.ui.internal.presentations.newapi.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
    at org.eclipse.ui.internal.presentations.newapi.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:381)
    at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1051)
    at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1009)
    at org.eclipse.ui.internal.PartStack.presentationSelectionChanged(PartStack.java:725)
    at org.eclipse.ui.internal.PartStack.access$0(PartStack.java:711)
    at org.eclipse.ui.internal.PartStack$1.selectPart(PartStack.java:93)
    at org.eclipse.ui.internal.presentations.newapi.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:116)
    at org.eclipse.ui.internal.presentations.newapi.AbstractTabFolder.fireEvent(AbstractTabFolder.java:263)
    at org.eclipse.ui.internal.presentations.newapi.AbstractTabFolder.fireEvent(AbstractTabFolder.java:272)
    at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1)
    at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$2.handleEvent(DefaultTabFolder.java:81)
    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.Widget.sendEvent(Widget.java:866)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:851)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:659)
    at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3141)
    at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1925)
    at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:287)
    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:2908)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2541)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1612)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1578)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:293)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:333)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:150)
    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:268)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:260)
    at org.eclipse.core.launcher.Main.run(Main.java:887)
    at org.eclipse.core.launcher.Main.main(Main.java:871)

    #227972 Reply

    Rob Reece
    Member

    I just restarted Eclipse and when it started, I got the “unable to create part: <file.xml>” message. These are the exceptions from the log. Also the “XML Schema Validator” and the “XML Validator” are magically turned back on after I turned them off (maybe because Eclipse crashed — doing something else — and I had to to kill it).

    !SESSION 2005-04-12 15:01:42.323 ———————————————–
    eclipse.buildId=I20050219-1500
    java.version=1.4.2_06
    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 -data e:\PR

    !ENTRY com.ibm.etools.validation.xml 1 1 2005-04-12 15:01:42.323
    !MESSAGE SAX Error while validating: file:///e:/PR/prweb/src/reecr-prlogging.xml
    !STACK 0
    java.lang.LinkageError: Class org/xml/sax/XMLReader violates loader constraints
    at com.genuitec.eclipse.integration.Integrator.xmlValidator_NA(Unknown Source)
    at com.ibm.etools.validation.xml.internal.XMLValidator.validate(Unknown Source)
    at com.ibm.etools.validation.xml.internal.ui.eclipse.ValidateAction$1.run(Unknown Source)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1702)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1722)
    at com.ibm.etools.validation.xml.internal.ui.eclipse.ValidateAction.validate(Unknown Source)
    at com.ibm.etools.validation.xml.internal.ui.eclipse.ValidateAction.run(Unknown Source)
    at com.ibm.etools.validation.xml.internal.ui.eclipse.Validator.validate(Unknown Source)
    at com.ibm.etools.validation.xml.internal.ui.eclipse.Validator.validateIfNeeded(Unknown Source)
    at com.ibm.etools.validation.xml.internal.ui.eclipse.Validator.validate(Unknown Source)
    at com.ibm.etools.validation.ValidatorLauncher.start(Unknown Source)
    at com.ibm.etools.validate.ValidationOperation.launchValidator(Unknown Source)
    at com.ibm.etools.validate.ValidationOperation.internalValidate(Unknown Source)
    at com.ibm.etools.validate.ValidationOperation.validate(Unknown Source)
    at com.ibm.etools.validate.ValidationOperation.run(Unknown Source)
    at com.ibm.etools.validate.ValidationBuilder.build(Unknown Source)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:581)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1015)
    at org.eclipse.core.runtime.Platform.run(Platform.java:757)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:160)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:198)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:227)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1015)
    at org.eclipse.core.runtime.Platform.run(Platform.java:757)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:230)
    at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:249)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:278)
    at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:138)
    at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:199)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:67)

    !ENTRY org.eclipse.ui.workbench 4 2 2005-04-12 15:02:10.167
    !MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.ui.workbench”.
    !STACK 0
    An error has occurred when initializing the input for the the editor’s source page.
    at com.ibm.xmleditor.internal.XMLMultiPageEditorPart.createPages(Unknown Source)
    at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:227)
    at org.eclipse.ui.internal.PartPane$2.run(PartPane.java:148)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1015)
    at org.eclipse.core.runtime.Platform.run(Platform.java:757)
    at org.eclipse.ui.internal.PartPane.doCreateChildControl(PartPane.java:144)
    at org.eclipse.ui.internal.PartPane.createChildControl(PartPane.java:349)
    at org.eclipse.ui.internal.EditorManager$9.run(EditorManager.java:1123)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1015)
    at org.eclipse.core.runtime.Platform.run(Platform.java:757)
    at org.eclipse.ui.internal.EditorManager.busyRestoreEditor(EditorManager.java:1079)
    at org.eclipse.ui.internal.EditorManager$8.run(EditorManager.java:1071)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.ui.internal.EditorManager.restoreEditor(EditorManager.java:1069)
    at org.eclipse.ui.internal.EditorManager$Editor.getEditor(EditorManager.java:1487)
    at org.eclipse.ui.internal.EditorManager$Editor.getPart(EditorManager.java:1478)
    at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:329)
    at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:126)
    at org.eclipse.ui.internal.presentations.newapi.PresentablePartFolder.select(PresentablePartFolder.java:266)
    at org.eclipse.ui.internal.presentations.newapi.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
    at org.eclipse.ui.internal.presentations.newapi.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:381)
    at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1051)
    at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1009)
    at org.eclipse.ui.internal.PartStack.presentationSelectionChanged(PartStack.java:725)
    at org.eclipse.ui.internal.PartStack.access$0(PartStack.java:711)
    at org.eclipse.ui.internal.PartStack$1.selectPart(PartStack.java:93)
    at org.eclipse.ui.internal.presentations.newapi.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:116)
    at org.eclipse.ui.internal.presentations.newapi.AbstractTabFolder.fireEvent(AbstractTabFolder.java:263)
    at org.eclipse.ui.internal.presentations.newapi.AbstractTabFolder.fireEvent(AbstractTabFolder.java:272)
    at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1)
    at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$2.handleEvent(DefaultTabFolder.java:81)
    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.Widget.sendEvent(Widget.java:866)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:851)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:659)
    at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3141)
    at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1925)
    at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:287)
    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:2908)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2541)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1612)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1578)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:293)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:333)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:150)
    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:268)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:260)
    at org.eclipse.core.launcher.Main.run(Main.java:887)
    at org.eclipse.core.launcher.Main.main(Main.java:871)

    #227974 Reply

    Rob Reece
    Member

    And so I got the XML Validation settings to take and when I opened Eclipse this time, I only get one of the above exceptions:

    Rob

    !SESSION 2005-04-12 15:14:29.176 ———————————————–
    eclipse.buildId=I20050219-1500
    java.version=1.4.2_06
    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 -data e:\PR

    !ENTRY org.eclipse.ui.workbench 4 2 2005-04-12 15:14:29.176
    !MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.ui.workbench”.
    !STACK 0
    An error has occurred when initializing the input for the the editor’s source page.
    at com.ibm.xmleditor.internal.XMLMultiPageEditorPart.createPages(Unknown Source)
    at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:227)
    at org.eclipse.ui.internal.PartPane$2.run(PartPane.java:148)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1015)
    at org.eclipse.core.runtime.Platform.run(Platform.java:757)
    at org.eclipse.ui.internal.PartPane.doCreateChildControl(PartPane.java:144)
    at org.eclipse.ui.internal.PartPane.createChildControl(PartPane.java:349)
    at org.eclipse.ui.internal.PartPane.createControl(PartPane.java:218)
    at org.eclipse.ui.internal.EditorManager$9.run(EditorManager.java:1119)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1015)
    at org.eclipse.core.runtime.Platform.run(Platform.java:757)
    at org.eclipse.ui.internal.EditorManager.busyRestoreEditor(EditorManager.java:1079)
    at org.eclipse.ui.internal.EditorManager$8.run(EditorManager.java:1071)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.ui.internal.EditorManager.restoreEditor(EditorManager.java:1069)
    at org.eclipse.ui.internal.EditorManager.restoreEditorState(EditorManager.java:1711)
    at org.eclipse.ui.internal.EditorManager.restoreState(EditorManager.java:1023)
    at org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:2542)
    at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1711)
    at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1453)
    at org.eclipse.ui.internal.Workbench.access$9(Workbench.java:1409)
    at org.eclipse.ui.internal.Workbench$14.run(Workbench.java:1312)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1015)
    at org.eclipse.core.runtime.Platform.run(Platform.java:757)
    at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1246)
    at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:171)
    at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:711)
    at org.eclipse.ui.internal.Workbench.init(Workbench.java:918)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1554)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:293)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:333)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:150)
    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:268)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:260)
    at org.eclipse.core.launcher.Main.run(Main.java:887)
    at org.eclipse.core.launcher.Main.main(Main.java:871)

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: unable to create part on XML files

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