Forum Discussion

kgcounts's avatar
kgcounts
New Contributor
13 years ago

soapUI 4.0.1 eclipse plugin getting NoSuchMethodError

soapUI 4.0.1 eclipse plugin using JRE 1.6.0_26 on Windows 7 laptop getting error when creating project. I have verified that JAVA_HOME uses same JRE. The standalone version works fine. Any help appreciated!!!

Wed Dec 14 17:19:28 GMT 2011:ERROR:java.lang.NoSuchMethodError: javax.swing.JDialog.getModalityType()Ljava/awt/Dialog$ModalityType;
java.lang.NoSuchMethodError: javax.swing.JDialog.getModalityType()Ljava/awt/Dialog$ModalityType;
at com.eviware.x.impl.swing.JFormDialog.show(JFormDialog.java:189)
at com.eviware.soapui.impl.actions.NewWsdlProjectAction.perform(NewWsdlProjectAction.java:105)
at com.eviware.soapui.impl.actions.NewWsdlProjectAction.perform(NewWsdlProjectAction.java:52)
at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:89)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1778)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
  • kgcounts's avatar
    kgcounts
    New Contributor
    DO NOT INSTALL STS in the C:/Program Files directory on a Windows 7 box. Microsoft has made changes to the Program Files directory to make a virtual copy of any file changes. So, if you try to change the sts.ini settings, it really makes a copy of the file in a virtual directory and the application doesn’t recognize it.
    My original installation was pointed to a SUN JRE that was an older version. Once I moved my STS installation outside the Program Files directory, I was able to correct the sts.ini vm path to use the correct JRE.