Forum Discussion

Mike_Stehlik's avatar
16 years ago

Exception in AWT-EventQueue-0 when running w/ JDK 1.5-1.6 in Centos 5

After loading a WSDL, then attempting to setup a request which contains further beans as a param, clicking Add to populate the Form inside the request for the new bean results in NullPointerException:

09:24:30,455 DEBUG [AbstractDefinitionContext] Loaded Definition: ok
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at com.eviware.soapui.support.editor.views.xml.form2.xml.SoapEncArrayXmlEditorParticle.addNewChildElement(SourceFile:58)
        at com.eviware.soapui.support.editor.views.xml.form2.xml.ContainerXmlEditorParticle.addNew(SourceFile:103)
        at com.eviware.soapui.support.editor.views.xml.form2.components.ContainerEditorComponent$AddItemAction.actionPerformed(SourceFile:177)
        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.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
        at java.awt.Component.processMouseEvent(Component.java:5517)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
        at java.awt.Component.processEvent(Component.java:5282)
        at java.awt.Container.processEvent(Container.java:1966)
        at java.awt.Component.dispatchEventImpl(Component.java:3984)
        at java.awt.Container.dispatchEventImpl(Container.java:2024)
        at java.awt.Component.dispatchEvent(Component.java:3819)
        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:1791)
        at java.awt.Component.dispatchEvent(Component.java:3819)
        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)

Expected:
In this case the form should have populated a template for the bean in question inside the current request form, but in every case this exception is raised and no new forms are drawn for the bean.  In some cases, the XML structure is edited for the bean with blank params, and in some cases nothing is added to the XML (tested by viewing XML output after clicking Add).

Java Versions Tested:
java version "1.5.0_15"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)

java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)

Kernel:
Centos 5 64-bit, 2.6.18-8.1.4.el5 #1 SMP Thu May 17 03:16:52 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux

Thanks.