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 198182

Summary: Netbeans 7.0 is not responsive after changing access rights from write to read
Product: editor Reporter: blindner <blindner>
Component: Painting & PrintingAssignee: Miloslav Metelka <mmetelka>
Status: VERIFIED FIXED    
Severity: normal CC: jlahoda, mmirilovic
Priority: P2    
Version: 7.0   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: netbeans logging
I tried to generate a thread dump - maybe not complete. I am using ClearCase for source control, but not the netbeans clear case plugin. In case I check a file, e.g pom.xml, netbeans is freezing
complete thread dump

Description blindner 2011-04-28 15:48:18 UTC
Created attachment 108003 [details]
netbeans logging

NetBeans IDE 7.0 is not responsive any more after changing access rights of source and project files from writeable to readable. NetBeans has to be closed with the task manager.

I am using an external version of maven (2.2.1)

The Netbeans log file shows many exceptions.
Comment 1 Jaroslav Tulach 2011-05-24 05:25:28 UTC
Last exception is about a .sig file being locked by some external process. The exception before comes from maven. Moving to maven first.
Comment 2 Jesse Glick 2011-05-24 17:51:11 UTC
For freezes, you need to capture a thread dump. Otherwise (without steps to reproduce the problem) it is impossible to even guess what is wrong.
Comment 3 blindner 2011-05-25 08:33:53 UTC
Created attachment 108496 [details]
I tried to generate a thread dump - maybe not complete. I am using ClearCase for source control, but not the netbeans clear case plugin. In case I check a file, e.g pom.xml, netbeans is freezing
Comment 4 blindner 2011-05-25 11:09:47 UTC
Created attachment 108499 [details]
complete thread dump

now I added the complete thread dump
Comment 5 Jesse Glick 2011-05-25 16:47:44 UTC
ReadOnlyFilesHighlighting
Comment 6 Miloslav Metelka 2011-05-26 12:41:39 UTC
Strange, there does not appear to be any apparent deadlock in the attached thread dump.
Anyway I've made the ROFH's monitor not to span SwingUtilities call if that makes any change. If the problem persists please attach new thread dumps.

http://hg.netbeans.org/jet-main/rev/7cf4d5ff6e77
Comment 7 Quality Engineering 2011-05-27 11:54:50 UTC
Integrated into 'main-golden', will be available in build *201105270401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/7cf4d5ff6e77
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #198182 - Netbeans 7.0 is not responsive after changing access rights from write to read - maded ROFH's monitor not to span SwingUtilities call.
Comment 8 Miloslav Metelka 2011-06-07 08:51:15 UTC
release701:
7cf4d5ff6e77 transplanted to d72e797e600c
Comment 9 Jiri Prox 2011-06-10 14:17:43 UTC
verified in 7.0.1