Intellij 9.0.2 hanging when editing grails domain objects

This is the sort of bug report that I would absolutely dread receiving, so sorry to be the bearer or bad (or, at least, inscrutable, news).  In the last couple of days, my Intellij has started locking up when I edit domain objects in my grails 1.1.1 project.  This has occurred with both 94.539 and 94.585.  I initially saw it when changing constraints, specifically changing a nullable constraint from false to true or visa-versa.  Simply changing the value would make Intellij completely unresponsive.  There was no UI updating at all - no cursor blinking, no redraw when toggling in/out of the app, etc.

I upgraded to 94.585 about an hour ago in hopes that it was some bad behavior with the previous release.  Unfortunately, that build also hangs and, even more unfortunate, I can't find a pattern for when it will hang.  It's always when editing a domain object, but it could be when changing a constraint, adding an import line (specifically an import line using the groovy "as" alias, e.g. import com.company.SomeStaticClass as ssc), or editing a method.  Sometimes any of those works, sometimes they don't.  But I can't make more than one or two lines of edits before the UI locks.  The one consistant trait is that as soon as it locks up, it starts spitting out thread dump files like mad until I kill the app.

I have attached a log file and several sets of thread dumps from the past 45 minutes.  Any advice for how to work around this (or logging statements that I should add to get more info in the log) would be very welcome.



Attachment(s):
log.zip
6 comments
Comment actions Permalink

I suspect the problem is in editing groovy as I see the same issue in projects without Grails.

/jwh

0
Comment actions Permalink

Yes, this problem will be fixed in the next EAP, thank you all for
reporting it!

0
Comment actions Permalink

Sorry to be the bearer of bad news, but it's still there in 94.633.  I added a single "belongsTo" statement to a domain class and it did not hang.  Then I started typing a comment above that statement and it hung while editing the comment.  When I brought Intellij back up, neither the comment nor the belongsTo line had been persisted in the file.

0
Comment actions Permalink

Hello Eric,

Sorry to be the bearer of bad news, but it's still there in 94.633.  I
added a single "belongsTo" statement to a domain class and it did not
hang.  Then I started typing a comment above that statement and it
hung while editing the comment.  When I brought Intellij back up,
neither the comment nor the belongsTo line had been persisted in the
file.


Please file a new YouTrack issue and attach the contents of system\log\threadDumps-xxx
directory from the session in which you've experienced the hang.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Hi Eric, I don't know if it's possible for you, but have you tried upgrading Grails to 1.2.2? I cannot imagine it has anything to do with that, but I'm using Grails 1.2.2 in .633, and here it works without much problems, and I haven't encountered any of the hanging you described. If I can check anything, for example to see any differences in your installation compared to mine.

0

Please sign in to leave a comment.