Forum Discussion

jmod1010's avatar
15 years ago

jxbrowser error in Windows XP SP3 causes soapUI to not show

Hi.

Great product, and I have used it on many platforms without any issues. Thanks for making it available.

Using soapUI 3.6.1 release, on Windows XP Pro SP3, with Java 6 update 24, I get this error in error.log when starting soapUI from soapUI-3.6.1.exe:

Exception in thread "XpcMessageLoop" java.lang.IllegalStateException: Cannot create required directories.
at com.teamdev.xpcom.a.b.a.<init>(Unknown Source)
at com.teamdev.xpcom.a.<init>(Unknown Source)
at com.teamdev.xpcom.b$b.run(Unknown Source)

The UI for soapUI does not come up, though the application is listed as running in the task manager.

I have uninstalled and reinstalled soapUI, and received the same error.

The same problem occurred when running the default soapui.bat. SoapUI's UI comes up fine if I uncommented this line in the bat file, though:

set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.jxbrowser.disable="true"

Obviously, the browser is not available now.

1 Reply

  • This happens if your profile is in a folder without write access.
    Add this line to the end of soap.bat just before :START
    set JAVA_OPTS=%JAVA_OPTS% -Duser.home="<path/to/writable/settings/folder>"
    In this is:
    <path/to/writable/settings/folder> = writable folder where you want soap profile to be stored

    Add this line to check JAVA_OPTS:
    echo "JAVA_OPTS = [%JAVA_OPTS%]"