WebStorm 5.0.4 dies with JDK 7u25 (resolved)
WebStorm 5.0.4とOracle Java 7 Update 25の組み合わせで起動しなくなる不具合がある。
いくつか試してみたところ、下記のいずれかで回避可能なようだ(※諸々無保証)。
- Javaのバージョンを戻す
- WebStorm 6系に更新する
- 下記のpluginを削除する
- plugins/xpath
- plugins/xslt-debugger
以上で情報としては終わり。
続きには経緯とか詳細な話とか。
WebStormの更新が切れているので6系が出た今も5.0.4をそのまま使っているのだけど、先日Java 7 Update 25を入れたところ、エラーが出て起動しなくなってしまった(長いので末尾に掲載)。
先日俺に唆されて購入した同僚は6系で問題なく動作しているとのことなので悩んだが、まずは直せないか試した。
エラーログを眺めるところから始めてどこをどう辿ったかもう定かではないが、pluginディレクトリの名前を変えてプラグインを全部外してみたところ起動した。 あとはもう犯人捜しで。
今回のエラーはxpathが原因なのだが、xpathだけ外すとxslt-debuggerが依存していて起動後に文句を言われてしまうので、両方とも外す。
なお、AssertionError なのでJavaの起動時引数に-daを付けてみたが残念ながら何も変わらず。
assert で見てるんじゃなくて、自分でAssertionError作ってるのか?
とりあえず、まだ買い直さなくて良くなったようで一安心。
吐いたエラーは下記。 Linuxでしか確認してないので、他の環境では問題なく動作するかもしれない。
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
ERROR: icon path=/icons/xml.png class=class com.intellij.openapi.util.IconLoader
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:54)
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:57)
at com.intellij.openapi.util.IconLoader.getDisabledIcon(IconLoader.java:204)
at com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.java:242)
at com.intellij.openapi.actionSystem.impl.ActionButton.addNotify(ActionButton.java:190)
at java.awt.Container.addNotify(Container.java:2769)
at javax.swing.JComponent.addNotify(JComponent.java:4743)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.addNotify(ActionToolbarImpl.java:175)
at java.awt.Container.addNotify(Container.java:2769)
at javax.swing.JComponent.addNotify(JComponent.java:4743)
at java.awt.Container.addNotify(Container.java:2769)
at javax.swing.JComponent.addNotify(JComponent.java:4743)
at java.awt.Container.addNotify(Container.java:2769)
at javax.swing.JComponent.addNotify(JComponent.java:4743)
at java.awt.Container.addNotify(Container.java:2769)
at javax.swing.JComponent.addNotify(JComponent.java:4743)
at javax.swing.JRootPane.addNotify(JRootPane.java:756)
at com.intellij.openapi.wm.impl.IdeRootPane.addNotify(IdeRootPane.java:168)
at java.awt.Container.addNotify(Container.java:2769)
at java.awt.Window.addNotify(Window.java:770)
at java.awt.Frame.addNotify(Frame.java:487)
at java.awt.Window.show(Window.java:1031)
at com.intellij.openapi.wm.impl.IdeFrameImpl.show(IdeFrameImpl.java:148)
at java.awt.Component.show(Component.java:1651)
at java.awt.Component.setVisible(Component.java:1603)
at java.awt.Window.setVisible(Window.java:1014)
at com.intellij.openapi.wm.impl.IdeFrameImpl.setVisible(IdeFrameImpl.java:331)
at com.intellij.openapi.wm.impl.WindowManagerImpl.showFrame(WindowManagerImpl.java:240)
at com.intellij.idea.IdeaApplication$IdeStarter.main(IdeaApplication.java:284)
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:216)
at com.intellij.idea.MainImpl$3.run(MainImpl.java:167)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:718)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:543)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:421)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:379)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
[ 7568] ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=com.intellij.idea.MainImpl$3@10595d48,notifier=null,catchExceptions=false,when=1373199268138] on sun.awt.X11.XToolkit@5afb2a5a
java.lang.AssertionError: icon path=/icons/xml.png class=class com.intellij.openapi.util.IconLoader
at com.intellij.openapi.diagnostic.DefaultLogger.error(DefaultLogger.java:50)
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:54)
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:57)
at com.intellij.openapi.util.IconLoader.getDisabledIcon(IconLoader.java:204)
at com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.java:242)
at com.intellij.openapi.actionSystem.impl.ActionButton.addNotify(ActionButton.java:190)
at java.awt.Container.addNotify(Container.java:2769)
at javax.swing.JComponent.addNotify(JComponent.java:4743)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.addNotify(ActionToolbarImpl.java:175)
at java.awt.Container.addNotify(Container.java:2769)
at javax.swing.JComponent.addNotify(JComponent.java:4743)
at java.awt.Container.addNotify(Container.java:2769)
at javax.swing.JComponent.addNotify(JComponent.java:4743)
at java.awt.Container.addNotify(Container.java:2769)
at javax.swing.JComponent.addNotify(JComponent.java:4743)
at java.awt.Container.addNotify(Container.java:2769)
at javax.swing.JComponent.addNotify(JComponent.java:4743)
at javax.swing.JRootPane.addNotify(JRootPane.java:756)
at com.intellij.openapi.wm.impl.IdeRootPane.addNotify(IdeRootPane.java:168)
at java.awt.Container.addNotify(Container.java:2769)
at java.awt.Window.addNotify(Window.java:770)
at java.awt.Frame.addNotify(Frame.java:487)
at java.awt.Window.show(Window.java:1031)
at com.intellij.openapi.wm.impl.IdeFrameImpl.show(IdeFrameImpl.java:148)
at java.awt.Component.show(Component.java:1651)
at java.awt.Component.setVisible(Component.java:1603)
at java.awt.Window.setVisible(Window.java:1014)
at com.intellij.openapi.wm.impl.IdeFrameImpl.setVisible(IdeFrameImpl.java:331)
at com.intellij.openapi.wm.impl.WindowManagerImpl.showFrame(WindowManagerImpl.java:240)
at com.intellij.idea.IdeaApplication$IdeStarter.main(IdeaApplication.java:284)
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:216)
at com.intellij.idea.MainImpl$3.run(MainImpl.java:167)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:718)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:543)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:421)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:379)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
[ 7572] ERROR - com.intellij.ide.IdeEventQueue - JetBrains WebStorm 5.0.4 Build #WS-121.390
[ 7572] ERROR - com.intellij.ide.IdeEventQueue - JDK: 1.7.0_25
[ 7572] ERROR - com.intellij.ide.IdeEventQueue - VM: Java HotSpot(TM) 64-Bit Server VM
[ 7572] ERROR - com.intellij.ide.IdeEventQueue - Vendor: Oracle Corporation
[ 7572] ERROR - com.intellij.ide.IdeEventQueue - OS: Linux
[ 7572] ERROR - com.intellij.ide.IdeEventQueue - Last Action:
- ExtJS 4.2.0リリースされてた
- Fedora 19