Message loop is not initialized. Please call initAWT() or initSWT() first java.lang.IllegalStateException: Message loop is not initialized. Please call initAWT() or initSWT() first at com.jniwrapper.xpcom.impl.XpcMessageLoop.getInstance(SourceFile:23) at com.jniwrapper.xpcom.Xpcom.invokeLater(SourceFile:209) at com.jniwrapper.xpcom.impl.ProxyConfigurationImpl.setType(SourceFile:387) at org.jetbrains.idea.browser.impl.HtmlPreviewApplicationComponent.createBrowserComponent(HtmlPreviewApplicationComponent.java:272) at org.jetbrains.idea.browser.ui.BrowserEditor.createMainPanel(BrowserEditor.java:103) at org.jetbrains.idea.browser.ui.BrowserEditor.getComponent(BrowserEditor.java:206) at com.intellij.openapi.fileEditor.impl.EditorComposite.a(EditorComposite.java:31) at com.intellij.openapi.fileEditor.impl.EditorComposite.(EditorComposite.java:40)
at com.intellij.openapi.fileEditor.impl.EditorWithProviderComposite.]]>(EditorWithProviderComposite.java:12) at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl3(FileEditorManagerImpl.java:369) at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$4.run(FileEditorManagerImpl.java:2) at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:108) at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:3) at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl2(FileEditorManagerImpl.java:458) at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.a(FileEditorManagerImpl.java:202) at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileWithProviders(FileEditorManagerImpl.java:12) at com.intellij.openapi.fileEditor.ex.FileEditorManagerEx.openFile(FileEditorManagerEx.java:2) at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$5.run(FileEditorManagerImpl.java:7) at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:20) at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:3) at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openEditor(FileEditorManagerImpl.java:403) at com.intellij.openapi.fileEditor.OpenFileDescriptor.navigateInAnyFileEditor(OpenFileDescriptor.java:148) at com.intellij.openapi.fileEditor.OpenFileDescriptor.navigateInEditor(OpenFileDescriptor.java:132) at com.intellij.openapi.fileEditor.OpenFileDescriptor.navigate(OpenFileDescriptor.java:111) at com.intellij.ide.actions.GotoFileAction$1$1.run(GotoFileAction.java:4) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:3) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:170) at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:18) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:105) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
http://www.jetbrains.net/jira/browse/IDEADEV-20809 If you have previous IDEA EAP, try to replace 7269.build/plugins/htmlbrowser with a copy of previous.eap/plugins/htmlbrowser. This helps me, at least.
I get an exception if I try to open an HTML file.
Message loop is not initialized. Please call initAWT() or initSWT() first java.lang.IllegalStateException: Message loop is not initialized. Please call initAWT() or initSWT() first
When preview plugin is disabled, HTML files in IDEA have no "Mozilla preview" tab at all. Plugin was always enabled by default (tab was always shown), but to show actual preview it requires to download additional stuff to system directory. The bug is that now it cannot handle the case when this stuff is suddenly absent.
Also, does it mean Mozilla HTML Preview is now enabled by default ? We used to initiate an automatic download/install separately ..
I get an exception if I try to open an HTML file.
Message loop is not initialized. Please call initAWT() or initSWT() first
java.lang.IllegalStateException: Message loop is not initialized. Please call initAWT() or initSWT() first
at com.jniwrapper.xpcom.impl.XpcMessageLoop.getInstance(SourceFile:23)
at com.jniwrapper.xpcom.Xpcom.invokeLater(SourceFile:209)
at com.jniwrapper.xpcom.impl.ProxyConfigurationImpl.setType(SourceFile:387)
at org.jetbrains.idea.browser.impl.HtmlPreviewApplicationComponent.createBrowserComponent(HtmlPreviewApplicationComponent.java:272)
at org.jetbrains.idea.browser.ui.BrowserEditor.createMainPanel(BrowserEditor.java:103)
at org.jetbrains.idea.browser.ui.BrowserEditor.getComponent(BrowserEditor.java:206)
at com.intellij.openapi.fileEditor.impl.EditorComposite.a(EditorComposite.java:31)
at com.intellij.openapi.fileEditor.impl.EditorComposite.(EditorComposite.java:40) at com.intellij.openapi.fileEditor.impl.EditorWithProviderComposite.]]>(EditorWithProviderComposite.java:12)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl3(FileEditorManagerImpl.java:369)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$4.run(FileEditorManagerImpl.java:2)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:108)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:3)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl2(FileEditorManagerImpl.java:458)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.a(FileEditorManagerImpl.java:202)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileWithProviders(FileEditorManagerImpl.java:12)
at com.intellij.openapi.fileEditor.ex.FileEditorManagerEx.openFile(FileEditorManagerEx.java:2)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$5.run(FileEditorManagerImpl.java:7)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:20)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:3)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openEditor(FileEditorManagerImpl.java:403)
at com.intellij.openapi.fileEditor.OpenFileDescriptor.navigateInAnyFileEditor(OpenFileDescriptor.java:148)
at com.intellij.openapi.fileEditor.OpenFileDescriptor.navigateInEditor(OpenFileDescriptor.java:132)
at com.intellij.openapi.fileEditor.OpenFileDescriptor.navigate(OpenFileDescriptor.java:111)
at com.intellij.ide.actions.GotoFileAction$1$1.run(GotoFileAction.java:4)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:3)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:170)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:18)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:105)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Same here, tried to open an *.html file after choosing it with CtrlShiftN
Hello Alex, Travis.
http://www.jetbrains.net/jira/browse/IDEADEV-20809
If you have previous IDEA EAP, try to replace 7269.build/plugins/htmlbrowser
with a copy of previous.eap/plugins/htmlbrowser. This helps me, at least.
Alexander.
Replaced from 7255 build - works Ok
Also, does it mean Mozilla HTML Preview is now enabled by default ? We used to initiate an automatic download/install separately ..
Hello Evgeny,
When preview plugin is disabled, HTML files in IDEA have no "Mozilla preview"
tab at all. Plugin was always enabled by default (tab was always shown),
but to show actual preview it requires to download additional stuff to system
directory. The bug is that now it cannot handle the case when this stuff
is suddenly absent.
Alexander.