The same trace is in IDEADEV-21532, but that one is scheduled for Selena, this one is found in Demetra Minor.
Open an HTML file. Switch to preview tab. Press Download or Download to folder. When progress bar has gone nothing is opened, and the trace is in console.
HtmlPreview_1.0.7 is successfully created in system folder.
There is no such bug in 6180, where preview 1.0.5 is used.
Also there is no such bug on Win XP.
JDK is 1.5.0_09.
Description
The same trace is in IDEADEV-21532, but that one is scheduled for Selena, this one is found in Demetra Minor.
Open an HTML file. Switch to preview tab. Press Download or Download to folder. When progress bar has gone nothing is opened, and the trace is in console.
HtmlPreview_1.0.7 is successfully created in system folder.
There is no such bug in 6180, where preview 1.0.5 is used.
Also there is no such bug on Win XP.
JDK is 1.5.0_09.
java.lang.RuntimeException: java.lang.NullPointerException
at com.jniwrapper.xpcom.impl.awt.SingleThreadMessageLoop.invokeAndWait(SourceFile:125)
at com.jniwrapper.xpcom.Xpcom.invokeAndWait(SourceFile:307)
at com.jniwrapper.xpcom.Xpcom.initialize(SourceFile:68)
at org.jetbrains.idea.browser.impl.HtmlPreviewApplicationComponent.initMozilla(HtmlPreviewApplicationComponent.java:113)
at org.jetbrains.idea.browser.impl.HtmlPreviewApplicationComponent.installMozilla(HtmlPreviewApplicationComponent.java:239)
at org.jetbrains.idea.browser.impl.DownloadPanel$DownloadAction.actionPerformed(DownloadPanel.java:102)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1778)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:112)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:158)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:130)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: java.lang.NullPointerException
at com.jniwrapper.Callback.init(SourceFile:140)
at com.jniwrapper.x11.ErrorHandlerProc.<init>(SourceFile:16)
at com.jniwrapper.xpcom.impl.awt.AwtLinuxPlatform$VoidErrorHandler.<init>(SourceFile:57)
at com.jniwrapper.xpcom.impl.awt.AwtLinuxPlatform$VoidErrorHandler.<init>(SourceFile:57)
at com.jniwrapper.xpcom.impl.awt.AwtLinuxPlatform.doInitialize(SourceFile:40)
at com.jniwrapper.xpcom.impl.Platform.initialize(SourceFile:96)
at com.jniwrapper.xpcom.Xpcom.e(SourceFile:127)
at com.jniwrapper.xpcom.Xpcom.a(SourceFile:25)
at com.jniwrapper.xpcom.Xpcom$1.run(SourceFile:72)
at com.jniwrapper.xpcom.impl.awt.SingleThreadMessageLoop$4.run(SourceFile:104)
at com.jniwrapper.xpcom.impl.awt.SingleThreadMessageLoop$1.run(SourceFile:42)
at java.lang.Thread.run(Thread.java:595)
[ 54389] ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(486,228),button=1,modifiers=Button1,clickCount=1] on frame0
java.lang.RuntimeException: java.lang.NullPointerException
at com.jniwrapper.xpcom.impl.awt.SingleThreadMessageLoop.invokeAndWait(SourceFile:125)
at com.jniwrapper.xpcom.Xpcom.invokeAndWait(SourceFile:307)
at com.jniwrapper.xpcom.Xpcom.initialize(SourceFile:68)
at org.jetbrains.idea.browser.impl.HtmlPreviewApplicationComponent.initMozilla(HtmlPreviewApplicationComponent.java:113)
at org.jetbrains.idea.browser.impl.HtmlPreviewApplicationComponent.installMozilla(HtmlPreviewApplicationComponent.java:239)
at org.jetbrains.idea.browser.impl.DownloadPanel$DownloadAction.actionPerformed(DownloadPanel.java:102)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1778)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:112)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:158)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:130)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: java.lang.NullPointerException
at com.jniwrapper.Callback.init(SourceFile:140)
at com.jniwrapper.x11.ErrorHandlerProc.<init>(SourceFile:16)
at com.jniwrapper.xpcom.impl.awt.AwtLinuxPlatform$VoidErrorHandler.<init>(SourceFile:57)
at com.jniwrapper.xpcom.impl.awt.AwtLinuxPlatform$VoidErrorHandler.<init>(SourceFile:57)
at com.jniwrapper.xpcom.impl.awt.AwtLinuxPlatform.doInitialize(SourceFile:40)
at com.jniwrapper.xpcom.impl.Platform.initialize(SourceFile:96)
at com.jniwrapper.xpcom.Xpcom.e(SourceFile:127)
at com.jniwrapper.xpcom.Xpcom.a(SourceFile:25)
at com.jniwrapper.xpcom.Xpcom$1.run(SourceFile:72)
at com.jniwrapper.xpcom.impl.awt.SingleThreadMessageLoop$4.run(SourceFile:104)
at com.jniwrapper.xpcom.impl.awt.SingleThreadMessageLoop$1.run(SourceFile:42)
at java.lang.Thread.run(Thread.java:595)
[ 54443] ERROR - com.intellij.ide.IdeEventQueue - IntelliJ IDEA 6.0.6 Build #6194
[ 54444] ERROR - com.intellij.ide.IdeEventQueue - JDK: 1.5.0_09
[ 54444] ERROR - com.intellij.ide.IdeEventQueue - VM: Java HotSpot(TM) Client VM
[ 54445] ERROR - com.intellij.ide.IdeEventQueue - Vendor: Sun Microsystems Inc.
[ 54445] ERROR - com.intellij.ide.IdeEventQueue - OS: Linux
[ 54445] ERROR - com.intellij.ide.IdeEventQueue - Last Action: $Undo
[ 54445] ERROR - com.intellij.ide.IdeEventQueue - Original exception:
java.lang.NullPointerException
at com.jniwrapper.Callback.init(SourceFile:140)
at com.jniwrapper.x11.ErrorHandlerProc.<init>(SourceFile:16)
at com.jniwrapper.xpcom.impl.awt.AwtLinuxPlatform$VoidErrorHandler.<init>(SourceFile:57)
at com.jniwrapper.xpcom.impl.awt.AwtLinuxPlatform$VoidErrorHandler.<init>(SourceFile:57)
at com.jniwrapper.xpcom.impl.awt.AwtLinuxPlatform.doInitialize(SourceFile:40)
at com.jniwrapper.xpcom.impl.Platform.initialize(SourceFile:96)
at com.jniwrapper.xpcom.Xpcom.e(SourceFile:127)
at com.jniwrapper.xpcom.Xpcom.a(SourceFile:25)
at com.jniwrapper.xpcom.Xpcom$1.run(SourceFile:72)
at com.jniwrapper.xpcom.impl.awt.SingleThreadMessageLoop$4.run(SourceFile:104)
at com.jniwrapper.xpcom.impl.awt.SingleThreadMessageLoop$1.run(SourceFile:42)
at java.lang.Thread.run(Thread.java:595)
java.lang.RuntimeException: java.lang.NullPointerException
at com.jniwrapper.xpcom.impl.awt.SingleThreadMessageLoop.invokeAndWait(SourceFile:125)
at com.jniwrapper.xpcom.Xpcom.invokeAndWait(SourceFile:307)
at com.jniwrapper.xpcom.Xpcom.initialize(SourceFile:68)
at org.jetbrains.idea.browser.impl.HtmlPreviewApplicationComponent.initMozilla(HtmlPreviewApplicationComponent.java:113)
at org.jetbrains.idea.browser.impl.HtmlPreviewApplicationComponent.installMozilla(HtmlPreviewApplicationComponent.java:239)
at org.jetbrains.idea.browser.impl.DownloadPanel$DownloadAction.actionPerformed(DownloadPanel.java:102)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1778)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:112)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:158)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:130)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: java.lang.NullPointerException
at com.jniwrapper.Callback.init(SourceFile:140)
at com.jniwrapper.x11.ErrorHandlerProc.<init>(SourceFile:16)
at com.jniwrapper.xpcom.impl.awt.AwtLinuxPlatform$VoidErrorHandler.<init>(SourceFile:57)
at com.jniwrapper.xpcom.impl.awt.AwtLinuxPlatform$VoidErrorHandler.<init>(SourceFile:57)
at com.jniwrapper.xpcom.impl.awt.AwtLinuxPlatform.doInitialize(SourceFile:40)
at com.jniwrapper.xpcom.impl.Platform.initialize(SourceFile:96)
at com.jniwrapper.xpcom.Xpcom.e(SourceFile:127)
at com.jniwrapper.xpcom.Xpcom.a(SourceFile:25)
at com.jniwrapper.xpcom.Xpcom$1.run(SourceFile:72)
at com.jniwrapper.xpcom.impl.awt.SingleThreadMessageLoop$4.run(SourceFile:104)
at com.jniwrapper.xpcom.impl.awt.SingleThreadMessageLoop$1.run(SourceFile:42)
at java.lang.Thread.run(Thread.java:595)
[ 54389] ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(486,228),button=1,modifiers=Button1,clickCount=1] on frame0
java.lang.RuntimeException: java.lang.NullPointerException
at com.jniwrapper.xpcom.impl.awt.SingleThreadMessageLoop.invokeAndWait(SourceFile:125)
at com.jniwrapper.xpcom.Xpcom.invokeAndWait(SourceFile:307)
at com.jniwrapper.xpcom.Xpcom.initialize(SourceFile:68)
at org.jetbrains.idea.browser.impl.HtmlPreviewApplicationComponent.initMozilla(HtmlPreviewApplicationComponent.java:113)
at org.jetbrains.idea.browser.impl.HtmlPreviewApplicationComponent.installMozilla(HtmlPreviewApplicationComponent.java:239)
at org.jetbrains.idea.browser.impl.DownloadPanel$DownloadAction.actionPerformed(DownloadPanel.java:102)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1778)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:112)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:158)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:130)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: java.lang.NullPointerException
at com.jniwrapper.Callback.init(SourceFile:140)
at com.jniwrapper.x11.ErrorHandlerProc.<init>(SourceFile:16)
at com.jniwrapper.xpcom.impl.awt.AwtLinuxPlatform$VoidErrorHandler.<init>(SourceFile:57)
at com.jniwrapper.xpcom.impl.awt.AwtLinuxPlatform$VoidErrorHandler.<init>(SourceFile:57)
at com.jniwrapper.xpcom.impl.awt.AwtLinuxPlatform.doInitialize(SourceFile:40)
at com.jniwrapper.xpcom.impl.Platform.initialize(SourceFile:96)
at com.jniwrapper.xpcom.Xpcom.e(SourceFile:127)
at com.jniwrapper.xpcom.Xpcom.a(SourceFile:25)
at com.jniwrapper.xpcom.Xpcom$1.run(SourceFile:72)
at com.jniwrapper.xpcom.impl.awt.SingleThreadMessageLoop$4.run(SourceFile:104)
at com.jniwrapper.xpcom.impl.awt.SingleThreadMessageLoop$1.run(SourceFile:42)
at java.lang.Thread.run(Thread.java:595)
[ 54443] ERROR - com.intellij.ide.IdeEventQueue - IntelliJ IDEA 6.0.6 Build #6194
[ 54444] ERROR - com.intellij.ide.IdeEventQueue - JDK: 1.5.0_09
[ 54444] ERROR - com.intellij.ide.IdeEventQueue - VM: Java HotSpot(TM) Client VM
[ 54445] ERROR - com.intellij.ide.IdeEventQueue - Vendor: Sun Microsystems Inc.
[ 54445] ERROR - com.intellij.ide.IdeEventQueue - OS: Linux
[ 54445] ERROR - com.intellij.ide.IdeEventQueue - Last Action: $Undo
[ 54445] ERROR - com.intellij.ide.IdeEventQueue - Original exception:
java.lang.NullPointerException
at com.jniwrapper.Callback.init(SourceFile:140)
at com.jniwrapper.x11.ErrorHandlerProc.<init>(SourceFile:16)
at com.jniwrapper.xpcom.impl.awt.AwtLinuxPlatform$VoidErrorHandler.<init>(SourceFile:57)
at com.jniwrapper.xpcom.impl.awt.AwtLinuxPlatform$VoidErrorHandler.<init>(SourceFile:57)
at com.jniwrapper.xpcom.impl.awt.AwtLinuxPlatform.doInitialize(SourceFile:40)
at com.jniwrapper.xpcom.impl.Platform.initialize(SourceFile:96)
at com.jniwrapper.xpcom.Xpcom.e(SourceFile:127)
at com.jniwrapper.xpcom.Xpcom.a(SourceFile:25)
at com.jniwrapper.xpcom.Xpcom$1.run(SourceFile:72)
at com.jniwrapper.xpcom.impl.awt.SingleThreadMessageLoop$4.run(SourceFile:104)
at com.jniwrapper.xpcom.impl.awt.SingleThreadMessageLoop$1.run(SourceFile:42)
at java.lang.Thread.run(Thread.java:595)
Will this fix be also ported on the 6.0.x branch / version of IDEA? SInce the HTML Preview capability is also present in the 6.0.x version and the issue occurs here as well.
Marius Baghiu - 27 Nov 07 17:06 Will this fix be also ported on the 6.0.x branch / version of IDEA? SInce the HTML Preview capability is also present in the 6.0.x version and the issue occurs here as well.
java.lang.RuntimeException: java.lang.NullPointerException at com.jniwrapper.xpcom.impl.awt.SingleThreadMessageLoop.invokeAndWait(SourceFile:125) at com.jniwrapper.xpcom.Xpcom.invokeAndWait(SourceFile:307) at com.jniwrapper.xpcom.Xpcom.initialize(SourceFile:68) at org.jetbrains.idea.browser.impl.HtmlPreviewApplicationComponent.initMozilla(HtmlPreviewApplicationComponent.java:113) at org.jetbrains.idea.browser.impl.HtmlPreviewApplicationComponent.installMozilla(HtmlPreviewApplicationComponent.java:239) at org.jetbrains.idea.browser.impl.DownloadPanel$DownloadAction.actionPerformed(DownloadPanel.java:102) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.Component.processMouseEvent(Component.java:5488) at javax.swing.JComponent.processMouseEvent(JComponent.java:3126) at java.awt.Component.processEvent(Component.java:5253) at java.awt.Container.processEvent(Container.java:1966) at java.awt.Component.dispatchEventImpl(Component.java:3955) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822) at java.awt.Container.dispatchEventImpl(Container.java:2010) at java.awt.Window.dispatchEventImpl(Window.java:1778) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:112) at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:158) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:130) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) Caused by: java.lang.NullPointerException at com.jniwrapper.Callback.init(SourceFile:140) at com.jniwrapper.x11.ErrorHandlerProc.<init>(SourceFile:16) at com.jniwrapper.xpcom.impl.awt.AwtLinuxPlatform$VoidErrorHandler.<init>(SourceFile:57) at com.jniwrapper.xpcom.impl.awt.AwtLinuxPlatform$VoidErrorHandler.<init>(SourceFile:57) at com.jniwrapper.xpcom.impl.awt.AwtLinuxPlatform.doInitialize(SourceFile:40) at com.jniwrapper.xpcom.impl.Platform.initialize(SourceFile:96) at com.jniwrapper.xpcom.Xpcom.e(SourceFile:127) at com.jniwrapper.xpcom.Xpcom.a(SourceFile:25) at com.jniwrapper.xpcom.Xpcom$1.run(SourceFile:72) at com.jniwrapper.xpcom.impl.awt.SingleThreadMessageLoop$4.run(SourceFile:104) at com.jniwrapper.xpcom.impl.awt.SingleThreadMessageLoop$1.run(SourceFile:42) at java.lang.Thread.run(Thread.java:595) [ 54389] ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(486,228),button=1,modifiers=Button1,clickCount=1] on frame0 java.lang.RuntimeException: java.lang.NullPointerException at com.jniwrapper.xpcom.impl.awt.SingleThreadMessageLoop.invokeAndWait(SourceFile:125) at com.jniwrapper.xpcom.Xpcom.invokeAndWait(SourceFile:307) at com.jniwrapper.xpcom.Xpcom.initialize(SourceFile:68) at org.jetbrains.idea.browser.impl.HtmlPreviewApplicationComponent.initMozilla(HtmlPreviewApplicationComponent.java:113) at org.jetbrains.idea.browser.impl.HtmlPreviewApplicationComponent.installMozilla(HtmlPreviewApplicationComponent.java:239) at org.jetbrains.idea.browser.impl.DownloadPanel$DownloadAction.actionPerformed(DownloadPanel.java:102) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.Component.processMouseEvent(Component.java:5488) at javax.swing.JComponent.processMouseEvent(JComponent.java:3126) at java.awt.Component.processEvent(Component.java:5253) at java.awt.Container.processEvent(Container.java:1966) at java.awt.Component.dispatchEventImpl(Component.java:3955) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822) at java.awt.Container.dispatchEventImpl(Container.java:2010) at java.awt.Window.dispatchEventImpl(Window.java:1778) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:112) at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:158) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:130) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) Caused by: java.lang.NullPointerException at com.jniwrapper.Callback.init(SourceFile:140) at com.jniwrapper.x11.ErrorHandlerProc.<init>(SourceFile:16) at com.jniwrapper.xpcom.impl.awt.AwtLinuxPlatform$VoidErrorHandler.<init>(SourceFile:57) at com.jniwrapper.xpcom.impl.awt.AwtLinuxPlatform$VoidErrorHandler.<init>(SourceFile:57) at com.jniwrapper.xpcom.impl.awt.AwtLinuxPlatform.doInitialize(SourceFile:40) at com.jniwrapper.xpcom.impl.Platform.initialize(SourceFile:96) at com.jniwrapper.xpcom.Xpcom.e(SourceFile:127) at com.jniwrapper.xpcom.Xpcom.a(SourceFile:25) at com.jniwrapper.xpcom.Xpcom$1.run(SourceFile:72) at com.jniwrapper.xpcom.impl.awt.SingleThreadMessageLoop$4.run(SourceFile:104) at com.jniwrapper.xpcom.impl.awt.SingleThreadMessageLoop$1.run(SourceFile:42) at java.lang.Thread.run(Thread.java:595) [ 54443] ERROR - com.intellij.ide.IdeEventQueue - IntelliJ IDEA 6.0.6 Build #6194 [ 54444] ERROR - com.intellij.ide.IdeEventQueue - JDK: 1.5.0_09 [ 54444] ERROR - com.intellij.ide.IdeEventQueue - VM: Java HotSpot(TM) Client VM [ 54445] ERROR - com.intellij.ide.IdeEventQueue - Vendor: Sun Microsystems Inc. [ 54445] ERROR - com.intellij.ide.IdeEventQueue - OS: Linux [ 54445] ERROR - com.intellij.ide.IdeEventQueue - Last Action: $Undo [ 54445] ERROR - com.intellij.ide.IdeEventQueue - Original exception: java.lang.NullPointerException at com.jniwrapper.Callback.init(SourceFile:140) at com.jniwrapper.x11.ErrorHandlerProc.<init>(SourceFile:16) at com.jniwrapper.xpcom.impl.awt.AwtLinuxPlatform$VoidErrorHandler.<init>(SourceFile:57) at com.jniwrapper.xpcom.impl.awt.AwtLinuxPlatform$VoidErrorHandler.<init>(SourceFile:57) at com.jniwrapper.xpcom.impl.awt.AwtLinuxPlatform.doInitialize(SourceFile:40) at com.jniwrapper.xpcom.impl.Platform.initialize(SourceFile:96) at com.jniwrapper.xpcom.Xpcom.e(SourceFile:127) at com.jniwrapper.xpcom.Xpcom.a(SourceFile:25) at com.jniwrapper.xpcom.Xpcom$1.run(SourceFile:72) at com.jniwrapper.xpcom.impl.awt.SingleThreadMessageLoop$4.run(SourceFile:104) at com.jniwrapper.xpcom.impl.awt.SingleThreadMessageLoop$1.run(SourceFile:42) at java.lang.Thread.run(Thread.java:595)