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 254846 - NetBeans locked up adding a new Ant Library
Summary: NetBeans locked up adding a new Ant Library
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Libraries (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
: 255309 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-08-29 19:05 UTC by MackSix
Modified: 2015-09-18 11:51 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread Dump (32.79 KB, text/plain)
2015-08-29 19:05 UTC, MackSix
Details
logfile (65.87 KB, text/plain)
2015-08-29 19:06 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2015-08-29 19:05:50 UTC
Created attachment 155745 [details]
Thread Dump

1. I had a JSF project open missing a Library. 
2. I invoked Tools>>Libraries and created the new Library (Weld Servlet 2.2.13) and added the Class, Source and Javadoc Jars.
3. When  I pressed the final OK button on the Ant Library Manager windows, NetBeans locked up.


See attached Thread Dump and logfile.


Product Version: NetBeans IDE 8.1 Beta (Build 201508041349)
Java: 1.8.0_51; Java HotSpot(TM) 64-Bit Server VM 25.51-b03
Runtime: Java(TM) SE Runtime Environment 1.8.0_51-b16
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 1 MackSix 2015-08-29 19:06:24 UTC
Created attachment 155746 [details]
logfile
Comment 2 Tomas Zezula 2015-09-08 14:23:59 UTC
Not sure what's wrong as single thread dump is not enough for live lock evaluation.
The problems Map is correctly guarded, the PropertyChangeSupport is also thread save.
I've reimplemented the refresh to minimise the adding removing of listeners.
If it happens again please attach at lest 3 thread dumps.

Fixed jet-main 45722479bc73
Comment 3 Quality Engineering 2015-09-09 01:22:42 UTC
Integrated into 'main-silver', will be available in build *201509090002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/45722479bc73
User: Tomas Zezula <tzezula@netbeans.org>
Log: #254846:NetBeans locked up adding a new Ant Library
Comment 4 Tomas Stupka 2015-09-18 11:51:18 UTC
*** Bug 255309 has been marked as a duplicate of this bug. ***