This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 111041 - IDE Freeze when opening RHTML file
Summary: IDE Freeze when opening RHTML file
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: languages (show other bugs)
Version: 6.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: Jan Jancura
URL:
Keywords:
: 110642 111002 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-07-26 04:26 UTC by richo
Modified: 2007-07-28 10:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack Dump (19.87 KB, text/plain)
2007-07-26 04:27 UTC, richo
Details
RHTML File that causes crash (294 bytes, text/plain)
2007-07-26 04:28 UTC, richo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description richo 2007-07-26 04:26:47 UTC
OS: Ubuntu 7.04
Java: 1.6.0_02
NetBeans: NetBeans Ruby IDE 070725

IDE freezes and doesn't come back when opening a specific RHTML file in a specific project (the RHTML file is attached
with stack dump). If I create a new rails project and add that file into it it open the file fine. So it is project
specific. (I am unable to release the code publicly, but if someone in Sun wants the source for testing and agrees to
delete it once finished then I can send them a copy).
Comment 1 richo 2007-07-26 04:27:43 UTC
Created attachment 45743 [details]
Stack Dump
Comment 2 richo 2007-07-26 04:28:48 UTC
Created attachment 45744 [details]
RHTML File that causes crash
Comment 3 richo 2007-07-26 04:51:32 UTC
I am getting this same problem on several other RHTML files in this project, all controller and model files open fine.
Comment 4 richo 2007-07-26 05:08:34 UTC
I reverted to an old copy of NetBeans Ruby IDE (070606) and that is open the RHTML files fine, will try some newer
versions and see if I can find when it broke.
Comment 5 Torbjorn Norbye 2007-07-26 05:37:13 UTC
It looks like the CPU is pegged inside of Schliemann code on the event dispatch thread so reassigning for further evaluation
Comment 6 Torbjorn Norbye 2007-07-26 05:44:56 UTC
Note - a similar issue was reported on dev@ruby.netbeans.org as a regression this morning:

"A few times this morning with build 3105 NetBeans just goes out to
lunch.  java.exe is taking all of the cpu.  It recovers after about 20
seconds.  No consistent repro case, unfortunately."
Comment 7 Daniel Prusa 2007-07-26 09:39:34 UTC
event dispatch thread runs in SemanticHighlightsLayer$Highlights.moveNext(SemanticHighlightsLayer.java:99)
Comment 8 Daniel Prusa 2007-07-26 09:40:04 UTC
*** Issue 111002 has been marked as a duplicate of this issue. ***
Comment 9 Jan Jancura 2007-07-26 12:07:53 UTC
fixed in trunk.
Comment 10 Torbjorn Norbye 2007-07-28 02:11:22 UTC
*** Issue 110642 has been marked as a duplicate of this issue. ***
Comment 11 richo 2007-07-28 10:04:29 UTC
I'm not longer experiencing this problem with a newer build. Thank you very much for a very fast response. NetBeans +
Ruby rocks!