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.
Summary: | 'Settings saving interrupted!' while switching projects | ||
---|---|---|---|
Product: | obsolete | Reporter: | Jan Chalupa <jchalupa> |
Component: | vcscore | Assignee: | Martin Entlicher <mentlicher> |
Status: | CLOSED FIXED | ||
Severity: | blocker | ||
Priority: | P1 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Windows ME/2000 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Exception stack-trace 1
Exception stack-trace 2 |
Description
Jan Chalupa
2001-10-29 15:18:11 UTC
Created attachment 3186 [details]
Exception stack-trace 1
Created attachment 3187 [details]
Exception stack-trace 2
solving this one Locks in SystemFileSystem are handled crrectly for renamed and deleted files now. This solved the reported problem with unsaved settings, but doesn't have any effect on dead-locks. IMO, both thread dumps show the same deadlock in vcs module's class ...vcs.advanced.CommandLineVcsFileSystemInstance. Deadlock is unreproducible in my environment: W2K, JDK 1.3.1_01 I'll try to reproduce the deadlock on JDK 1.4 beta3, if it was exposed by troubles in SystemFileSystem we could decrease prio to P2, otherwise P1 is appropriate as it prevents projects from being switched. Moving to vcscore module. Will try to do a fix for this. Generally this is caused by creating an internal Nodes structure for the filesystem, that is used to store VCS commands. I was told, that usage of Nodes for that purpose is strange, but O.K. But this is not the first time it cause troubles. It's probably too late to change it now, I'll consider to change it to the next version (3.4 or 4.0). Preparing a workaround (less synchronized code). Moved the work with Node(s) hierarchy outside of synchronized blocks. This should eliminate the deadlock. Please reopen if you get a deadlock like this again (I was not able to reproduce it as well on Solaris, JDK 1.4 beta3-b84). Fixed in build 10/31. Hm, I was also not successful with the reproduction and therefore I believe it got really fixed. I am sure Jan will reopen this bug if he encounters it again. :-) Verified in development build of NetBeans 3.3 #200111010100. Resolved for 3.4.x or earlier, no new info since then -> closing. |