SoapUI 5.3.0 Mac hangs on any use after installation

女生的网名这么多〃 提交于 2021-02-05 20:21:42

问题


SoapUI 5.3.0 (latest open source version) Mac hangs on clean-install on MacOS 10.12.3 - with all presets suggested by the installer.

I tried rebooting & installing again - every time when you load the app it's just an eternal beach ball with no menus clickable - and requires a force quit - even after 5 minutes of just leaving it.

I've found nothing on Google about this

How can I fix this?!


回答1:


I had the same issue and the solution described here worked for me.

Copying and pasting it here with the version OP asked:

  1. Start ‘Activity Monitor’ and Force Kill your dead soapUI process. [Or use Command-Option-Escape to force quit it.]
  2. In Finder, /Applications/SoapUI-5.3.0.app > Show Package Contents.
  3. Edit /Applications/SoapUI-5.3.0.app/Contents/java/app/bin/soapui.sh.
  4. Uncomment this line # JAVA_OPTS="$JAVA_OPTS -Dsoapui.browser.disabled=true". [In other words, remove the # to stop it being a comment.]
  5. Edit /Applications/SoapUI-5.3.0.app/Contents/vmoptions.txt.
  6. Add -Dsoapui.browser.disabled=true.
  7. Start soapUI.

The question there was for version 5.1.2 which is more than 2 years old. I'm surprised for this still being an issue after that long.




回答2:


I found Phil Hudson's text when I had the same problem, worked for me with SoapUI 5.3.0: http://www.phil-hudson.com/fixing-soap-ui-5-2-1-hanging-on-osx-el-capitan/

From Phil's text (note that he wrote it for SoapUI 5.2.1):

Basically, SOAP UI is using a bundled JDK for 1.7, but I use JDK 1.8 - so we need to symlink it. Run the following:

cd /Applications/SoapUI-5.2.1.app/Contents/PlugIns/jre.bundle/Contents/Home
mv jre jre.old
ln -s /Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home/jre jre

Check that the symlink to your JDK is correct, versions might differ so it's worth checking. If you've got it wrong, SOAPUI will throw a startup error and tell you the JDK is missing.

Restart SOAPUI and all will hopefully be good!




回答3:


I had the same problem and this worked for me...

Alternatively, you can navigate to SoapUI*.app and do "Show Package Info" ( from popup menu ). Then you should see Contents directory. Open Info.plist file for editing where you can add:

<key>soapui.jxbrowser.disable</key>
<string>true</string>



回答4:


Auto Proxy Setting to false worked for me.

Path:/Users/{your_user}/soapui_settings.xml

Setting:<con:setting id="ProxySettings@autoProxy">false</con:setting>




回答5:


I had the same issue with Mac OS 10.12.5, and the proxy was the problem, I just disabled the proxy and it worked!![enter image description here]1




回答6:


1) In Finder, go to /Applications/SmartBear/soapUI-5.x.x or sometimes under application directly /Applications/soapUI-5.x.x, then right click on it and choose Show Package Contents

2) Open contents dir, you should see file named vmoptions.txt open it and add the following line -Dsoapui.browser.disabled=true

3) In the same directory, I mean contents, open java/app/bin/soapui.sh and uncomment the following line by just removing #.

# JAVA_OPTS="$JAVA_OPTS -Dsoapui.browser.disabled=true"

So, it should be like this

JAVA_OPTS="$JAVA_OPTS -Dsoapui.browser.disabled=true"

4) If you were already opening SoapUI, make sure you force stop it from Activity Monitor or by just right clicking on it in the bottom toolbar and click Force quit.

5) Start SoapUI

References:

https://community.smartbear.com/t5/SoapUI-Pro/SoapUI-Pro-5-1-2-hangs-on-Mac-OS-X-10-8-5/m-p/98340/highlight/true#M23585

http://chanukadissanayake.blogspot.com/2016/08/how-to-fix-soapui-freeze-in-mac-os.html




回答7:


This is what you need to add in Info.plist

<key>soapui.jxbrowser.disable</key>
<true/>


来源:https://stackoverflow.com/questions/42760917/soapui-5-3-0-mac-hangs-on-any-use-after-installation

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!