Forum Discussion

msmiths's avatar
msmiths
New Contributor
15 years ago

SOAP-UI 3.6 Beta 2 Bug

Hi:
I have installed/re-installed 3.6B2 a couple of times. Upon startup, the app is completely unresponsive and is completely black. I checked the error.log file and saw this:

Exception in thread "XpcMessageLoop" java.lang.NullPointerException
at com.teamdev.xpcom.a.b.b.a(Unknown Source)
at com.teamdev.xpcom.a.b.b.a(Unknown Source)
at com.teamdev.xpcom.a.b.a$a.a(Unknown Source)
at com.teamdev.xpcom.a.b.a$a.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.teamdev.xpcom.a.b.a.a(Unknown Source)
at com.teamdev.xpcom.a.<init>(Unknown Source)
at com.teamdev.xpcom.b$b.run(Unknown Source)


I am running Windows 7 Ultimate, 32-bit with 3.5.1 also installed.... Any help is appreciated.
  • Hi!

    thanks for reporting.. is this the entire content of the error log?

    regards!

    /Ole
    eviware.com
  • William_Willafo's avatar
    William_Willafo
    Occasional Contributor
    I am seeing the exact same error in the error.log. In the DOS command window I see the following trace. Note that I've tried setting GRE_HOME=%GROOVY_HOME%, and %GROOVY_HOME%\bin; neither works.

    Configuring log4j from [C:\Program Files\eviware\soapui-pro-3.6-beta2\bin\soapui-log4j.xml]
    13:56:14,803 INFO [DefaultSoapUICore] initialized soapui-settings from [...]
    13:56:14,834 INFO [DefaultSoapUICore] Adding listeners from [C:\Program Files\eviware\soapui-pro-3.6-beta2\bin\listeners\demo-listeners.xml]
    Configuring log4j from [C:\Program Files\eviware\soapui-pro-3.6-beta2\bin\soapui-log4j.xml]
    13:56:15,912 INFO [DefaultSoapUICore] initialized soapui-settings from [...]
    13:56:16,709 WARN [SoapUIProGroovyScriptEngineFactory] Missing scripts folder [C:\Program Files\eviware\soapUI-Pro-3.5\bin\scripts]
    13:56:16,725 INFO [DefaultSoapUICore] Adding listeners from [C:\Program Files\eviware\soapui-pro-3.6-beta2\bin\listeners\demo-listeners.xml]
    13:56:18,959 INFO [WorkspaceImpl] Loading workspace from [...]
    13:56:20,662 INFO [WsdlProject] Loaded project from [...REST-API-Coverage-soapui-project.xml]
    13:56:25,459 INFO [SoapUI] Used java version: 1.6.0_20
    13:56:30,444 INFO [DefaultSoapUICore] Adding actions from [C:\Program Files\eviware\soapui-pro-3.6-beta2\bin\actions\demo-actions.xml]
    Exception in thread "XpcMessageLoop" java.lang.RuntimeException: java.io.FileNotFoundException: GRE_HOME doesn't exist
    at com.teamdev.xpcom.a.a(Unknown Source)
    at com.teamdev.xpcom.b$b.run(Unknown Source)
    Caused by: java.io.FileNotFoundException: GRE_HOME doesn't exist
    at org.mozilla.xpcom.Mozilla.getGREPathWithProperties(Mozilla.java:148)
    ... 2 more
    org.mozilla.xpcom.XPCOMInitializationException: Must call Mozilla.getInstance().initialize() before using this method
    at org.mozilla.xpcom.Mozilla.getServiceManager(Mozilla.java:869)
    at com.teamdev.xpcom.util.ProxyManager.<init>(Unknown Source)
    at com.teamdev.xpcom.util.ProxyManager.getInstance(Unknown Source)
    at com.teamdev.xpcom.b.invokeLater(Unknown Source)
    at com.teamdev.xpcom.Xpcom.invokeLater(Unknown Source)
    at com.teamdev.jxbrowser1.impl.a.a.<init>(Unknown Source)
    at com.teamdev.jxbrowser1.console.ConsoleService.getConsoleService(Unknown Source)
    at com.teamdev.jxbrowser.mozilla.MozillaScriptErrorWatcher.<init>(Unknown Source)
    at com.teamdev.jxbrowser.mozilla.MozillaScriptErrorWatcher.getInstance(Unknown Source)
    at com.teamdev.jxbrowser.mozilla.MozillaBrowserFactory.<init>(Unknown Source)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)
    at java.lang.Class.newInstance(Class.java:308)
    at com.teamdev.jxbrowser.BrowserFactory$a.a(Unknown Source)
    at com.teamdev.jxbrowser.BrowserFactory.createBrowser(Unknown Source)
    at com.eviware.soapui.support.components.BrowserComponent.initBrowser(BrowserComponent.java:512)
    at com.eviware.soapui.support.components.BrowserComponent.getComponent(BrowserComponent.java:186)
    at com.eviware.soapui.ui.URLDesktopPanel.<init>(URLDesktopPanel.java:38)
    at com.eviware.soapui.SoapUI.showPushPage(SoapUI.java:1237)
    at com.eviware.soapui.SoapUI$3.run(SoapUI.java:788)
    [bunch of java.awt.EventDispatch stuff]
    Caused by: java.lang.NullPointerException
    at org.mozilla.xpcom.Mozilla.getServiceManager(Mozilla.java:867)
    ... 30 more
  • Hi!

    this later issue should be fixed in the nightly build.. not sure about the first one since the stacktrace is sparse.

    also, you shouldn't set GRE_HOME for the new JXBrowser version bundled with soapUI.

    regards!

    /Ole
    eviware.com
  • William_Willafo's avatar
    William_Willafo
    Occasional Contributor
    eviware support wrote:
    this later issue should be fixed in the nightly build..

    /Ole
    eviware.com


    Works for me! Thanks for the feedback.
  • I've experienced similar symptoms. Not black, but unresponsive screen.

    I've found this in the error log on one of the attempts...

    Exception in thread "XpcMessageLoop" java.lang.RuntimeException: Cannot create destination directory: C:\Documents and Settings\SWilliamson\.JxBrowser\xulrunner-version--unknown\xulrunner-windows.zip
    at com.teamdev.xpcom.a.b.b.a(Unknown Source)
    at com.teamdev.xpcom.a.b.b.a(Unknown Source)
    at com.teamdev.xpcom.a.b.a$a.a(Unknown Source)
    at com.teamdev.xpcom.a.b.a$a.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.teamdev.xpcom.a.b.a.a(Unknown Source)
    at com.teamdev.xpcom.a.<init>(Unknown Source)
    at com.teamdev.xpcom.b$b.run(Unknown Source)
  • Hi!

    hmm... is there enough disc-space on your drive? Do you for some reason not have write permissions to this folder?

    regards!

    /Ole
    eviware.com
  • I get the Same error when I start it with out the bat file. There is 21GB free. The UI just stays locked up in this case.

    Starting with the bat file loads the app but:

    Execution can't display request details windows:
    Output's the following to the command window:

    10:16:33,369 INFO [DefaultSoapUICore] Adding actions from [C:\Program Files\evi
    ware\soapUI-Pro-3.6-beta2\bin\actions\demo-actions.xml]
    Exception in thread "XpcMessageLoop" java.lang.RuntimeException: java.io.FileNot
    FoundException: GRE_HOME doesn't exist
    at com.teamdev.xpcom.a.a(Unknown Source)
    at com.teamdev.xpcom.b$b.run(Unknown Source)
    Caused by: java.io.FileNotFoundException: GRE_HOME doesn't exist
    at org.mozilla.xpcom.Mozilla.getGREPathWithProperties(Mozilla.java:148)
    ... 2 more
    org.mozilla.xpcom.XPCOMInitializationException: Must call Mozilla.getInstance().
    initialize() before using this method
    at org.mozilla.xpcom.Mozilla.getServiceManager(Mozilla.java:869)
    at com.teamdev.xpcom.util.ProxyManager.<init>(Unknown Source)
    at com.teamdev.xpcom.util.ProxyManager.getInstance(Unknown Source)
    at com.teamdev.xpcom.b.invokeLater(Unknown Source)
    at com.teamdev.xpcom.Xpcom.invokeLater(Unknown Source)
    at com.teamdev.jxbrowser1.impl.a.a.<init>(Unknown Source)
    at com.teamdev.jxbrowser1.console.ConsoleService.getConsoleService(Unkno
    wn Source)
    at com.teamdev.jxbrowser.mozilla.MozillaScriptErrorWatcher.<init>(Unknow
    n Source)
    at com.teamdev.jxbrowser.mozilla.MozillaScriptErrorWatcher.getInstance(U
    nknown Source)
    at com.teamdev.jxbrowser.mozilla.MozillaBrowserFactory.<init>(Unknown So
    urce)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at com.teamdev.jxbrowser.BrowserFactory$a.a(Unknown Source)
    at com.teamdev.jxbrowser.BrowserFactory.createBrowser(Unknown Source)
    at com.eviware.soapui.support.components.BrowserComponent.initBrowser(Br
    owserComponent.java:512)
    at com.eviware.soapui.support.components.BrowserComponent.getComponent(B
    rowserComponent.java:186)
    at com.eviware.soapui.ui.URLDesktopPanel.<init>(URLDesktopPanel.java:38)

    at com.eviware.soapui.SoapUI.showPushPage(SoapUI.java:1237)
    at com.eviware.soapui.SoapUI$3.run(SoapUI.java:788)
    at java.awt.event.InvocationEvent.dispatch(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: java.lang.NullPointerException
    at org.mozilla.xpcom.Mozilla.getServiceManager(Mozilla.java:867)
    ... 30 more
  • eviware support wrote:
    Hi!

    hmm... is there enough disc-space on your drive? Do you for some reason not have write permissions to this folder?

    regards!

    /Ole
    eviware.com


    No problems with disk space - 8 GB available.

    I've made the .jxbrowser and all subfolders writeable. It still hangs. The error log is below.

    It is hanging on all 3 PCs I have tried so far. All 3 had older versions installed.

    I've run a process monitor on it. It seems to be trying to access C:\Program Files\eviware\soapUI-Pro-3.0.1\bin\scripts. I've copied the scripts folder into that bin folder, but it hangs at a later point.

    Error log..

    "Exception in thread "XpcMessageLoop" java.lang.NullPointerException
    at com.teamdev.xpcom.a.b.b.a(Unknown Source)
    at com.teamdev.xpcom.a.b.b.a(Unknown Source)
    at com.teamdev.xpcom.a.b.a$a.a(Unknown Source)
    at com.teamdev.xpcom.a.b.a$a.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.teamdev.xpcom.a.b.a.a(Unknown Source)
    at com.teamdev.xpcom.a.<init>(Unknown Source)
    at com.teamdev.xpcom.b$b.run(Unknown Source)

    "