LinaLabs

News Geek on the Block

SoapUI on Ubuntu 15.10 – NPE trying to add an assertion on a SOAP or HTTP request

I’m using SoapUI 5.2.1 to create a test case about SOAP and HTTP requests.
I’m working on Ubuntu 15.10 64bits. SoapUI is powered by OpenJDK 7u91-2.6.3-0ubuntu0.15.10.1. The problem occurs also with SoapUI 5.0.0 or 5.2.0.

When trying to add and assertion on a SOAP or HTTP request of my test case, I get the following NullPointerException in the xterm where I had started SoapUI. The NPE occurs when clicking on a assertion category (left part of the dialog box “Add assertion”):

Exception in thread "AWT-EventQueue-1" java.lang.NullPointerException
at com.eviware.soapui.impl.wsdl.panels.assertions.AddAssertionPanel$CategoryListRenderer.getTableCellRendererComponent(AddAssertionPanel.java:473)
at javax.swing.JTable$AccessibleJTable.getAccessibleChild(JTable.java:7044)
at javax.swing.JTable$AccessibleJTable.getAccessibleAt(JTable.java:7431)
at javax.swing.JTable$AccessibleJTable.valueChanged(JTable.java:6946)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:164)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:211)
at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:405)
at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:415)
at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:459)
....

If I switch my JVM to Oracle Java 8 (Oracle Java 7 is no more downloadable without an Oracle support account), the NPE disappear. I don’t known if the problem is due to something missing in OpenJDK, for example because of license compliance, or if the problem is due to Java 7 vs Java 8.

You can follow this problem in the SoapUI forum here: http://community.smartbear.com/t5/SoapUI-Open-Source/NPE-trying-to-add-an-assertion-on-a-HTTP-request/m-p/110745

One thought on “SoapUI on Ubuntu 15.10 – NPE trying to add an assertion on a SOAP or HTTP request

Leave a Reply

Your email address will not be published. Required fields are marked *


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>