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.
In [dev feb 13] I get a test failure for AutomountSupport. Attaching; not sure if reproducible. Also, maybe related: in [dev feb 12], an unrep. NPE from AS.fileSystemAdded during startup. No unusual circumstances, I think.
Created attachment 4676 [details] Test failure details
Created attachment 4677 [details] NPE during startup - stack trace
Jesse, you are king! It is easy to simulate: Index: org/netbeans/core/AutomountSupport.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/AutomountSupport.java,v retrieving revision 1.40 diff -c -r1.40 AutomountSupport.java *************** *** 203,208 **** --- 203,216 ---- Repository rep = Repository.getDefault (); rep.addRepositoryListener (auto); + + try { + System.out.println("slle!!!"); + Thread.sleep (5000); + System.out.println("wakeup"); + } catch (Exception ex) { + } + defaultTask = new DblTask (auto, storeTask); synchronized (auto) {
NPE is fixed. The race condition probably not. David is new volunteer to check the AS, so assigning to him. Checking in AutomountSupport.java; /cvs/core/src/org/netbeans/core/AutomountSupport.java,v <-- AutomountSupport.java new revision: 1.41; previous revision: 1.40
NPE fixed by Yarda. I have tried all the tests with slowdown applied and seems ok now. It there is any further report please reopen. Thanks.
verified
Resolved for 3.4.x or earlier, no new info since then -> closing.