启动SoapUI5.3后几秒钟后crash重启。重启后仍然不工作。
后台hs_err_pidxxxx.log内容如下:
[134 Michal-MBP:Applications kolisko$ SoapUI-5.3.0.app/Contents/MacOS/JavaApplicationStub Configuring log4j from [/Applications/SoapUI-5.3.0.app/Contents/java/app/bin/soapui-log4j.xml] 11:25:46,009 INFO [DefaultSoapUICore] Creating new settings at [/Users/kolisko/soapui-settings.xml] 11:25:46,926 INFO [PluginManager] 0 plugins loaded in 1 ms 11:25:46,926 INFO [DefaultSoapUICore] All plugins loaded Configuring log4j from [/Applications/SoapUI-5.3.0.app/Contents/java/app/bin/soapui-log4j.xml] 11:25:47,233 INFO [DefaultSoapUICore] Creating new settings at [/Users/kolisko/soapui-settings.xml] 11:25:47,311 INFO [PluginManager] 0 plugins loaded in 0 ms 11:25:47,311 INFO [DefaultSoapUICore] All plugins loaded 2016-12-14 11:25:47.608 JavaApplicationStub[5549:221164] Unable to load realm info from SCDynamicStore 11:25:47,744 ERROR [SoapUI] An error occurred [java.lang.NullPointerException], see error log for details 11:25:51,801 ERROR [SoapUI] An error occurred [java.lang.NullPointerException], see error log for details 11:25:51,806 ERROR [SoapUI] An error occurred [java.lang.NullPointerException], see error log for details 11:25:51,813 INFO [DefaultSoapUICore] Defaulting to native L&F for Mac OS X 11:25:51,869 INFO [SoapUI] Used java version: 1.7.0_55 11:26:15,455 ERROR [SoapUI] An error occurred [java.lang.NullPointerException], see error log for details Exception in thread "JavaFX Application Thread" # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x000000013588694d, pid=5549, tid=1295 # # JRE version: Java(TM) SE Runtime Environment (7.0_55-b13) (build 1.7.0_55-b13) # Java VM: Java HotSpot(TM) 64-Bit Server VM (24.55-b03 mixed mode bsd-amd64 compressed oops) # Problematic frame: # C [libjfxwebkit.dylib+0x6c994d] Java_com_sun_webpane_webkit_network_URLLoader_twkWillSendRequest+0x3dd7d # # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again # # An error report file with more information is saved as: # /Applications/SoapUI-5.3.0.app/Contents/java/app/bin/hs_err_pid5549.log # # If you would like to submit a bug report, please visit: # http://bugreport.sun.com/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # Abort trap: 6
解决方法:修改soapui启动脚本以及options文件来disable browser.
步骤:
1) In Finder, /Applications/SmartBear/soapUI-5.0.0.app > Show Package Contents.
2)修改 /Applications/SmartBear/soapUI-5.0.0.app/Contents/java/app/bin/soapui.sh.
uncomment掉 # JAVA_OPTS="$JAVA_OPTS -Dsoapui.browser.disabled=true". [即移除 "#" ]
3)修改 /Applications/SmartBear/soapUI-5.0.0.app/Contents/vmoptions.txt.
添加 -Dsoapui.browser.disabled=true.
4)Start soapUI.