PhpStorm 2.1 hangs on Splash Screen
Hi, I just downloaded PhpStorm 2.1 for OSX and when I try to start it up, it just hangs on the Splash screen. I tried to navigate to the application bin folder and invoke idea.sh manually, and when I do I get the following errors in my terminal:
I am able to load up and use 2.0.1 just fine.
/Applications/PhpStorm 2.1.app/bin% ./idea.sh
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02-334, mixed mode)
./idea.sh: line 90: ./../bin/idea.vmoptions: No such file or directory
2011-06-02 13:28:06.132 java[5175:903] Can't open input server /Users/ramin/Library/InputManagers/Edit in TextMate
[ 388] ERROR - ation.impl.ApplicationInfoImpl - /idea/ApplicationInfo.xml
java.io.FileNotFoundException: /idea/ApplicationInfo.xml
at com.intellij.openapi.util.JDOMUtil.loadDocument(JDOMUtil.java:353)
at com.intellij.openapi.application.impl.ApplicationInfoImpl.getShadowInstance(ApplicationInfoImpl.java:293)
at com.intellij.ui.AppUIUtil.getAppIconImages(AppUIUtil.java:45)
at com.intellij.ui.AppUIUtil.updateFrameIcon(AppUIUtil.java:40)
at com.intellij.idea.MainImpl._main(MainImpl.java:78)
at com.intellij.idea.MainImpl.start(MainImpl.java:70)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.ide.plugins.PluginManager$2.run(PluginManager.java:169)
at java.lang.Thread.run(Thread.java:680)
[ 391] ERROR - ation.impl.ApplicationInfoImpl - JDK: 1.6.0_24
[ 392] ERROR - ation.impl.ApplicationInfoImpl - VM: Java HotSpot(TM) 64-Bit Server VM
[ 392] ERROR - ation.impl.ApplicationInfoImpl - Vendor: Apple Inc.
[ 392] ERROR - ation.impl.ApplicationInfoImpl - OS: Mac OS X
java.lang.IllegalArgumentException: Argument 0 for @NotNull parameter of com/intellij/openapi/util/JDOMUtil.loadDocument must not be null
at com.intellij.openapi.util.JDOMUtil.loadDocument(JDOMUtil.java)
at com.intellij.openapi.application.ApplicationNamesInfo.<init>(ApplicationNamesInfo.java:48)
at com.intellij.openapi.application.ApplicationNamesInfo.<init>(ApplicationNamesInfo.java:27)
at com.intellij.openapi.application.ApplicationNamesInfo$ApplicationNamesInfoHolder.<clinit>(ApplicationNamesInfo.java:38)
at com.intellij.openapi.application.ApplicationNamesInfo.getInstance(ApplicationNamesInfo.java:42)
at com.intellij.openapi.application.impl.ApplicationInfoImpl.getVersionName(ApplicationInfoImpl.java:151)
at com.intellij.openapi.application.impl.ApplicationInfoImpl.getFullApplicationName(ApplicationInfoImpl.java:267)
at com.intellij.ide.a.j.l.l(l.java:84)
at com.intellij.ide.a.j.l.a(l.java:94)
at com.intellij.ide.a.e.x.a(x.java:230)
at com.intellij.ide.a.e.x$2.a(x$2.java:340)
at com.intellij.ide.a.j.o.b(o.java:106)
at com.intellij.ide.a.j.o.access$200(o.java:16)
at com.intellij.ide.a.j.o$3.actionPerformed(o$3.java:68)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6374)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6139)
at java.awt.Container.processEvent(Container.java:2085)
at java.awt.Component.dispatchEventImpl(Component.java:4736)
at java.awt.Container.dispatchEventImpl(Container.java:2143)
at java.awt.Component.dispatchEvent(Component.java:4566)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4621)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4282)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212)
at java.awt.Container.dispatchEventImpl(Container.java:2129)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4566)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:680)
at java.awt.EventQueue.access$000(EventQueue.java:86)
at java.awt.EventQueue$1.run(EventQueue.java:639)
at java.awt.EventQueue$1.run(EventQueue.java:637)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:653)
at java.awt.EventQueue$2.run(EventQueue.java:651)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:650)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
[ 149018] ERROR - llij.ide.plugins.PluginManager - null
java.lang.NullPointerException
at com.intellij.openapi.application.impl.ApplicationInfoImpl.getFullApplicationName(ApplicationInfoImpl.java:278)
at com.intellij.ide.a.j.l.l(l.java:84)
at com.intellij.ide.a.j.l.a(l.java:94)
at com.intellij.ide.a.e.x.a(x.java:230)
at com.intellij.ide.a.e.x$2.a(x$2.java:340)
at com.intellij.ide.a.j.o.b(o.java:106)
at com.intellij.ide.a.j.o.access$200(o.java:16)
at com.intellij.ide.a.j.o$3.actionPerformed(o$3.java:68)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6374)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6139)
at java.awt.Container.processEvent(Container.java:2085)
at java.awt.Component.dispatchEventImpl(Component.java:4736)
at java.awt.Container.dispatchEventImpl(Container.java:2143)
at java.awt.Component.dispatchEvent(Component.java:4566)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4621)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4282)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212)
at java.awt.Container.dispatchEventImpl(Container.java:2129)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4566)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:680)
at java.awt.EventQueue.access$000(EventQueue.java:86)
at java.awt.EventQueue$1.run(EventQueue.java:639)
at java.awt.EventQueue$1.run(EventQueue.java:637)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:653)
at java.awt.EventQueue$2.run(EventQueue.java:651)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:650)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
[ 149020] ERROR - llij.ide.plugins.PluginManager - JDK: 1.6.0_24
[ 149020] ERROR - llij.ide.plugins.PluginManager - VM: Java HotSpot(TM) 64-Bit Server VM
[ 149020] ERROR - llij.ide.plugins.PluginManager - Vendor: Apple Inc.
[ 149020] ERROR - llij.ide.plugins.PluginManager - OS: Mac OS X
请先登录再写评论。
Hi Ramin,
Do you have any 3rd party (not-bundled) plugins installed? If so -- launch 2.0.1 and disable all such plugins (or try upgrading them first).
Also (since you were trying to use 2.1) try EAP build of 2.1.1 -- it may work better (but after trying the above first): http://confluence.jetbrains.net/display/WI/Web+IDE+EAP
If still nothing -- please provide your idea.log
I uninstalled 3rd party plugins and trying again. Doesn't seem to work. Going to download the EAP version now. Is there a place where phpStorm logs to that I can take a look at and get a better idea of what is going? I mean when invoked normally using the Application icon, not the command-line.
Thanks
AFAIK it should be ~/Library/Logs/WebIde10
Ok. Downloaded the EAP and tried to start it up using different methods (App icon, idea.sh, MacOS/idea) - no luck. This is the output I got when I tried to start it up using the MacOS/idea executable.
https://gist.github.com/1be36d7c1c9cd17b6733
I've also attached the log file located at ~/Library/Logs/WebIDE10
Any help would be greatly appreciated,
Ramin
Attachment(s):
idea.log.zip
Hi Ramin,
Apparently you have not disabled all non-bundled/non-standard plugins.
The crash is clearly caused by incompatible Idea Server Plugin (maybe because it is made by JetBrains so you did not count this as 3rd party).
Please temporarily disable or upgrade it to v1.0.2 ( http://plugins.intellij.net/plugin/?webide&id=4560 ) or maybe better remove this plugin (and install it again after successfully launching PhpStorm v2.1).
Ok uninstalled all non-bundled plugins and that seemed to have worked. It would be awesome if the application actually started up with those plugins disabled and gave you a warning :)
Thanks for the help,
Ramin