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 160670

Summary: IllegalStateException at org.netbeans.modules.kenai.ui.treelist.TreeListNode.addListener
Product: connecteddeveloper Reporter: Jaromir Uhrik <juhrik>
Component: Team FrameworkAssignee: Stanislav Aubrecht <saubrecht>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=147895
Issue Type: DEFECT Exception Reporter: 147895
Attachments: stacktrace

Description Jaromir Uhrik 2009-03-19 17:41:56 UTC
Build: NetBeans IDE Dev (Build 090319)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284
OS: Mac OS X, 10.5.6, i386

User Comments:
juhrik: In Kenai.com I checked out and opened projects (at the end of checkout the open dialog appeared) Kenai-junction and responsefilter. The exception appeared when I switched to Projects view.



Stacktrace: 
java.lang.IllegalStateException
        at org.netbeans.modules.kenai.ui.treelist.TreeListNode.addListener(TreeListNode.java:205)
        at org.netbeans.modules.kenai.ui.treelist.TreeListModel.addNodes(TreeListModel.java:212)
        at org.netbeans.modules.kenai.ui.treelist.TreeListModel.addChildrenOf(TreeListModel.java:200)
        at org.netbeans.modules.kenai.ui.treelist.TreeListModel.childrenAdded(TreeListModel.java:226)
        at org.netbeans.modules.kenai.ui.treelist.TreeListNode$ChildrenLoader$2.run(TreeListNode.java:325)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
Comment 1 Jaromir Uhrik 2009-03-19 17:42:01 UTC
Created attachment 78470 [details]
stacktrace
Comment 2 Stanislav Aubrecht 2009-03-20 15:04:18 UTC
fixed

cdev#f752e027e4e7
Comment 3 Quality Engineering 2009-03-26 14:29:23 UTC
Integrated into 'main-golden', will be available in build *200903260733* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/f752e027e4e7
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #160366 _ NPE & #160670 - add listeners only once