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 241414 - Removed jars from libraries reappear when NetBeans is restarted.
Summary: Removed jars from libraries reappear when NetBeans is restarted.
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P1 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
: 241780 (view as bug list)
Depends on: 241780
Blocks: 239999
  Show dependency tree
 
Reported: 2014-02-04 22:56 UTC by MackSix
Modified: 2014-02-19 15:02 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
j3d-jre.zip (1.90 MB, application/x-zip-compressed)
2014-02-04 22:57 UTC, MackSix
Details
Algorithms.zip (451.68 KB, application/x-zip-compressed)
2014-02-04 22:58 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2014-02-04 22:56:18 UTC
1. Start NetBeans with no userdir or cachedir.
2. Open project "Algorithms" and wait for project scanning to complete.
3. Add libraries  j3dcore.jar, j3dutils.jar and vecmath.jar.
4. Wait for project scanning to complete and restart NetBeans.
5. Now remove j3dcore.jar, j3dutils.jar and vecmath.jar.
6. Restart NetBeans.
7. Notice j3dcore.jar, j3dutils.jar and vecmath.jar reappear in Libraries folder.


Workaround: Remove the jars again and restart NetBeans to complete removal.

Product Version: NetBeans IDE Dev (Build 201402030001)
Updates: Updates available
Java: 1.8.0; Java HotSpot(TM) 64-Bit Server VM 25.0-b69
Runtime: Java(TM) SE Runtime Environment 1.8.0-b127
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 1 MackSix 2014-02-04 22:57:13 UTC
Created attachment 144809 [details]
j3d-jre.zip

Remove jar files from ext/lib and place them some place convenient.
Comment 2 MackSix 2014-02-04 22:58:14 UTC
Created attachment 144810 [details]
Algorithms.zip
Comment 3 Tomas Zezula 2014-02-12 21:30:14 UTC
Seems a race in the Projects infrastructure, cannot be reproduced under debugger.
The classpath is correctly modified, put to the project.properties (APH.putProperties()) and the project should be saved (PM.saveProject()) but the changes are not persisted.
Comment 4 Tomas Zezula 2014-02-12 23:35:30 UTC
Caused by fix of issue #239999, wrong usage of java.util.concurrent primitives.
Two bugs today and both caused by a wrong java.util.concurrent usage.
Before using j.l.c think about consequences. Especially when you think you do a smart thing with a concurrency you can be 100% sure that you are wrong.
Comment 5 Tomas Zezula 2014-02-13 13:15:06 UTC
Fixed jet-main 0abca3d9c4f8
Comment 6 Milos Kleint 2014-02-13 13:42:40 UTC
*** Bug 241780 has been marked as a duplicate of this bug. ***
Comment 7 MackSix 2014-02-18 23:53:05 UTC
verified fixed in:

Product Version: NetBeans IDE Dev (Build 201402180001)
Java: 1.8.0; Java HotSpot(TM) 64-Bit Server VM 25.0-b69
Runtime: Java(TM) SE Runtime Environment 1.8.0-b128
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 8 Quality Engineering 2014-02-19 02:47:33 UTC
Integrated into 'main-silver', will be available in build *201402190001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/0abca3d9c4f8
User: Tomas Zezula <tzezula@netbeans.org>
Log: #241414:Removed jars from libraries reappear when NetBeans is restarted.
Comment 9 MackSix 2014-02-19 15:02:33 UTC
Verified fixed in:

Product Version: NetBeans IDE Dev (Build 201402190001)
Java: 1.8.0; Java HotSpot(TM) 64-Bit Server VM 25.0-b69
Runtime: Java(TM) SE Runtime Environment 1.8.0-b128
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)