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 238220

Summary: Ide freeze at startup
Product: projects Reporter: aldobrucale <aldobrucale>
Component: LibrariesAssignee: Tomas Zezula <tzezula>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: JVisualVM application snapshot
messages.log

Description aldobrucale 2013-11-11 09:10:24 UTC
Created attachment 142048 [details]
JVisualVM application snapshot

The netbeans splash screen remained open and the main window didn't show up
Comment 1 aldobrucale 2013-11-11 09:10:58 UTC
Created attachment 142049 [details]
messages.log
Comment 2 Jiri Rechtacek 2013-11-13 15:50:12 UTC
(In reply to aldobrucale from comment #0)
> Created attachment 142048 [details]
> JVisualVM application snapshot
Thanks for the report. Based on the snapshot, there might a race condition problem in LibrariesStorage.initStorage() method => reassigned to projects/libraries

Could you run the IDE again and attach also samples from VisualVM|Sampler? Thanks


> The netbeans splash screen remained open and the main window didn't show up
Comment 3 aldobrucale 2013-11-13 16:03:35 UTC
The freezing only happened once, are the VisualVM samples from a regular boot useful anyway?
Comment 4 Tomas Zezula 2016-06-23 09:04:25 UTC
There is single report.
Also the thread reading libraries is not blocked it's RUNNABLE - no deadlock.
The thread is doing put into SynchronizedMap<WeakHashMap>, so the put and get are synchronized, the map should be always consistent.