Crash in IDEA when not using MPS, may be MPS related

Hello Doug,

Could you please report it to the MPS developers? There should be

instructions how to report MPS bugs on the download page:

http://www.jetbrains.net/confluence/display/MPS/WelcometoJetBrainsMPSEarlyAccessProgram

Serge Baranov

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

-


Original Message-----

From: "Doug Hockin" <dhockin@tibco.com>

Sent: Wednesday, November 23, 2005, 2:29:08 AM

To: support@jetbrains.com

Subject: IDEA Hung

IDEA just hung on me.  It was completely unresponsive and there was no CPU use.  Eventually, after maybe 10 minutes it came back to life.  Here's the backtrace from the console during the hang, I think, as I'm not sure when it came back to life as I was busy collecting the backtrace.  I have MPS installed -- the first few stack traces are a couple days old and unrelated (I think) to the hang.

D:\Tools\IntelliJ IDEA 5.0\bin>idea.bat

Using JVMPI

*** HINT ***: we recommend using Java 5.0 and JVMTI when possible!

Listening on port 10100...

java.io.IOException: Connection refused: connect

        at org.apache.xmlrpc.XmlRpcClient$Worker.execute(XmlRpcClient.java:444)

        at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:163)

        at jetbrains.mps.plugin.BuildHandler.rebuildImportedClassesInMPS(BuildHandler.java:43)

        at jetbrains.mps.plugin.BuildHandler.access$000(BuildHandler.java:14)

        at jetbrains.mps.plugin.BuildHandler$1.compilationFinished(BuildHandler.java:27)

        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:585)

        at com.intellij.util.EventDispatcher.a(EventDispatcher.java:60)

        at com.intellij.util.EventDispatcher.a(EventDispatcher.java:27)

        at com.intellij.util.EventDispatcher.access$100(EventDispatcher.java:44)

        at com.intellij.util.EventDispatcher$1.invoke(EventDispatcher.java:8)

        at $Proxy30.compilationFinished(Unknown Source)

        at com.intellij.compiler.CompilerManagerImpl$ListenerNotificator.finished(CompilerManagerImpl.java:2)

        at com.intellij.compiler.impl.CompileDriver$6.run(CompileDriver.java:10)

        at com.intellij.openapi.application.impl.LaterInvocatorEx$FlushQueue.run(LaterInvocatorEx.java:19)

        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)

        at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)

        at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:54)

        at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:104)

        at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:112)

        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)

        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)

        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)

        at java.awt.Dialog$1.run(Dialog.java:515)

        at java.awt.Dialog.show(Dialog.java:536)

        at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:11)

        at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:126)

        at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:722)

        at com.intellij.compiler.progress.CompilerProgressIndicator$2.run(CompilerProgressIndicator.java:2)

        at com.intellij.openapi.application.impl.LaterInvocatorEx$FlushQueue.run(LaterInvocatorEx.java:19)

        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)

        at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)

        at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:54)

        at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:104)

        at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:112)

        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)

java.io.IOException: Connection refused: connect

        at org.apache.xmlrpc.XmlRpcClient$Worker.execute(XmlRpcClient.java:444)

        at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:163)

        at jetbrains.mps.plugin.MPSRenamer.handleInstanceFieldRename(MPSRenamer.java:175)

        at jetbrains.mps.plugin.MPSRenamer.access$700(MPSRenamer.java:17)

        at jetbrains.mps.plugin.MPSRenamer$4.elementRenamed(MPSRenamer.java:104)

        at com.intellij.refactoring.listeners.impl.impl.RefactoringTransactionImpl$MyRefactoringElementListener$2.run(RefactoringTransact

Impl.java:2)

        at com.intellij.refactoring.listeners.impl.impl.RefactoringTransactionImpl.commit(RefactoringTransactionImpl.java:5)

        at com.intellij.refactoring.BaseRefactoringProcessor$5.run(BaseRefactoringProcessor.java:6)

        at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:279)

        at com.intellij.refactoring.BaseRefactoringProcessor.a(BaseRefactoringProcessor.java:37)

        at com.intellij.refactoring.BaseRefactoringProcessor.access$000(BaseRefactoringProcessor.java:23)

        at com.intellij.refactoring.BaseRefactoringProcessor$3$1.run(BaseRefactoringProcessor.java:1)

        at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:279)

        at com.intellij.refactoring.BaseRefactoringProcessor$3.run(BaseRefactoringProcessor.java:1)

        at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:51)

        at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:60)

        at com.intellij.refactoring.BaseRefactoringProcessor.execute(BaseRefactoringProcessor.java:12)

        at com.intellij.refactoring.BaseRefactoringProcessor.doRun(BaseRefactoringProcessor.java:98)

        at com.intellij.refactoring.rename.RenameProcessor.doRun(RenameProcessor.java:251)

        at com.intellij.refactoring.BaseRefactoringProcessor.run(BaseRefactoringProcessor.java:60)

        at com.intellij.refactoring.ui.RefactoringDialog.invokeRefactoring(RefactoringDialog.java:2)

        at com.intellij.refactoring.rename.RenameDialog.doAction(RenameDialog.java:7)

        at com.intellij.refactoring.ui.RefactoringDialog.doRefactorAction(RefactoringDialog.java:26)

        at com.intellij.refactoring.ui.RefactoringDialog$RefactorAction.actionPerformed(RefactoringDialog.java:5)

        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:234)

        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:1774)

        at java.awt.Component.dispatchEvent(Component.java:3803)

        at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)

        at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:54)

        at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:1)

        at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:112)

        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)

        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)

        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)

        at java.awt.Dialog$1.run(Dialog.java:515)

        at java.awt.Dialog.show(Dialog.java:536)

        at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:11)

        at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:126)

        at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:722)

        at com.intellij.refactoring.rename.PsiElementRenameHandler.a(PsiElementRenameHandler.java:33)

        at com.intellij.refactoring.rename.PsiElementRenameHandler.invoke(PsiElementRenameHandler.java:29)

        at com.intellij.refactoring.rename.PsiElementRenameHandler.invoke(PsiElementRenameHandler.java:38)

        at com.intellij.refactoring.actions.BaseRefactoringAction.actionPerformed(BaseRefactoringAction.java:42)

        at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:12)

        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)

        at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:9)

        at com.intellij.ui.plaf.beg.BegMenuItemUI.a(BegMenuItemUI.java:91)

        at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:70)

        at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:6)

        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:1774)

        at java.awt.Component.dispatchEvent(Component.java:3803)

        at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)

        at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:54)

        at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:1)

        at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:112)

        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)

java.io.IOException: Connection refused: connect

        at org.apache.xmlrpc.XmlRpcClient$Worker.execute(XmlRpcClient.java:444)

        at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:163)

        at jetbrains.mps.plugin.BuildHandler.rebuildImportedClassesInMPS(BuildHandler.java:43)

        at jetbrains.mps.plugin.BuildHandler.access$000(BuildHandler.java:14)

        at jetbrains.mps.plugin.BuildHandler$1.compilationFinished(BuildHandler.java:27)

        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:585)

        at com.intellij.util.EventDispatcher.a(EventDispatcher.java:60)

        at com.intellij.util.EventDispatcher.a(EventDispatcher.java:27)

        at com.intellij.util.EventDispatcher.access$100(EventDispatcher.java:44)

        at com.intellij.util.EventDispatcher$1.invoke(EventDispatcher.java:8)

        at $Proxy30.compilationFinished(Unknown Source)

        at com.intellij.compiler.CompilerManagerImpl$ListenerNotificator.finished(CompilerManagerImpl.java:2)

        at com.intellij.compiler.impl.CompileDriver$6.run(CompileDriver.java:10)

        at com.intellij.openapi.application.impl.LaterInvocatorEx$FlushQueue.run(LaterInvocatorEx.java:19)

        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)

        at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)

        at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:54)

        at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:104)

        at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:112)

        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)

        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)

        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)

        at java.awt.Dialog$1.run(Dialog.java:515)

        at java.awt.Dialog.show(Dialog.java:536)

        at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:11)

        at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:126)

        at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:722)

        at com.intellij.compiler.progress.CompilerProgressIndicator$2.run(CompilerProgressIndicator.java:2)

        at com.intellij.openapi.application.impl.LaterInvocatorEx$FlushQueue.run(LaterInvocatorEx.java:19)

        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)

        at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)

        at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:54)

        at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:104)

        at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:112)

        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)

java.io.IOException: Connection refused: connect

        at org.apache.xmlrpc.XmlRpcClient$Worker.execute(XmlRpcClient.java:444)

        at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:163)

        at jetbrains.mps.plugin.BuildHandler.rebuildImportedClassesInMPS(BuildHandler.java:43)

        at jetbrains.mps.plugin.BuildHandler.access$000(BuildHandler.java:14)

        at jetbrains.mps.plugin.BuildHandler$1.compilationFinished(BuildHandler.java:27)

        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:585)

        at com.intellij.util.EventDispatcher.a(EventDispatcher.java:60)

        at com.intellij.util.EventDispatcher.a(EventDispatcher.java:27)

        at com.intellij.util.EventDispatcher.access$100(EventDispatcher.java:44)

        at com.intellij.util.EventDispatcher$1.invoke(EventDispatcher.java:8)

        at $Proxy30.compilationFinished(Unknown Source)

        at com.intellij.compiler.CompilerManagerImpl$ListenerNotificator.finished(CompilerManagerImpl.java:2)

        at com.intellij.compiler.impl.CompileDriver$6.run(CompileDriver.java:10)

        at com.intellij.openapi.application.impl.LaterInvocatorEx$FlushQueue.run(LaterInvocatorEx.java:19)

        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)

        at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)

        at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:54)

        at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:104)

        at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:112)

        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)

        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)

        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)

        at java.awt.Dialog$1.run(Dialog.java:515)

        at java.awt.Dialog.show(Dialog.java:536)

        at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:11)

        at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:126)

        at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:722)

        at com.intellij.compiler.progress.CompilerProgressIndicator$2.run(CompilerProgressIndicator.java:2)Full

thread dump Java HotSpot(Client VM (1.5.0_04-b05 mixed mode):

"EditorCaretThread" prio=7 tid=0x1c124bb0 nid=0x740 waiting on condition

        at java.lang.Thread.sleep(Native Method)

        at com.intellij.openapi.editor.impl.EditorImpl$RepaintCursorThread.run(EditorImpl.java:12)

"AlarmThread" prio=7 tid=0x1bfc91c0 nid=0x6c8 in Object.wait()

        at java.lang.Object.wait(Native Method)

        - waiting on <0x053bc6c8> (a java.lang.Object)         at java.lang.Object.wait(Object.java:474)         at com.intellij.util.Alarm$MyThread.run(Alarm.java:208)         - locked <0x053bc6c8> (a java.lang.Object)

"Thread-7" prio=7 tid=0x1c048e58 nid=0x728 waiting on condition

        at java.lang.Thread.sleep(Native Method)

        at com.intellij.diagnostic.IdeMessagePanel$Blinker.run(IdeMessagePanel.java:13)

"Fatal Errors Grouper" prio=7 tid=0x1c049bf8 nid=0x7dc waiting on condition

        at java.lang.Thread.sleep(Native Method)

        at com.intellij.diagnostic.MessagePool$MessageGrouper.run(MessagePool.java:30)

"XML-RPC Weblistener" prio=7 tid=0x1bfa4478 nid=0x710 runnable

        at java.net.PlainSocketImpl.socketAccept(Native Method)

        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)

        - locked <0x04c90fd8> (a java.net.SocksSocketImpl)

        at java.net.ServerSocket.implAccept(ServerSocket.java:450)

        at java.net.ServerSocket.accept(ServerSocket.java:421)

        at org.apache.xmlrpc.WebServer.run(WebServer.java:485)

        at java.lang.Thread.run(Thread.java:595)

"TimerQueue" daemon prio=5 tid=0x1bf946e8 nid=0x8e0 in Object.wait()

        at java.lang.Object.wait(Native Method)

        at javax.swing.TimerQueue.run(TimerQueue.java:233)

        - locked <0x04c07318> (a javax.swing.TimerQueue)

        at java.lang.Thread.run(Thread.java:595)

"StoreRefreshStatusThread" prio=2 tid=0x1be285a8 nid=0x8e8 waiting on condition

        at java.lang.Thread.sleep(Native Method)

        at com.intellij.openapi.vfs.impl.local.LocalFileSystemImpl$StoreRefreshStatusThread.run(LocalFileSystemImpl.java:7)

"WatchForChangesThread" prio=7 tid=0x1be0abd8 nid=0x640 runnable

        at com.intellij.vfs.local.win32.FileWatcher.waitForChangeImpl(Native Method)

        at com.intellij.vfs.local.win32.FileWatcher.waitForChange(FileWatcher.java:0)

        at com.intellij.openapi.vfs.impl.local.LocalFileSystemImpl$WatchForChangesThread.run(LocalFileSystemImpl.java:0)

"Thread-3" prio=7 tid=0x1ba652c0 nid=0x770 waiting on condition

        at java.lang.Thread.sleep(Native Method)

        at com.intellij.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:3)

"AWT-EventQueue-1" prio=7 tid=0x1bf69480 nid=0x7a8 runnable

        at java.io.FileOutputStream.writeBytes(Native Method)

        at java.io.FileOutputStream.write(FileOutputStream.java:260)

        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)

        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)

        - locked <0x0461f5d8> (a java.io.BufferedOutputStream)         at java.io.PrintStream.write(PrintStream.java:414)         - locked <0x0461ab78> (a java.io.PrintStream)         at sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336)         at sun.nio.cs.StreamEncoder$CharsetSE.implFlushBuffer(StreamEncoder.java:404)         at sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:115)         - locked <0x0461f618> (a java.io.OutputStreamWriter)         at java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:169)         at java.io.PrintStream.write(PrintStream.java:459)         - locked <0x0461ab78> (a java.io.PrintStream)         at java.io.PrintStream.print(PrintStream.java:602)         at java.io.PrintStream.println(PrintStream.java:739)         - locked <0x0461ab78> (a java.io.PrintStream)         at java.lang.Throwable.printStackTrace(Throwable.java:465)         - locked <0x0461ab78> (a java.io.PrintStream)         at java.lang.Throwable.printStackTrace(Throwable.java:452)         at jetbrains.mps.plugin.BuildHandler.rebuildImportedClassesInMPS(BuildHandler.java:45)         at jetbrains.mps.plugin.BuildHandler.access$000(BuildHandler.java:14)         at jetbrains.mps.plugin.BuildHandler$1.compilationFinished(BuildHandler.java:27)         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:585)         at com.intellij.util.EventDispatcher.a(EventDispatcher.java:60)         at com.intellij.util.EventDispatcher.a(EventDispatcher.java:27)         at com.intellij.util.EventDispatcher.access$100(EventDispatcher.java:44)         at com.intellij.util.EventDispatcher$1.invoke(EventDispatcher.java:8)         at $Proxy30.compilationFinished(Unknown Source)         at com.intellij.compiler.CompilerManagerImpl$ListenerNotificator.finished(CompilerManagerImpl.java:2)         at com.intellij.compiler.impl.CompileDriver$6.run(CompileDriver.java:10)         at com.intellij.openapi.application.impl.LaterInvocatorEx$FlushQueue.run(LaterInvocatorEx.java:19)         - locked <0x04a32f78> (a java.lang.Object)         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)         at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:54)         at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:104)         at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:112)         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)         at java.awt.Dialog$1.run(Dialog.java:515)         at java.awt.Dialog.show(Dialog.java:536)         at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:11)         at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:126)         at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:722)         - locked <0x05479848> (a java.lang.Object)         at com.intellij.compiler.progress.CompilerProgressIndicator$2.run(CompilerProgressIndicator.java:2)         at com.intellij.openapi.application.impl.LaterInvocatorEx$FlushQueue.run(LaterInvocatorEx.java:19)         - locked <0x04a32f78> (a java.lang.Object)

        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)

        at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)

        at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:54)

        at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:104)

        at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:112)

        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)

"AWT-Shutdown" prio=7 tid=0x1be34548 nid=0x894 in Object.wait()

        at java.lang.Object.wait(Native Method)

        - waiting on <0x04659bc0> (a java.lang.Object)         at java.lang.Object.wait(Object.java:474)         at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)         - locked <0x04659bc0> (a java.lang.Object)

        at java.lang.Thread.run(Thread.java:595)

"AlarmThread" prio=5 tid=0x1bf26008 nid=0x77c in Object.wait()

        at java.lang.Object.wait(Native Method)

        at java.lang.Object.wait(Object.java:474)

        at com.intellij.util.Alarm$MyThread.run(Alarm.java:208)

        - locked <0x04688070> (a java.lang.Object)

"AlarmThread" prio=5 tid=0x1bd70410 nid=0x814 in Object.wait()

        at java.lang.Object.wait(Native Method)

        at com.intellij.util.Alarm$MyThread.run(Alarm.java:268)

        - locked <0x046880f8> (a java.lang.Object)

"Timer-0" daemon prio=5 tid=0x1baab7f0 nid=0x7f8 in Object.wait()

        at java.lang.Object.wait(Native Method)

        - waiting on <0x04688168> (a java.util.TaskQueue)         at java.util.TimerThread.mainLoop(Timer.java:509)         - locked <0x04688168> (a java.util.TaskQueue)

        at java.util.TimerThread.run(Timer.java:462)

"SocketListenerThread" prio=5 tid=0x1bd92bb0 nid=0x8e4 runnable

        at java.net.PlainDatagramSocketImpl.receive0(Native Method)

        - locked <0x0467ed30> (a java.net.PlainDatagramSocketImpl)         at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)         - locked <0x0467ed30> (a java.net.PlainDatagramSocketImpl)         at java.net.DatagramSocket.receive(DatagramSocket.java:712)         - locked <0x02f14260> (a java.net.DatagramPacket)         - locked <0x0467ed70> (a java.net.MulticastSocket)

        at com.intellij.licensecommon.net.impl.SocketImpl.receive(SocketImpl.java:32)

        at com.intellij.licensecommon.net.impl.SocketListenerThread.run(SocketListenerThread.java:13)

"SocketListenerThread" prio=5 tid=0x1bd71940 nid=0x714 runnable

        at java.net.PlainDatagramSocketImpl.receive0(Native Method)

        - locked <0x04681558> (a java.net.PlainDatagramSocketImpl)         at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)         - locked <0x04681558> (a java.net.PlainDatagramSocketImpl)         at java.net.DatagramSocket.receive(DatagramSocket.java:712)         - locked <0x04681598> (a java.net.DatagramPacket)         - locked <0x046815b8> (a java.net.DatagramSocket)

        at com.intellij.licensecommon.net.impl.SocketImpl.receive(SocketImpl.java:32)

        at com.intellij.licensecommon.net.impl.SocketListenerThread.run(SocketListenerThread.java:13)

"MessageDeliveryThread" prio=5 tid=0x1bd838e8 nid=0x8a0 in Object.wait()

        at java.lang.Object.wait(Native Method)

        - waiting on <0x04681658> (a java.lang.Object)         at java.lang.Object.wait(Object.java:474)         at com.intellij.licensecommon.net.MessageDeliveryThread.run(MessageDeliveryThread.java:19)         - locked <0x04681658> (a java.lang.Object)

"AWT-Windows" daemon prio=7 tid=0x1baab5c0 nid=0x6b8 runnable

        at sun.awt.windows.WToolkit.eventLoop(Native Method)

        at sun.awt.windows.WToolkit.run(WToolkit.java:269)

        at java.lang.Thread.run(Thread.java:595)

"Java2D Disposer" daemon prio=10 tid=0x1bac74b0 nid=0x174 in Object.wait()

        at java.lang.Object.wait(Native Method)

        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)

        - locked <0x04659c48> (a java.lang.ref.ReferenceQueue$Lock)

        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)

        at sun.java2d.Disposer.run(Disposer.java:107)

        at java.lang.Thread.run(Thread.java:595)

"Lock thread" prio=5 tid=0x1ba35438 nid=0x61c runnable

        at java.net.PlainSocketImpl.socketAccept(Native Method)

        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)

        - locked <0x0460cba0> (a java.net.SocksSocketImpl)

        at java.net.ServerSocket.implAccept(ServerSocket.java:450)

        at java.net.ServerSocket.accept(ServerSocket.java:421)

        at com.intellij.idea.SocketLock$MyRunnable.run(SocketLock.java:9)

        at java.lang.Thread.run(Thread.java:595)

"DestroyJavaVM" prio=5 tid=0x00238d48 nid=0x30c waiting on condition

"Low Memory Detector" daemon prio=5 tid=0x00e6fc60 nid=0x75c runnable

"CompilerThread0" daemon prio=10 tid=0x00e35eb8 nid=0x850 waiting on condition

"Signal Dispatcher" daemon prio=10 tid=0x1ba01598 nid=0x774 waiting on condition

"YJP CPU Sampler" daemon prio=5 tid=0x1ba01410 nid=0x23c runnable

"YJP RequestServer" daemon prio=5 tid=0x00e4e7e8 nid=0x678 runnable

        at java.net.PlainSocketImpl.socketAccept(Native Method)

        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)

        - locked <0x0460cfe0> (a java.net.SocksSocketImpl)

        at java.net.ServerSocket.implAccept(ServerSocket.java:450)

        at java.net.ServerSocket.accept(ServerSocket.java:421)

        at com.yourkit.runtime.RequestServer.doIt(RequestServer.java:240)

        at com.yourkit.runtime.RequestServer.access$000(RequestServer.java:12)

        at com.yourkit.runtime.RequestServer$1.run(RequestServer.java:229)

"Finalizer" daemon prio=9 tid=0x00e29d28 nid=0x6ac in Object.wait()

        at java.lang.Object.wait(Native Method)

        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)

        - locked <0x0460d160> (a java.lang.ref.ReferenceQueue$Lock)

        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)

        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

"Reference Handler" daemon prio=10 tid=0x00e28838 nid=0x788 in Object.wait()

        at java.lang.Object.wait(Native Method)

        at java.lang.Object.wait(Object.java:474)

        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)

        - locked <0x0460cda0> (a java.lang.ref.Reference$Lock)

"VM Thread" prio=10 tid=0x00e25e88 nid=0x5bc runnable

"VM Periodic Task Thread" prio=10 tid=0x1b9e0d48 nid=0x758 waiting on condition

        at com.intellij.openapi.application.impl.LaterInvocatorEx$FlushQueue.run(LaterInvocatorEx.java:19)

        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)

        at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)

        at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:54)

        at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:104)

        at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:112)

        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)

--

OS: Windows NT/2000

JDK: JDK 1.5.0

IDEA: 5.0

Build: 3542

4 comments
Comment actions Permalink

Oops, forgot to say that I generated the thread dump by typing Ctrl-Break in the console from which I started IDEA.

0
Comment actions Permalink

Hello, Doug,

This problem is causes by MPS refactoring support. When you rename

something in IDEA MPS try to find corresponding node and rename it too

but because plugin is installed it tries to find MPS IDE that isn't

running at the moment. But I dont know why it takes too much time. When

socket can't connect to server it can understand it almost immediately.

Do you use any firewall?

P.S. On MPS download page we have section about bug reporting, may be it

  is hard to find it and we have to move it upper?

Konstantin.

0
Comment actions Permalink

When

socket can't connect to server it can understand it almost > immediately.

Do you use any firewall?

There's a firewall between the office where I work and the outside world, but none internally.  What would it be trying to connect to?  Jetbrains?

P.S. On MPS download page we have section about bug

reporting, may be it

  is hard to find it and we have to move it upper?

I've seen that and just looked again.  It still says to report problems here and has a link to Jira, but last I read in the forums you didn't want people to be entering problems directly there -- has that changed?

0
Comment actions Permalink

Hello, Doug,

Doug Hockin wrote:

There's a firewall between the office where I work and the outside

world, but none internally.  What would it be trying to connect to?

Jetbrains?

It connects to MPS plugin in IDEA. We use XMLRPC to for IDEA <-> MPS

connection.

I've seen that and just looked again.  It still says to report

problems here and has a link to Jira, but last I read in the forums

you didn't want people to be entering problems directly there -- has

that changed?

I think for us it would be better if people will report errors here

because we didn't has so much error reports as in IDEA so it is much

easier to discuss problems in forum than Jira.

Konstantin.

0

Please sign in to leave a comment.