Forum Discussion

alexjaguar's avatar
alexjaguar
New Contributor
12 years ago

Newest Soapui 4.6.1 does not exit on Ubuntu

Hi,

I have Kubuntu 13.10 on a Dell Latitude laptop and have just installed the newest SoapUI 4.6.1 (standard edition). When I try to close it, it shows the standard dialog "Quit SoapUI?" but upon clicking "OK" nothing happens. I installed SoapUI with root privileges at
/opt/soapUI-4.6.1

but running it with a normal user. The only option to exit at the moment it is to kill the process.
Worth noting that I was installing the previous version (4.6.0) the same way and it worked fine. Maybe the following stack trace could be helpful:
when I start it:

volynets@hostname:/opt/soapUI-4.6.1$ bin/soapui.sh
================================
=
= SOAPUI_HOME = /opt/soapUI-4.6.1
=
================================
Configuring log4j from [/opt/soapUI-4.6.1/bin/soapui-log4j.xml]
16:45:40,624 INFO [DefaultSoapUICore] initialized soapui-settings from [/home/volynets/soapui-settings.xml]
16:45:41,586 INFO [SoapUI] Used java version: 1.7.0_40
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Exception in thread "XPCOMMessageLoop" java.lang.UnsatisfiedLinkError: /home/volynets/.JxBrowser/xulrunner-linux-version-1.9.2.2/xulrunner-linux/libxul.so: libdbus-glib-1.so.2: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(Unknown Source)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.impl.linux.LinuxMozillaToolkit.c(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.impl.linux.LinuxMozillaToolkit.a(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.MozillaToolkit.initialize(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.AppShellXPCOMThread$b.run(Unknown Source)
java.lang.RuntimeException: Cannot create Mozilla Browser instance on Linux, 3.11.0-12-generic, CPU arch: i386, Java Oracle Corporation 1.7.0_40, 32-bit
at com.teamdev.jxbrowser.BrowserFactory.createBrowser(Unknown Source)
at com.teamdev.jxbrowser.BrowserFactory.createBrowser(Unknown Source)
at com.eviware.soapui.support.components.NativeBrowserComponent.initBrowser(NativeBrowserComponent.java:184)
at com.eviware.soapui.support.components.NativeBrowserComponent.getComponent(NativeBrowserComponent.java:100)
at com.eviware.soapui.ui.URLDesktopPanel.<init>(URLDesktopPanel.java:38)
at com.eviware.soapui.SoapUI.showPushPage(SoapUI.java:1365)
at com.eviware.soapui.SoapUI$3.run(SoapUI.java:841)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(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$1.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)
Caused by: org.mozilla.xpcom.XPCOMInitializationException: Must call Mozilla.getInstance().initialize() before using this method
at org.mozilla.xpcom.Mozilla.getComponentManager(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.ProxyObjectManager.<init>(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.ProxyObjectManager.getInstance(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.AppShellXPCOMThread.<init>(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.impl.linux.LinuxXPCOMThread.<init>(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.XPCOMThreadFactory.createThread(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.XPCOM.<init>(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.XPCOM.initialize(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.XPCOM.initialize(Unknown Source)
at com.teamdev.jxbrowser.mozilla.MozillaBrowserFactory.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
... 21 more
Caused by: java.lang.NullPointerException
... 36 more

and when I try to quit it:

16:46:27,115 INFO [DefaultSoapUICore] Settings saved to [/home/volynets/soapui-settings.xml]
16:46:27,117 ERROR [WorkspaceImpl] Failed to save workspace: /opt/soapUI-4.6.1/bin/../../TestPBE-workspace.xml (Permission denied)
java.io.FileNotFoundException: /opt/soapUI-4.6.1/bin/../../TestPBE-workspace.xml (Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at org.apache.xmlbeans.impl.store.Cursor._save(Cursor.java:566)
at org.apache.xmlbeans.impl.store.Cursor.save(Cursor.java:2526)
at org.apache.xmlbeans.impl.values.XmlObjectBase.save(XmlObjectBase.java:206)
at com.eviware.soapui.impl.WorkspaceImpl.saveWorkspaceConfig(WorkspaceImpl.java:318)
at com.eviware.soapui.impl.WorkspaceImpl.save(WorkspaceImpl.java:301)
at com.eviware.soapui.impl.WorkspaceImpl.save(WorkspaceImpl.java:257)
at com.eviware.soapui.impl.WorkspaceImpl.onClose(WorkspaceImpl.java:252)
at com.eviware.soapui.SoapUI.onExit(SoapUI.java:1014)
at com.eviware.soapui.SoapUI$MainFrameWindowListener.windowClosing(SoapUI.java:742)
at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
at java.awt.Window.processWindowEvent(Unknown Source)
at javax.swing.JFrame.processWindowEvent(Unknown Source)
at java.awt.Window.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(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$200(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$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.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$1.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)


Is it something wrong with my local configuration/installation method?initialize() before using this method
at org
  • I had the same problem with 4.6.1 on debian wheezy -- "Exit" does not quit, but "Exit without saving" does quit.
    In my case, removing the ~/soapui-settings.xml file solved the problem.

    Also, by the way, the error about "TestPBE-workspace.xml (Permission denied)" isn't new and is probably unrelated.
  • alexjaguar's avatar
    alexjaguar
    New Contributor
    Somehow removing the ~/soapui-settings.xml did not help alone, but after upgrading to newer jdk version from 7.17 to 7.45 did help.