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 202445 - Using the XML editor verses a Style sheet will hang up netbeans when adding a new variable. This also can happen when maintaining a large spring configuration.
Summary: Using the XML editor verses a Style sheet will hang up netbeans when adding a...
Status: RESOLVED INCOMPLETE
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.0.1
Hardware: Macintosh (x86) All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-21 16:46 UTC by mcolegrove2
Modified: 2011-10-18 13:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
A style sheet that will cause nb to hang when adding a variable (26.62 KB, application/xslt+xml)
2011-09-21 16:51 UTC, mcolegrove2
Details
a large spring configuration that also when editing will hang (119.92 KB, text/x-springconfig+xml)
2011-09-21 16:51 UTC, mcolegrove2
Details
IDE Log captured after crash upon bringing netbeans up again (154.73 KB, application/octet-stream)
2011-09-30 15:00 UTC, mcolegrove2
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mcolegrove2 2011-09-21 16:46:15 UTC
Product Version = NetBeans IDE 7.0.1 (Build 201107282000)
Operating System = Mac OS X version 10.7.1 running on x86_64
Java; VM; Vendor = 1.6.0_26
Runtime = Java HotSpot(TM) 64-Bit Server VM 20.1-b02-383
Comment 1 mcolegrove2 2011-09-21 16:51:22 UTC
What with my configuration or settings will cause nb to hang?
Comment 2 mcolegrove2 2011-09-21 16:51:28 UTC
Created attachment 110980 [details]
A style sheet that will cause nb to hang when adding a variable
Comment 3 mcolegrove2 2011-09-21 16:51:33 UTC
Created attachment 110981 [details]
a large spring configuration that also when editing will hang
Comment 4 Svata Dedic 2011-09-30 05:58:29 UTC
I tried the files you have. I tried your 2 files on a recent dev build without any deadlocks or freezes. Please re-check as well, and if the problem happens again, include a thread dump + startup part of IDE log (especially list of modules) so it is more clear what caused your IDE to hang. 
Thanks.
Comment 5 mcolegrove2 2011-09-30 15:00:08 UTC
sdedic 
I was able to crash the IDE again.   Typically a crash occurs when editing a style sheet for a while, add a variable.  Move the cursor around and try to prompt for code completion.  It usually happens after editing a while.   Not immediately.


Attached is the IDE Log produced retrieved upon booting up netbeans again.   FYI, I have the jrebel plug-in installed.   Also, the dougmcneil.name.xslt.debugger module was added after initially experiencing hang ups and does not seem to prevent or induce hanging.
Comment 6 mcolegrove2 2011-09-30 15:00:14 UTC
Created attachment 111367 [details]
IDE Log captured after crash upon bringing netbeans up again
Comment 7 Svata Dedic 2011-09-30 15:05:46 UTC
Please also capture _thread dump_ (http://wiki.netbeans.org/GenerateThreadDump) when the IDE is frozen. Log is fine to recreate the environment, but does not show the actual culprit...

In the latest comment, you say 'crash'. Was it a crash (IDE application terminated) or freeze (painting stopped, or some operations were blocked indefinitely) ?
Comment 8 Svata Dedic 2011-10-18 13:15:52 UTC
Waiting on a threaddump. Please use 7.1 beta to reproduce - thanks.