Ask a Question

Mock windows can't be re-opened

mmoser18
Frequent Contributor

Mock windows can't be re-opened

I again and again have the most annoying effect that when dealing within mocks it is suddenly not possible anymore to reopen their window after one has minimized it. In the error log I then read error stack frames like the below. Apparently the application is trying to (re-)open the window at some illegal position and then fails.

 

The annoying part is that the only way I found to overcome this is to restart SOAPUI after which the window can typically be opened without issue - at least for a while and typically a few times until this bug hits again. But the annoying part is that sometimes that means - since one has to restart SOAPUI - that one also has to restart a test from scratch. 😞

 

Could you please fix this bug?!  I am using SoapUI-x64-5.6.0

 

 Mon Jul 26 13:14:43 CEST 2021:ERROR:java.lang.IllegalArgumentException: illegal component position
java.lang.IllegalArgumentException: illegal component position
at java.desktop/java.awt.Container.addImpl(Container.java:1120)
at java.desktop/javax.swing.JLayeredPane.addImpl(JLayeredPane.java:237)
at java.desktop/javax.swing.JDesktopPane.addImpl(JDesktopPane.java:484)
at java.desktop/java.awt.Container.add(Container.java:436)
at java.desktop/javax.swing.DefaultDesktopManager.iconifyFrame(DefaultDesktopManager.java:205)
at com.eviware.soapui.ui.desktop.standalone.StandaloneDesktop$BoundsAwareDesktopManager.iconifyFrame(StandaloneDesktop.java:626)
at java.desktop/javax.swing.plaf.basic.BasicInternalFrameUI.iconifyFrame(BasicInternalFrameUI.java:784)
at java.desktop/javax.swing.plaf.basic.BasicInternalFrameUI$Handler.propertyChange(BasicInternalFrameUI.java:1716)
at java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:341)
at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:266)
at java.desktop/java.awt.Component.firePropertyChange(Component.java:8728)
at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4784)
at java.desktop/java.awt.Container.addImpl(Container.java:1146)
at java.desktop/javax.swing.JLayeredPane.addImpl(JLayeredPane.java:237)
at java.desktop/javax.swing.JDesktopPane.addImpl(JDesktopPane.java:484)
at java.desktop/java.awt.Container.add(Container.java:436)
at java.desktop/javax.swing.DefaultDesktopManager.deiconifyFrame(DefaultDesktopManager.java:225)
at com.eviware.soapui.ui.desktop.standalone.StandaloneDesktop$BoundsAwareDesktopManager.deiconifyFrame(StandaloneDesktop.java:631)
at com.eviware.soapui.ui.desktop.standalone.StandaloneDesktop.showDesktopPanel(StandaloneDesktop.java:189)
at com.eviware.soapui.support.UISupport.showDesktopPanel(UISupport.java:557)
at com.eviware.soapui.support.UISupport.selectAndShow(UISupport.java:546)
at com.eviware.soapui.impl.wsdl.actions.support.ShowDesktopPanelAction.perform(ShowDesktopPanelAction.java:49)
at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:93)
at com.eviware.soapui.support.action.swing.DefaultActionList.performDefaultAction(DefaultActionList.java:96)
at com.eviware.soapui.ui.navigator.Navigator$TreeMouseListener$1.run(Navigator.java:326)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:389)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

 

3 REPLIES 3
nmrao
Community Hero

Re: Mock windows can't be re-opened

If you just need to start the mock service, then try to start it using SOAPUI_HOME/bin/mocktestrunner and see if that helps


Regards,
Rao.
mmoser18
Frequent Contributor

Re: Mock windows can't be re-opened

No, its not just about starting but also configuring them. I have a project with about 10 mock services running and while working with them more and more of them get unmanageable (e.g. if one wants to change any parameter or start/stop them individually) because their window can't be reopened. And that's super-annoying!
nmrao
Community Hero

Re: Mock windows can't be re-opened

Ok. I feel version 5.4.0 is much stable. try it if you could.


Regards,
Rao.
cancel
Showing results forΒ 
Search instead forΒ 
Did you mean:Β