XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0-M2
    • 3.0-M2
    • eclipse-plugin
    • None

    Description

      I'm seeing the following exception when trying for example to open an empty xml file. The xml file only has prolog.

      org.eclipse.ui.PartInitException: ImportDeploymentPlanOperation.execute(): Error converting plan: /Jira21/WebContent/WEB-INF/geronimo-web.xml
      at org.apache.geronimo.st.ui.editors.AbstractGeronimoJAXBBasedEditor.init(AbstractGeronimoJAXBBasedEditor.java:210)
      at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:798)
      at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:647)
      at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
      at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
      at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:289)
      at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2863)
      at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2768)
      at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2760)
      at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2711)
      at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2707)
      at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2691)
      at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2682)
      at org.eclipse.ui.ide.IDE.openEditor(IDE.java:651)
      at org.eclipse.ui.ide.IDE.openEditor(IDE.java:610)

      This should be handled in a nicer way.

      Attachments

        Activity

          People

            gawor@mcs.anl.gov Jarek Gawor
            gawor@mcs.anl.gov Jarek Gawor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: