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 258298

Summary: Remote cyclic links lead to UI freeze
Product: cnd Reporter: Vladimir Kvashin <vkvashin>
Component: RemoteAssignee: Vladimir Kvashin <vkvashin>
Status: VERIFIED FIXED    
Severity: normal CC: exceptions_reporter, nzero2002
Priority: P1    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Performance snapshot
Thread dump #1 taken at some moment
Thread dump #2 taken at some moment (still before capturing the profiling snapshot)
Thread dump #3 was taken after I tried to disconnect (profiling snapshot was probably over bythat time)
Anpther performance snapshot taken after fixing #258294 - Refreshing directory with a links causes multiple refreshes
Full thread dump taken exactly at the moment of UI freeze

Description Vladimir Kvashin 2016-03-10 07:56:47 UTC
Created attachment 158797 [details]
Performance snapshot

Occasionally I've got a link to my home dir inside my project (which resided in home dir). After I opened the project, IDE became slower and slower, finally reacted on each keystoke / mouseclick within 10-20 seconds. Performance snapshot attached.
Comment 1 Vladimir Kvashin 2016-03-10 07:57:53 UTC
Created attachment 158798 [details]
Thread dump #1 taken at some moment
Comment 2 Vladimir Kvashin 2016-03-10 07:58:37 UTC
Created attachment 158799 [details]
Thread dump #2 taken at some moment (still before capturing the profiling snapshot)
Comment 3 Vladimir Kvashin 2016-03-10 07:59:25 UTC
Created attachment 158800 [details]
Thread dump #3 was taken after I tried to disconnect (profiling snapshot was probably over bythat time)
Comment 4 Vladimir Kvashin 2016-03-10 08:22:38 UTC
Created attachment 158801 [details]
Anpther performance snapshot taken after fixing #258294 - Refreshing directory with a links causes multiple refreshes
Comment 5 Vladimir Kvashin 2016-03-10 15:58:53 UTC
Created attachment 158814 [details]
Full thread dump taken exactly at the moment of UI freeze
Comment 7 Quality Engineering 2016-03-13 02:19:18 UTC
Integrated into 'main-silver', will be available in build *201603130002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/98def958fd03
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixing #258298 - Remote cyclic links lead to UI freeze, part 1 - fixed exponential isValid()
Comment 8 Vladimir Kvashin 2016-03-13 14:02:20 UTC

*** This bug has been marked as a duplicate of bug 257890 ***
Comment 9 Quality Engineering 2016-03-13 19:06:08 UTC
Integrated into 'main-silver', will be available in build *201603131614* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/4a1268ef094d
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixing #258298 - Remote cyclic links lead to UI freeze: fixed  IllegalArgumentException: All children must have the same parent
Comment 10 ilia 2016-03-16 13:16:31 UTC
*** Bug 257890 has been marked as a duplicate of this bug. ***
Comment 11 Vladimir Kvashin 2016-03-17 13:05:37 UTC
*** Bug 257555 has been marked as a duplicate of this bug. ***
Comment 12 Quality Engineering 2016-04-05 01:44:59 UTC
Integrated into 'main-silver', will be available in build *201604050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/0b7e974b3419
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #258298 Remote cyclic links lead to UI freeze: fixed  IllegalArgumentException: All children must have the same parent
- additional fix. Default extension of an temporary remote file system should be same as in local file system.
Comment 13 Vladimir Kvashin 2016-04-15 16:59:56 UTC
verified in builds on enum server