Ask a Question

Cannot open some test suites

SOLVED
_Oliver_
Contributor

Cannot open some test suites

Hi,

I am using ReadyApi 2.7.0 with a SoapUI Pro license. The following occurs in the SoapUI Pro tab.

I have several projects opened and each project contains several test suites. Usually, if I double click one project, it opens a tab listing all the test suites within this project and I can run the test suites from this tab. But for some reasons, this doesn't work anymore for some projects. When I double click on these projects, nothing happens. No error message. Just nothing. The same occurs if I select a particular test suite within this project. I can only open a test case.

On some others projects, it works as it used to (the test sute editor opens)

I believe this started after upgrading to 2.7.0 (not 100% sure of this statement). Any idea of what could cause this issue ?

 

Edit : the "Error log" tab doesn't show anything.

18 REPLIES 18

But why is this issue marked as "solved" when it is not ?

I already contacted the support team and they have no solution so far, hence I'd like to keep this topic open and active instead of being marked as "solved"

Is it possible to mark this as "not solved" ? I'd like to avoid to create a new topic for the same issue...

nmrao
Champion Level 2

Now this is open (Removed "Solved" as per the request)


Regards,
Rao.

Hello,

I'm currently facing the same problem with ReadyAPI 2.8.0, some of my testSuites are not expanded when clicking on it (only when clicking on the '+') and I cannot get the data about the tests (labels, etc.)

 

However, when I click on the testSuite, I have log data in the ReadyAPI Log :

Fri Aug 30 09:59:22 CEST 2019: ERROR: Uncaught exception in Thread "AWT-EventQueue-0":
   java.lang.NullPointerException
   	at com.eviware.soapui.impl.wsdl.WsdlProject.getTagById(WsdlProject.java:3048)
   	at com.eviware.soapui.impl.wsdl.panels.testsuite.JTestSuiteTestCaseList$TestCaseListPanel.getTags(JTestSuiteTestCaseList.java:495)
   	at com.eviware.soapui.impl.wsdl.panels.testsuite.JTestSuiteTestCaseList$TestCaseListPanel.updateTagList(JTestSuiteTestCaseList.java:463)
   	at com.eviware.soapui.impl.wsdl.panels.testsuite.JTestSuiteTestCaseList$TestCaseListPanel.<init>(JTestSuiteTestCaseList.java:263)
   	at com.eviware.soapui.impl.wsdl.panels.testsuite.JTestSuiteTestCaseList.createTestCaseListPanel(JTestSuiteTestCaseList.java:520)
   	at com.eviware.soapui.impl.wsdl.panels.testsuite.JTestSuiteTestCaseList.<init>(JTestSuiteTestCaseList.java:99)
   	at com.eviware.soapui.impl.wsdl.panels.testsuite.ProWsdlTestSuiteDesktopPanel.buildTestCaseList(ProWsdlTestSuiteDesktopPanel.java:250)
   	at com.eviware.soapui.impl.wsdl.panels.testsuite.ProWsdlTestSuiteDesktopPanel.b(ProWsdlTestSuiteDesktopPanel.java:238)
   	at com.eviware.soapui.impl.wsdl.panels.testsuite.ProWsdlTestSuiteDesktopPanel.buildDesktopPanelUI(ProWsdlTestSuiteDesktopPanel.java:226)
   	at com.eviware.soapui.impl.wsdl.panels.testsuite.ProWsdlTestSuiteDesktopPanel.<init>(ProWsdlTestSuiteDesktopPanel.java:212)
   	at com.eviware.soapui.ui.SoapUIProViewFactoryImpl.createTestSuiteDesktopPanel(SoapUIProViewFactoryImpl.java:95)
   	at com.eviware.soapui.impl.wsdl.panels.testsuite.ProWsdlTestSuitePanelBuilder.buildDesktopPanel(ProWsdlTestSuitePanelBuilder.java:30)
   	at com.eviware.soapui.impl.wsdl.panels.testsuite.ProWsdlTestSuitePanelBuilder.buildDesktopPanel(ProWsdlTestSuitePanelBuilder.java:1)
   	at com.eviware.soapui.ready.SinglePanelDesktop.a(SinglePanelDesktop.java:151)
   	at com.eviware.soapui.ready.SinglePanelDesktop.showDesktopPanel(SinglePanelDesktop.java:130)
   	at com.eviware.soapui.ui.HistoryAwareDesktop.showDesktopPanel(HistoryAwareDesktop.java:158)
   	at com.eviware.soapui.ready.ClassicModuleGui$2.nodeSelected(ClassicModuleGui.java:302)
   	at com.eviware.soapui.ui.Navigator$EventTranslator.valueChanged(Navigator.java:535)
   	at javax.swing.JTree.fireValueChanged(Unknown Source)
   	at javax.swing.JTree$TreeSelectionRedirector.valueChanged(Unknown Source)
   	at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(Unknown Source)
   	at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(Unknown Source)
   	at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(Unknown Source)
   	at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(Unknown Source)
   	at javax.swing.JTree.setSelectionPath(Unknown Source)
   	at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(Unknown Source)
   	at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(Unknown Source)
   	at javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(Unknown Source)
   	at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
   	at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
   	at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
   	at java.awt.Component.processMouseEvent(Unknown Source)
   	at javax.swing.JComponent.processMouseEvent(Unknown Source)
   	at java.awt.Component.processEvent(Unknown Source)
   	at java.awt.Container.processEvent(Unknown Source)
   	at java.awt.Component.dispatchEventImpl(Unknown Source)
   	at java.awt.Container.dispatchEventImpl(Unknown Source)
   	at java.awt.Component.dispatchEvent(Unknown Source)
   	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
   	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
   	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
   	at java.awt.Container.dispatchEventImpl(Unknown Source)
   	at java.awt.Window.dispatchEventImpl(Unknown Source)
   	at java.awt.Component.dispatchEvent(Unknown Source)
   	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   	at java.awt.EventQueue.access$500(Unknown Source)
   	at java.awt.EventQueue$3.run(Unknown Source)
   	at java.awt.EventQueue$3.run(Unknown Source)
   	at java.security.AccessController.doPrivileged(Native Method)
   	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
   	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
   	at java.awt.EventQueue$4.run(Unknown Source)
   	at java.awt.EventQueue$4.run(Unknown Source)
   	at java.security.AccessController.doPrivileged(Native Method)
   	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
   	at java.awt.EventQueue.dispatchEvent(Unknown Source)
   	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   	at java.awt.EventDispatchThread.run(Unknown Source)

this may help for investigation.

Of course, the export an reimport works but it can be a bit tedious, especially in my case, with dozens of testSuites 😞

 

Additional information :

In those test suites, if I right-click on a testCase to Launch the testRunner, I have the following error :

Fri Aug 30 11:06:56 CEST 2019: ERROR: java.lang.NullPointerException
   java.lang.NullPointerException
   	at com.eviware.soapui.impl.wsdl.WsdlProject.getTagById(WsdlProject.java:3048)
   	at com.eviware.soapui.impl.wsdl.actions.iface.tools.soapui.TestRunnerAction.a(TestRunnerAction.java:357)
   	at com.eviware.soapui.impl.wsdl.actions.iface.tools.soapui.TestRunnerAction.refreshTagList(TestRunnerAction.java:317)
   	at com.eviware.soapui.impl.wsdl.actions.iface.tools.soapui.TestRunnerAction$2.valueChanged(TestRunnerAction.java:218)
   	at com.eviware.x.form.AbstractXFormField.fireValueChanged(AbstractXFormField.java:112)
   	at com.eviware.x.impl.swing.JBaseComboBoxFormField.itemStateChanged(JBaseComboBoxFormField.java:42)
   	at javax.swing.JComboBox.fireItemStateChanged(Unknown Source)
   	at javax.swing.JComboBox.selectedItemChanged(Unknown Source)
   	at javax.swing.JComboBox.contentsChanged(Unknown Source)
   	at javax.swing.AbstractListModel.fireContentsChanged(Unknown Source)
   	at javax.swing.DefaultComboBoxModel.setSelectedItem(Unknown Source)
   	at javax.swing.JComboBox.setSelectedItem(Unknown Source)
   	at com.eviware.x.impl.swing.JBaseComboBoxFormField.setValue(JBaseComboBoxFormField.java:32)
   	at com.eviware.soapui.impl.wsdl.actions.iface.tools.soapui.TestRunnerAction.initValues(TestRunnerAction.java:478)
   	at com.eviware.soapui.impl.wsdl.actions.iface.tools.soapui.TestRunnerAction.initValues(TestRunnerAction.java:1)
   	at com.eviware.soapui.impl.wsdl.actions.iface.tools.support.AbstractToolsAction.perform(AbstractToolsAction.java:123)
   	at com.eviware.soapui.impl.wsdl.actions.iface.tools.soapui.TestCaseTestRunnerAction.perform(TestCaseTestRunnerAction.java:43)
   	at com.eviware.soapui.impl.wsdl.actions.iface.tools.soapui.TestCaseTestRunnerAction.perform(TestCaseTestRunnerAction.java:1)
   	at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:129)
   	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
   	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
   	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
   	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
   	at javax.swing.AbstractButton.doClick(Unknown Source)
   	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
   	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
   	at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
   	at java.awt.Component.processMouseEvent(Unknown Source)
   	at javax.swing.JComponent.processMouseEvent(Unknown Source)
   	at java.awt.Component.processEvent(Unknown Source)
   	at java.awt.Container.processEvent(Unknown Source)
   	at java.awt.Component.dispatchEventImpl(Unknown Source)
   	at java.awt.Container.dispatchEventImpl(Unknown Source)
   	at java.awt.Component.dispatchEvent(Unknown Source)
   	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
   	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
   	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
   	at java.awt.Container.dispatchEventImpl(Unknown Source)
   	at java.awt.Window.dispatchEventImpl(Unknown Source)
   	at java.awt.Component.dispatchEvent(Unknown Source)
   	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   	at java.awt.EventQueue.access$500(Unknown Source)
   	at java.awt.EventQueue$3.run(Unknown Source)
   	at java.awt.EventQueue$3.run(Unknown Source)
   	at java.security.AccessController.doPrivileged(Native Method)
   	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
   	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
   	at java.awt.EventQueue$4.run(Unknown Source)
   	at java.awt.EventQueue$4.run(Unknown Source)
   	at java.security.AccessController.doPrivileged(Native Method)
   	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
   	at java.awt.EventQueue.dispatchEvent(Unknown Source)
   	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   	at java.awt.EventDispatchThread.run(Unknown Source)
Radford
Super Contributor

@krogold, have you seen that ReadyAPI 2.8.2 has been released?

 

https://support.smartbear.com/downloads/readyapi/

 

As far as I can see there are no release notes (at the time of writing) so I've no idea what changed in this release. It might be worth trying this, just in case it fixes your issue?

 

(aside: the installer points to the following url for the release notes: https://support.smartbear.com/readyapi/docs/general-info/version-history/features-added-to-ver-2.8.2...

But that returns a 404 - Perhaps someone from SmartBear could comment?)

krogold
Regular Contributor

Well I don't think it is specifically due to 2.8.0

It is quite strange as after playing some tests, it sometimes happen that the problem dissapears ... it is very frustrating 😞

 

krogold
Regular Contributor

Hi,

I don't know if it happened to some of you but, in my project, some testSuites that used to be not selectable are now selectable again.

I noticed that sometimes, when I play successfully one of the testSuite's testCase, if I select the testSuite straight it become selectable again ...

That is not systematic, unfortunately ... 😞

 

krogold
Regular Contributor

LATEST UPDATE :

If anyone needs it, I found a problem in some of my testSuites and, correcting it, I solved my problem of testSuite selection.

 

My testSuites have tags, so do many of my testcases.

I had a major problem due to not be able selecting testSuites : I couldn't set tags to my new testcases, so I decided to do it programmatically.

I parse all my testsuites and testcases to check those which didn't have a tag in order to set one programmatically.

I discovered that some of my testCases had a 'null' tag in their tags list (? I don't know how I managed to do this, maybe by removing a tag at project level ?)

 

So I programmatically removed the null tag from the testcases which had it and assigned a new tag the same way.

 

After doing this, I can now select my testsuites again. I guess that those spurious 'null' tags were messing up all my testsuites.

Here is the groovy script I used :

project = testRunner.testCase.testSuite.project

project.getTestSuiteList().each{
	suite ->
	if (suite.getTagIds().size() != 0)
	{
		suite.getTestCaseList().each{
			testcase ->
			 tags_list = testcase.getTagIds()
			
			 if (tags_list.contains(null))
			 {
			 	// null tag ? remove it
			 	testcase.removeTag(null)
			 }
		}
       }
}

Hope this helps

@_Oliver_ , you might be interested

sonya_m
SmartBear Alumni (Retired)

@krogold thank you for the thorough investigation and thanks a lot for sharing it with us! 


Sonya Mihaljova
Community and Education Specialist

cancel
Showing results for 
Search instead for 
Did you mean: