idea 10.0.2 hanging on exit

IDEA 10.0.2 has been working fine for me for several weeks. But just today it has started hanging on exit, ie after clicking the window close-box, the "are you sure you want to" dialog appears and after clicking "exit", nothing happens. I have to use "kill" to terminate idea.

Environment: ubuntu linux, x86-32, sun jdk1.6.0_21

A dumps directory has been created:
  ~/.IdeaIC10/system/log/threadDumps-20110328-165438-IC-103.72
however it is empty.

The last few lines in idea.log are:
2011-03-28 16:55:08,885 [  34301]   INFO - i.vcs.changes.ChangeListWorker - [addChangeToCorrespondingList] skip default list: Default type: NEW have before revision: false
2011-03-28 16:55:11,265 [  36681]   INFO - nges.UpdatingChangeListBuilder - [processChangeInList-1] entering, cl name: null change: /home/kitcs1/working/eightballscan/curr/build/build.xml
2011-03-28 16:55:11,265 [  36681]   INFO - nges.UpdatingChangeListBuilder - [processChangeInList-1] to add to corresponding list
2011-03-28 16:55:11,265 [  36681]   INFO - i.vcs.changes.ChangeListWorker - [addChangeToCorrespondingList] for change /home/kitcs1/working/eightballscan/curr/build/build.xml type: MODIFICATION have before revision: true
2011-03-28 16:55:11,265 [  36681]   INFO - i.vcs.changes.ChangeListWorker - [addChangeToCorrespondingList] skip default list: Default type: MODIFICATION have before revision: true
2011-03-28 16:55:11,455 [  36871]   INFO - ins.idea.svn.SvnChangeProvider - Rename not found for /home/kitcs1/working/vgrabcommon/lib/commons-collections-3.2.1.jar
2011-03-28 16:55:11,456 [  36872]   INFO - nges.UpdatingChangeListBuilder - [processChangeInList-1] entering, cl name: null change: /home/kitcs1/working/vgrabcommon/lib/commons-collections-3.2.1.jar
2011-03-28 16:55:11,456 [  36872]   INFO - nges.UpdatingChangeListBuilder - [processChangeInList-1] to add to corresponding list
2011-03-28 16:55:11,456 [  36872]   INFO - i.vcs.changes.ChangeListWorker - [addChangeToCorrespondingList] for change /home/kitcs1/working/vgrabcommon/lib/commons-collections-3.2.1.jar type: NEW have before revision: false
2011-03-28 16:55:11,456 [  36872]   INFO - i.vcs.changes.ChangeListWorker - [addChangeToCorrespondingList] skip default list: Default type: NEW have before revision: false
2011-03-28 16:56:07,432 [  92848]   INFO - indexing.UnindexedFilesUpdater - Unindexed files update done in 75778 ms
2011-03-28 16:56:07,434 [  92850]   INFO - indexing.UnindexedFilesUpdater - Unindexed files update done in 75780 ms
2011-03-28 16:57:27,734 [ 173150]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/intentionSettings.xml file is null
2011-03-28 16:57:27,734 [ 173150]   INFO - .impl.stores.XmlElementStorage - Document was not loaded for $APP_CONFIG$/intentionSettings.xml
2011-03-28 16:57:49,044 [ 194460]   INFO - j.util.indexing.FileBasedIndex - START INDEX SHUTDOWN
2011-03-28 16:57:49,188 [ 194604]   INFO - j.util.indexing.FileBasedIndex - END INDEX SHUTDOWN
2011-03-28 16:57:49,191 [ 194607]   INFO - .history.utils.LocalHistoryLog - Purging local history...

After using "kill" (ie sending default TERM signal), this is added to the idea.log file:

2011-03-28 17:04:02,076 [ 567492]   INFO - newvfs.persistent.PersistentFS - VFS dispose started
2011-03-28 17:04:02,080 [ 567496]   INFO - newvfs.persistent.PersistentFS - VFS dispose completed
2011-03-28 17:04:02,080 [ 567496]   INFO -        #com.intellij.idea.Main - ------------------------------------------------------ IDEA SHUTDOWN ------------------------------------------------------

There is also this in idea.log which might be relevant; it is only an INFO message though:

2011-03-28 16:54:39,064 [   4480]   INFO - j.util.indexing.FileBasedIndex - PersistentStringEnumerator storage corrupted /home/kitcs1/.IdeaIC10/system/index/idindex/IdIndex
com.intellij.util.io.PersistentEnumerator$CorruptedException: PersistentStringEnumerator storage corrupted /home/kitcs1/.IdeaIC10/system/index/idindex/IdIndex
    at com.intellij.util.io.PersistentEnumerator.<init>(PersistentEnumerator.java:185)

I have one project open; the project has 7 modules.

Any suggestions?

1 comment
Comment actions Permalink

Hmm..I moved one of the modules out into a separate project today, and the problem no longer occurs.

This module A was causing a different problem, but maybe they are related. The module contained source code which was compiled into a jarfile and a copy of that jarfile was also present as a "module library dependency" for another module B.

The visible problem I was encountering was that when working on unit tests for module A, idea was continually trying to fully-quality references to classes in the same module, ie in unit test FooTest, references to class Foo were being converted by idea to full.path.to.Foo (even though FooTest was in the same package - although in a "test source" directory). Odd; surely idea should check in the same module for the class before scanning jar-dependencies in other modules. Anyway, to resolve this I moved the module to a separate project and the exit-related problem also went away. Maybe some circular chain was being created in the indexing due to Foo.java being present in a module, and Foo.class also being present in a jarfile dependency of a different module?

0

Please sign in to leave a comment.