2 Replies Latest reply on Mar 23, 2005 6:00 PM by hdupre

    Unable to open ejb-jar.xml or any xml! VerifyError

      JVM 1.4.x, Eclipse 3.1.0, JBoss IDE [both 1.4 and 1.5] gives this problem while trying to edit or open an xml file.

      Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".


      java.lang.VerifyError: (class: org/jboss/ide/eclipse/jdt/xml/ui/editors/XMLEditor, method: validateXML signature: ()V) Incompatible object argument for function call
      at java.lang.Class.getDeclaredConstructors0(Native Method)
      at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
      at java.lang.Class.getConstructor0(Unknown Source)
      at java.lang.Class.newInstance0(Unknown Source)
      at java.lang.Class.newInstance(Unknown Source)
      at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:175)
      at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:152)
      at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:139)
      at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:48)
      at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:213)
      at org.eclipse.ui.internal.registry.EditorDescriptor.createEditor(EditorDescriptor.java:249)
      at org.eclipse.ui.internal.EditorManager$5.run(EditorManager.java:912)
      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.createPart(EditorManager.java:910)
      at org.eclipse.ui.internal.EditorManager.openInternalEditor(EditorManager.java:896)
      at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:654)
      at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:640)
      at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2312)
      at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2244)
      at org.eclipse.ui.internal.WorkbenchPage.access$8(WorkbenchPage.java:2236)
      at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2222)
      at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
      at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2217)
      at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2202)
      at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:276)
      at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.java:268)
      at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:176)
      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)

        • 1. Re: Unable to open ejb-jar.xml or any xml! VerifyError
          liebner

          Hi,
          I assume you are using the Milestone 5 Release of Eclipse. I got the same exception with that one.

          Anyone on this list: When will the JBoss IDE be tested/compiled against the new release? The Eclipse API must have been changed between M4 and M5.

          Greetings,
          Stefan Liebner

          • 2. Re: Unable to open ejb-jar.xml or any xml! VerifyError
            hdupre

             

            "liebner" wrote:
            Hi,
            I assume you are using the Milestone 5 Release of Eclipse. I got the same exception with that one.

            Anyone on this list: When will the JBoss IDE be tested/compiled against the new release? The Eclipse API must have been changed between M4 and M5.

            Greetings,
            Stefan Liebner


            Actually it is even worse than that... I just downloaded all the plugins from the CVS and there are several classes and/or plugins missing. It is simply impossible to build the plugins.
            The XMLEditor imports org.jboss.ide.eclipse.jdt.ui.editors which is not in any plugin. Same for import org.jboss.ide.eclipse.jdt.ui.text.AbstractTextTools.
            Did someone forgot to upload code to the CVS?

            Henri.