WebStorm critical error after install
Hi All, installed WebStorm 2016.3.5 and now when it opens I get error below. I tried going into ~/Library dir and deleting all WebStorm folders in Cache, Preferences, Logs, Application Support as per suggestion in one of the articles. This does not seem to help. Any ideas?
Internal error. Please report to http://jb.gg/ide/critical-startup-errors
java.lang.StackOverflowError
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1522)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
Please sign in to leave a comment.
looks similar to https://youtrack.jetbrains.com/issue/JRE-247.
Please try workarounds mentioned in comments (https://youtrack.jetbrains.com/issue/IDEA-153203#comment=27-1355695, https://youtrack.jetbrains.com/issue/IDEA-153203#comment=27-1418912)
Thank you. Here are the steps that specifically helped:
1. Navigate to cd /Applications/WebStorm.app/Contents/bin/webstorm.vmoptions
2. Copy webstorm.vmoptions to cp webstorm.vmoptions ~/Library/Preferences/WebStorm2016.3
3. Add -Xss4m to vi webstorm.vmoptions
This allowed me to get into the IDE
Then I followed these instructions:
1. Install https://plugins.jetbrains.com/idea/plugin/9195-jb-sdk-bintray-downloader . You can find it in the plugin repository right in the IDE settings.
2. Find the action "Get JB SDK from BinTray" (You can use cmd+a shortcut to find the action by name)
3. Choose the next SDK in the combobox - jbsdk8u112b755_osx_x64.tar.gz
4. Download it
5. Install it
6. Reboot (it should happen automatically)
7. Check the IDE About dialog to be sure that the IDE is bootstrapped with 8u112b755
8. Check if the build resolves the issue
After which I removed -Xss4m fromto vi webstorm.vmoptions
Thank you for your help.