7274: IntelliJ hangs on startup
I ran into a situation where IntelliJ became unresponsive. After killing and restarting it I found that it hung on startup. I retried with older EAP's and it was still hanging. Then I cleared out C:\Documents and Settings\username\.IntelliJIdea70\system and it still freezes on startup.
Any tips on what to do?
Please sign in to leave a comment.
Check out http://www.jetbrains.net/jira/browse/IDEADEV-15441 and http://www.jetbrains.net/jira/browse/IDEADEV-18472 and see if it might be the problem. This has been fixed and tomorrow's weekly release will presumably include the fix, so you could try upgrading to that release once it's announced.
You might also want to look at http://www.intellij.net/forums/thread.jspa?threadID=269639
Randall Schulz
Omair-Inam Abdul-Matin wrote:
Please post a thread dump while IDEA hangs.
Sascha
Here you go:
2007-09-14 11:43:08
Full thread dump Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode):
"StackTrace Remote Thread" prio=6 tid=0x05972800 nid=0xec0 waiting on condition
java.lang.Thread.State: RUNNABLE
"JobScheduler pool" prio=6 tid=0x044c8000 nid=0xc94 waiting for monitor entry
java.lang.Thread.State: BLOCKED (on object monitor)
at com.intellij.psi.impl.source.parsing.ChameleonTransforming.transformChildren(ChameleonTransforming.java:37)
- waiting to lock ]]> (a java.lang.Object)
at com.intellij.psi.impl.source.parsing.ChameleonTransforming.transformChildren(ChameleonTransforming.java:50)
at com.intellij.psi.impl.source.xml.XmlFileImpl.getDocument(XmlFileImpl.java:10)
at com.intellij.psi.filters.position.NamespaceFilter.isAcceptable(NamespaceFilter.java:23)
at com.intellij.psi.filters.AndFilter.isAcceptable(AndFilter.java:27)
at com.intellij.psi.filters.ScopeFilter.isAcceptable(ScopeFilter.java:6)
at com.intellij.psi.impl.source.resolve.reference.NamedObjectProviderBinding.a(NamedObjectProviderBinding.java:7)
at com.intellij.psi.impl.source.resolve.reference.NamedObjectProviderBinding.addAcceptableReferenceProviders(NamedObjectProviderBinding.java:26)
at com.intellij.psi.impl.source.resolve.reference.XmlTagProviderBinding.addAcceptableReferenceProviders(XmlTagProviderBinding.java:0)
at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.getProvidersByElement(ReferenceProvidersRegistry.java:49)
at com.intellij.psi.impl.source.resolve.ResolveUtil.getReferencesFromProviders(ResolveUtil.java:87)
at com.intellij.psi.impl.source.xml.XmlTagImpl.getReferences(XmlTagImpl.java:371)
at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.a(XmlHighlightVisitor.java:39)
at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.a(XmlHighlightVisitor.java:232)
at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.visitXmlToken(XmlHighlightVisitor.java:47)
at com.intellij.psi.impl.source.xml.XmlTokenImpl.accept(XmlTokenImpl.java:7)
at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitXmlElement(HighlightVisitorImpl.java:506)
at com.intellij.psi.XmlElementVisitor.visitXmlToken(XmlElementVisitor.java:58)
at com.intellij.psi.impl.source.xml.XmlTokenImpl.accept(XmlTokenImpl.java:7)
at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visit(HighlightVisitorImpl.java:162)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:38)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$600(GeneralHighlightingPass.java:81)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$1.run(GeneralHighlightingPass.java:20)
at com.intellij.codeInsight.daemon.impl.RefCountHolder.analyzeAndStoreReferences(RefCountHolder.java:95)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:187)
at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:18)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:66)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:3)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:153)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:1)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:42)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:4)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
"JobScheduler pool" prio=6 tid=0x045e2800 nid=0x67c runnable
java.lang.Thread.State: RUNNABLE
at com.intellij.lang.ant.psi.impl.AntFileImpl.getProperty(AntFileImpl.java:351)
- waiting to lock (a java.lang.Object) at com.intellij.lang.ant.psi.impl.AntStructuredElementImpl.computeAttributeValue(AntStructuredElementImpl.java:515) at com.intellij.lang.ant.psi.impl.AntStructuredElementImpl.computeAttributeValue(AntStructuredElementImpl.java:520) at com.intellij.lang.ant.psi.impl.AntStructuredElementImpl.computeAttributeValue(AntStructuredElementImpl.java:286) - locked <0x1243af18> (a java.lang.Object) at com.intellij.lang.ant.psi.impl.AntPropertyImpl.getPropertyValue(AntPropertyImpl.java:232) at com.intellij.lang.ant.psi.impl.AntPropertyImpl.getValue(AntPropertyImpl.java:101) - locked <0x1243af18> (a java.lang.Object) at com.intellij.lang.ant.psi.impl.AntStructuredElementImpl.computeAttributeValue(AntStructuredElementImpl.java:518) at com.intellij.lang.ant.psi.impl.AntStructuredElementImpl.computeAttributeValue(AntStructuredElementImpl.java:286) - locked <0x1243af18>]]> (a java.lang.Object)
at com.intellij.lang.ant.psi.impl.AntPropertyImpl.getFileName(AntPropertyImpl.java:133)
at com.intellij.lang.ant.validation.AntMissingPropertiesFileInspection.checkElement(AntMissingPropertiesFileInspection.java:61)
at com.intellij.lang.ant.validation.AntMissingPropertiesFileInspection.checkElement(AntMissingPropertiesFileInspection.java:69)
at com.intellij.lang.ant.validation.AntMissingPropertiesFileInspection.checkFile(AntMissingPropertiesFileInspection.java:44)
at com.intellij.codeInspection.LocalInspectionTool$1.visitFile(LocalInspectionTool.java:104)
at com.intellij.extapi.psi.LightPsiFileBase.accept(LightPsiFileBase.java:21)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$1$1.run(LocalInspectionsPass.java:2)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:42)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$1.run(LocalInspectionsPass.java:2)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at com.intellij.concurrency.JobImpl.scheduleAndWaitForResults(JobImpl.java:69)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.inspect(LocalInspectionsPass.java:144)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:74)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.collectInformationWithProgress(LocalInspectionsPass.java:179)
at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:18)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:66)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:3)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:153)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:1)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:42)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:4)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
"Background process" prio=6 tid=0x04492800 nid=0x5f8 waiting on condition
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.$$YJP$$sleep(Native Method)
at java.lang.Thread.sleep(Thread.java)
at com.intellij.util.ui.Timer$1.run(Timer.java:23)
"Change List Updater" prio=6 tid=0x054e7800 nid=0x127c waiting on condition
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.$$YJP$$park(Native Method)
- parking to wait for ]]> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at sun.misc.Unsafe.park(Unsafe.java)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1889)
at java.util.concurrent.DelayQueue.take(DelayQueue.java:160)
at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:582)
at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:575)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:946)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:906)
at java.lang.Thread.run(Thread.java:619)
"ApplicationImpl pooled thread" prio=6 tid=0x0340d400 nid=0x114c waiting on condition
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.$$YJP$$park(Native Method)
- parking to wait for ]]> (a java.util.concurrent.SynchronousQueue$TransferStack)
at sun.misc.Unsafe.park(Unsafe.java)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:424)
at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:323)
at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:874)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:944)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:906)
at java.lang.Thread.run(Thread.java:619)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:3)
"You got mail" prio=6 tid=0x0535f800 nid=0xc5c waiting on condition
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.$$YJP$$sleep(Native Method)
at java.lang.Thread.sleep(Thread.java)
at com.intellij.util.ui.Timer$1.run(Timer.java:23)
"Alarm pool" prio=6 tid=0x046cc800 nid=0x98c waiting on condition
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.$$YJP$$park(Native Method)
- parking to wait for ]]> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at sun.misc.Unsafe.park(Unsafe.java)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1889)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:358)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:946)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:906)
at java.lang.Thread.run(Thread.java:619)
"You got mail" prio=6 tid=0x0477cc00 nid=0xb18 waiting on condition
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.$$YJP$$sleep(Native Method)
at java.lang.Thread.sleep(Thread.java)
at com.intellij.util.ui.Timer$1.run(Timer.java:23)
"Timer-0" daemon prio=6 tid=0x046d8800 nid=0xd80 in Object.wait()
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on (a java.util.TaskQueue) at java.util.TimerThread.mainLoop(Timer.java:509) - locked <0x12bfdd30>]]> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)
"Refreshing filesystem" prio=6 tid=0x047ed400 nid=0xc38 waiting on condition
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.$$YJP$$sleep(Native Method)
at java.lang.Thread.sleep(Thread.java)
at com.intellij.util.ui.Timer$1.run(Timer.java:23)
"TimerQueue" daemon prio=6 tid=0x046a2800 nid=0xbd8 in Object.wait()
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on (a javax.swing.TimerQueue) at javax.swing.TimerQueue.run(TimerQueue.java:236) - locked <0x126d6818>]]> (a javax.swing.TimerQueue)
at java.lang.Thread.run(Thread.java:619)
"ApplicationImpl pooled thread" prio=6 tid=0x044bac00 nid=0xde4 waiting on condition
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.$$YJP$$park(Native Method)
- parking to wait for ]]> (a java.util.concurrent.SynchronousQueue$TransferStack)
at sun.misc.Unsafe.park(Unsafe.java)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:424)
at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:323)
at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:874)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:944)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:906)
at java.lang.Thread.run(Thread.java:619)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:3)
"JetConnect reader" prio=6 tid=0x0467d400 nid=0xc44 waiting on condition
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.$$YJP$$sleep(Native Method)
at java.lang.Thread.sleep(Thread.java)
at com.intellij.jetConnect.reader.JetReader$1.run(JetReader.java:119)
"Exe4JStartupThread" daemon prio=6 tid=0x045d1800 nid=0xfa0 waiting on condition
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.$$YJP$$sleep(Native Method)
at java.lang.Thread.sleep(Thread.java)
at com.exe4j.Controller$StartupThread.run(Unknown Source)
"ApplicationImpl pooled thread" prio=6 tid=0x0451ec00 nid=0xe08 waiting on condition
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.$$YJP$$park(Native Method)
- parking to wait for ]]> (a java.util.concurrent.SynchronousQueue$TransferStack)
at sun.misc.Unsafe.park(Unsafe.java)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:424)
at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:323)
at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:874)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:944)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:906)
at java.lang.Thread.run(Thread.java:619)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:3)
"ApplicationImpl pooled thread" prio=6 tid=0x0451e400 nid=0xda8 waiting on condition
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.$$YJP$$park(Native Method)
- parking to wait for ]]> (a java.util.concurrent.SynchronousQueue$TransferStack)
at sun.misc.Unsafe.park(Unsafe.java)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:424)
at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:323)
at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:874)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:944)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:906)
at java.lang.Thread.run(Thread.java:619)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:3)
"FS Synchronizer" prio=6 tid=0x045a7400 nid=0xdf4 waiting on condition
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.$$YJP$$park(Native Method)
- parking to wait for ]]> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at sun.misc.Unsafe.park(Unsafe.java)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1889)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:358)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:946)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:906)
at java.lang.Thread.run(Thread.java:619)
"XML-RPC Weblistener" prio=6 tid=0x0455b800 nid=0xdd8 runnable
java.lang.Thread.State: RUNNABLE
at java.net.PlainSocketImpl.$$YJP$$socketAccept(Native Method)
at java.net.PlainSocketImpl.socketAccept(PlainSocketImpl.java)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
- locked ]]> (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:453)
at java.lang.Thread.run(Thread.java:619)
"StoreRefreshStatusThread" daemon prio=2 tid=0x04511800 nid=0xf70 waiting on condition
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.$$YJP$$sleep(Native Method)
at java.lang.Thread.sleep(Thread.java)
at com.intellij.openapi.vfs.impl.local.LocalFileSystemImpl$StoreRefreshStatusThread.run(LocalFileSystemImpl.java:1)
"WatchForChangesThread" prio=6 tid=0x0451b400 nid=0xf64 runnable
java.lang.Thread.State: RUNNABLE
at com.intellij.vfs.local.win32.FileWatcher.$$YJP$$waitForChangeImpl(Native Method)
at com.intellij.vfs.local.win32.FileWatcher.waitForChangeImpl(FileWatcher.java)
at com.intellij.vfs.local.win32.FileWatcher.waitForChange(FileWatcher.java:193)
at com.intellij.openapi.vfs.impl.local.LocalFileSystemImpl$WatchForChangesThread.run(LocalFileSystemImpl.java:11)
"File System Tracker" prio=6 tid=0x0451b000 nid=0xf40 waiting on condition
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.$$YJP$$park(Native Method)
- parking to wait for (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) at sun.misc.Unsafe.park(Unsafe.java) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1889) at java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:317) at com.intellij.openapi.vfs.impl.watcher.FileSystemTrackerImpl$1.run(FileSystemTrackerImpl.java:6) - locked <0x122bd718>]]> (a java.lang.Object)
at java.lang.Thread.run(Thread.java:619)
"Progress Cancel Checker" prio=6 tid=0x04504800 nid=0xc54 waiting on condition
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.$$YJP$$sleep(Native Method)
at java.lang.Thread.sleep(Thread.java)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:5)
"AWT-EventQueue-1" prio=6 tid=0x04568c00 nid=0xf38 waiting for monitor entry
java.lang.Thread.State: BLOCKED (on object monitor)
at com.intellij.lang.ant.psi.impl.AntStructuredElementImpl.getTypeDefinition(AntStructuredElementImpl.java:172)
- waiting to lock (a java.lang.Object) at com.intellij.lang.ant.config.impl.AntBreadcrumbsInfoProvider.getElementInfo(AntBreadcrumbsInfoProvider.java:38) at com.intellij.xml.breadcrumbs.BreadcrumbsComponent$LineElement.getInfoString(BreadcrumbsComponent.java:4) at com.intellij.xml.breadcrumbs.BreadcrumbsComponent$CrumbLine.a(BreadcrumbsComponent.java:115) at com.intellij.xml.breadcrumbs.BreadcrumbsComponent$CrumbLine.paint(BreadcrumbsComponent.java:58) at javax.swing.JComponent.paintChildren(JComponent.java:859) - locked <0x11ff6e28> (a java.awt.Component$AWTTreeLock) at javax.swing.JComponent.paint(JComponent.java:1031) at javax.swing.JComponent.paintChildren(JComponent.java:859) - locked <0x11ff6e28>]]> (a java.awt.Component$AWTTreeLock)
at javax.swing.JComponent.paint(JComponent.java:1031)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5104)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1386)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1317)
at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:301)
at javax.swing.RepaintManager.paint(RepaintManager.java:1132)
at javax.swing.JComponent._paintImmediately(JComponent.java:5052)
at javax.swing.JComponent.paintImmediately(JComponent.java:4862)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:727)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:683)
at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:663)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
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:65)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:81)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:195)
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)
"timed reference disposer" prio=6 tid=0x03c24800 nid=0xef4 waiting on condition
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.$$YJP$$park(Native Method)
- parking to wait for ]]> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at sun.misc.Unsafe.park(Unsafe.java)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1927)
at java.util.concurrent.DelayQueue.take(DelayQueue.java:164)
at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:582)
at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:575)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:946)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:906)
at java.lang.Thread.run(Thread.java:619)
"Periodic tasks thread" prio=6 tid=0x04400c00 nid=0xe94 waiting on condition
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.$$YJP$$park(Native Method)
- parking to wait for ]]> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at sun.misc.Unsafe.park(Unsafe.java)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1927)
at java.util.concurrent.DelayQueue.take(DelayQueue.java:164)
at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:582)
at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:575)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:946)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:906)
at java.lang.Thread.run(Thread.java:619)
"AWT-Shutdown" prio=6 tid=0x03401800 nid=0xdb0 in Object.wait()
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on (a java.lang.Object) at java.lang.Object.wait(Object.java:485) at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259) - locked <0x11ff2280>]]> (a java.lang.Object)
at java.lang.Thread.run(Thread.java:619)
"SocketListenerThread" prio=6 tid=0x03bc0800 nid=0xeb0 runnable
java.lang.Thread.State: RUNNABLE
at java.net.PlainDatagramSocketImpl.$$YJP$$receive0(Native Method)
- locked (a java.net.PlainDatagramSocketImpl) at java.net.PlainDatagramSocketImpl.receive0(PlainDatagramSocketImpl.java) - locked <0x1201c0f0> (a java.net.PlainDatagramSocketImpl) at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136) - locked <0x1201c0f0> (a java.net.PlainDatagramSocketImpl) at java.net.DatagramSocket.receive(DatagramSocket.java:712) - locked <0x1fe36ea8> (a java.net.DatagramPacket) - locked <0x1201c130>]]> (a java.net.MulticastSocket)
at com.intellij.a.e.a.e.a(e.java:27)
at com.intellij.a.e.a.h.run(h.java:6)
"SocketListenerThread" prio=6 tid=0x04400400 nid=0xe8c runnable
java.lang.Thread.State: RUNNABLE
at java.net.PlainDatagramSocketImpl.$$YJP$$receive0(Native Method)
- locked (a java.net.PlainDatagramSocketImpl) at java.net.PlainDatagramSocketImpl.receive0(PlainDatagramSocketImpl.java) - locked <0x1201e928> (a java.net.PlainDatagramSocketImpl) at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136) - locked <0x1201e928> (a java.net.PlainDatagramSocketImpl) at java.net.DatagramSocket.receive(DatagramSocket.java:712) - locked <0x1201e968> (a java.net.DatagramPacket) - locked <0x1201e988>]]> (a java.net.DatagramSocket)
at com.intellij.a.e.a.e.a(e.java:27)
at com.intellij.a.e.a.h.run(h.java:6)
"MessageDeliveryThread" prio=6 tid=0x03b82800 nid=0x688 in Object.wait()
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on (a java.lang.Object) at java.lang.Object.wait(Object.java:485) at com.intellij.a.e.j.run(j.java:26) - locked <0x1201ea38>]]> (a java.lang.Object)
"AWT-Windows" daemon prio=6 tid=0x03390000 nid=0x9c4 runnable
java.lang.Thread.State: RUNNABLE
at sun.awt.windows.WToolkit.$$YJP$$eventLoop(Native Method)
at sun.awt.windows.WToolkit.eventLoop(WToolkit.java)
at sun.awt.windows.WToolkit.run(WToolkit.java:290)
at java.lang.Thread.run(Thread.java:619)
"Java2D Disposer" daemon prio=10 tid=0x03be6800 nid=0x5e8 in Object.wait()
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116) - locked <0x11ff23b8>]]> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
at sun.java2d.Disposer.run(Disposer.java:125)
at java.lang.Thread.run(Thread.java:619)
"Lock thread" prio=6 tid=0x03ad0400 nid=0xe18 runnable
java.lang.Thread.State: RUNNABLE
at java.net.PlainSocketImpl.$$YJP$$socketAccept(Native Method)
at java.net.PlainSocketImpl.socketAccept(PlainSocketImpl.java)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
- locked ]]> (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:7)
at java.lang.Thread.run(Thread.java:619)
"timed reference disposer" prio=6 tid=0x03a79800 nid=0xea0 waiting on condition
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.$$YJP$$park(Native Method)
- parking to wait for ]]> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at sun.misc.Unsafe.park(Unsafe.java)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1927)
at java.util.concurrent.DelayQueue.take(DelayQueue.java:164)
at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:582)
at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:575)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:946)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:906)
at java.lang.Thread.run(Thread.java:619)
"Exe4JStartupThread" daemon prio=6 tid=0x0341f800 nid=0xe84 waiting on condition
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.$$YJP$$sleep(Native Method)
at java.lang.Thread.sleep(Thread.java)
at com.exe4j.Controller$StartupThread.run(Unknown Source)
"Low Memory Detector" daemon prio=6 tid=0x03416400 nid=0xddc runnable
java.lang.Thread.State: RUNNABLE
"CompilerThread0" daemon prio=10 tid=0x03414c00 nid=0xe78 waiting on condition
java.lang.Thread.State: RUNNABLE
"YJPAgent-OOMESnapshotDetector" daemon prio=6 tid=0x03413c00 nid=0xd7c runnable
java.lang.Thread.State: RUNNABLE
"YJPAgent-CPUSampler" daemon prio=6 tid=0x033dc400 nid=0x31c runnable
java.lang.Thread.State: RUNNABLE
"YJPAgent-RequestListener" daemon prio=2 tid=0x033e9400 nid=0xe7c runnable
java.lang.Thread.State: RUNNABLE
at java.net.PlainSocketImpl.$$YJP$$socketAccept(Native Method)
at java.net.PlainSocketImpl.socketAccept(PlainSocketImpl.java)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
- locked ]]> (a java.net.SocksSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:450)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at com.yourkit.runtime.Core$3.run(Core.java:530)
at java.lang.Thread.run(Thread.java:619)
"YJPAgent-Telemetry" daemon prio=2 tid=0x033e6800 nid=0x238 waiting on condition
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.$$YJP$$sleep(Native Method)
at java.lang.Thread.sleep(Thread.java)
at com.yourkit.runtime.telemetry.TelemetryThreadJVMTI.run(TelemetryThreadJVMTI.java:271)
"Attach Listener" daemon prio=10 tid=0x033cb000 nid=0xd74 runnable
java.lang.Thread.State: RUNNABLE
"Signal Dispatcher" daemon prio=10 tid=0x033ca000 nid=0xd60 runnable
java.lang.Thread.State: RUNNABLE
"Finalizer" daemon prio=8 tid=0x033b7800 nid=0xd18 in Object.wait()
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116) - locked <0x11efe338>]]> (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=0x033a9c00 nid=0xb20 in Object.wait()
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on (a java.lang.ref.Reference$Lock) at java.lang.Object.wait(Object.java:485) at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116) - locked <0x11efdbf8>]]> (a java.lang.ref.Reference$Lock)
"main" prio=6 tid=0x003d7800 nid=0xb3c waiting on condition
java.lang.Thread.State: RUNNABLE
"VM Thread" prio=10 tid=0x033a4c00 nid=0xf44 runnable
"VM Periodic Task Thread" prio=10 tid=0x033d8400 nid=0xcf4 waiting on condition
That's actually the same as http://www.jetbrains.net/jira/browse/IDEA-14933 and
http://www.jetbrains.net/jira/browse/IDEA-14814.
It doesn't look like a deadlock though, it's either caused by a rather large file (probably an
Ant-file) IDEA tries to open and highlight, or there is some loop that causes the process to never
finish. Are there one or more large Ant-files in your project? Is there anything "special" about
them? Maybe it helps the JetBrains developers if you could attach them to of the issues.
You could try disabling the Ant inspections (esp. the "Missing Properties files") to see if it
helps. You should be able to start IDEA again by temporarily removing any potentially problematic
Ant-files. Then uncheck the inspection(s) under Settings -> Errors -> Ant.
HTH,
Sascha
Here's what I've verified:
1. It is definitely the ant files that are responsible. When I move them out of my directory, IDEA works fine.
2. Disabling the ant inspections doesn't help. IDEA still hangs...
3. The files are fairly large as the attached screenshot indicates...
4. I conducted an exercise where I scrambled the xml file contents and recopied them over and the resulting files don't hang IDEA. I've attached a scrambled version of the file in case that's helpful... I wasn't able to reproduce the issue with the scrambled version, unfortunately :(
Attachment(s):
buildscripts.png
sample.xml
I just got an error when I tried to build a web app:
Error: Error: Element: class com.intellij.psi.impl.source.xml.XmlTagImpl
No other detail, just a failed build and a red dot in my make output.
I'm running IntelliJ 7274, just downloaded yesterday, on Windows XP SP2.
%