NoClassDefFoundError and NullPointerException when opening a project with PhpStorm on OS X Sierra

Recently installed PhpStorm 2017.2.4 on my Mac Pro (Sierra 10.12.6), Java version is (9+181).

Whenever I try to open a project, PhpStorm hangs.
I took a look at the log file situated in /Library/Logs/PhpStorm2017.2.
There are several NoClassDefFoundError happening, with a slice of NullPointerException.
Here are a few excerpts:

java.lang.NoClassDefFoundError: com/apple/eawt/AppEvent$AboutEvent
java.lang.NoClassDefFoundError: com/apple/eawt/OpenURIHandler
java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
java.lang.NoClassDefFoundError: Could not initialize class com.intellij.credentialStore.kdbx.KdbxKt
java.lang.NullPointerException at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.b(
java.lang.NullPointerException at com.intellij.codeInsight.daemon.impl.DaemonListeners$MyProfileChangeListener.a(
  • I tried to change the target java version in the info.plist configuration file inside the PhpStorm package.
  • I also followed these instructions in order to be able to start the application.
  • Just to check I also installed Webstorm, which worked perfectly out of the box.

After doing some research, it looks like no one else is having this problem. I really need some inspiration, some crazy idea to try.

PS: I uploaded the log file here if anyone feels like wading through it.