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 251370 - org.netbeans.modules.deadlock.detector.Detector$DeadlockDetectedException: VersioningAnnotator.annotationRefresh
Summary: org.netbeans.modules.deadlock.detector.Detector$DeadlockDetectedException: Ve...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-23 09:22 UTC by Alexander Simon
Modified: 2015-05-15 02:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 216295


Attachments
stacktrace (7.58 KB, text/plain)
2015-03-23 09:22 UTC, Alexander Simon
Details
Here is the guilty stack. (6.41 KB, text/plain)
2015-05-13 17:33 UTC, Vladimir Kvashin
Details
Possible fix (6.73 KB, patch)
2015-05-14 09:56 UTC, Vladimir Kvashin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2015-03-23 09:22:25 UTC
Build: NetBeans IDE Dev (Build 20150323-c37673d7642c)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.31-b07, Java(TM) SE Runtime Environment, 1.8.0_31-b13
OS: SunOS

User Comments:
alexvsimon: connect to remote host




Stacktrace: 
org.netbeans.modules.deadlock.detector.Detector$DeadlockDetectedException: VersioningAnnotator.annotationRefresh
   at org.netbeans.modules.remote.impl.fs.server.FSSDispatcher.getOrCreateServer(FSSDispatcher.java:513)
   at org.netbeans.modules.remote.impl.fs.server.FSSDispatcher.dispatch(FSSDispatcher.java:363)
   at org.netbeans.modules.remote.impl.fs.server.FSSDispatcher.dispatch(FSSDispatcher.java:347)
   at org.netbeans.modules.remote.impl.fs.server.FSSTransport.stat_or_lstat(FSSTransport.java:152)
   at org.netbeans.modules.remote.impl.fs.server.FSSTransport.stat(FSSTransport.java:127)
   at org.netbeans.modules.remote.impl.fs.RemoteFileSystemTransport.stat(RemoteFileSystemTransport.java:170)
Comment 1 Alexander Simon 2015-03-23 09:22:27 UTC
Created attachment 152786 [details]
stacktrace
Comment 2 Vladimir Kvashin 2015-05-13 17:33:34 UTC
Created attachment 153641 [details]
Here is the guilty stack.

Lots of slow remote activities are performed immediately in the moment ConnectionManager fires connection event. This is not correct.
Comment 3 Vladimir Kvashin 2015-05-14 09:56:23 UTC
Created attachment 153651 [details]
Possible fix

I proposed the following fix; after discussion with Alexander Simon we decided to post tasks in each client instead; however I better attach this fix here in case we'll return to it for some reason
Comment 5 Quality Engineering 2015-05-15 02:40:21 UTC
Integrated into 'main-silver', will be available in build *201505150001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/725fe6bfe1f1
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fix for #251370 - org.netbeans.modules.deadlock.detector.Detector$DeadlockDetectedException: VersioningAnnotator.annotationRefresh