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 159839

Summary: AssertionError at org.netbeans.modules.search.ResultTreeModel.updateRootNodeSelection
Product: utilities Reporter: Jesse Glick <jglick>
Component: SearchAssignee: Andrey Yamkovoy <kaktus>
Status: RESOLVED INCOMPLETE    
Severity: blocker CC: fmonsalvo, spaquet
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=147248
Issue Type: DEFECT Exception Reporter: 147248
Attachments: stacktrace
stacktrace
stacktrace

Description Jesse Glick 2009-03-06 23:57:52 UTC
Build: NetBeans IDE Dev (Build 090306)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Linux, 2.6.27-11-generic, i386

User Comments:
jglick: Safe Delete'ing a form file. Might have been present in some search results, not sure.



Stacktrace: 
java.lang.AssertionError
        at org.netbeans.modules.search.ResultTreeModel.updateRootNodeSelection(ResultTreeModel.java:381)
        at org.netbeans.modules.search.ResultTreeModel.updateRootNodeSelection(ResultTreeModel.java:377)
        at org.netbeans.modules.search.ResultTreeModel.access$500(ResultTreeModel.java:58)
        at org.netbeans.modules.search.ResultTreeModel$Task.run(ResultTreeModel.java:334)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
Comment 1 Jesse Glick 2009-03-06 23:57:57 UTC
Created attachment 77854 [details]
stacktrace
Comment 2 Andrey Yamkovoy 2009-03-11 15:57:04 UTC
Can't reproduce this issue.
Could you please provide the steps which leads to this exception ...
Comment 3 Jesse Glick 2009-03-11 18:35:58 UTC
I have no idea how to reproduce. Of course I did not record everything I did in advance. But if the stack trace does not
give you sufficient information to diagnose, perhaps the assert statement should include a useful detail message.
Comment 4 spaquet 2009-04-02 17:03:37 UTC
Build: NetBeans IDE Dev (Build 200903310200)
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: 
deleting a project with source and all the stuff.
No project object were open when closing.

Stacktrace: 
java.lang.AssertionError
        at org.netbeans.modules.search.ResultTreeModel.updateRootNodeSelection(ResultTreeModel.java:381)
        at org.netbeans.modules.search.ResultTreeModel.updateRootNodeSelection(ResultTreeModel.java:377)
        at org.netbeans.modules.search.ResultTreeModel.access$500(ResultTreeModel.java:58)
        at org.netbeans.modules.search.ResultTreeModel$Task.run(ResultTreeModel.java:334)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
Comment 5 spaquet 2009-04-02 17:03:49 UTC
Created attachment 79301 [details]
stacktrace
Comment 6 fmonsalvo 2009-10-07 15:36:14 UTC
Build: NetBeans IDE Dev (Build 200910070250)
VM: Java HotSpot(TM) Client VM, 1.5.0_14-b03, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_14-b03
OS: Windows XP, 5.1, x86

User Comments: 
I opened the "Go To File" dialog and started typing when this Exception was raised.

Stacktrace: 
java.lang.AssertionError
        at org.netbeans.modules.search.ResultTreeModel.updateRootNodeSelection(ResultTreeModel.java:381)
        at org.netbeans.modules.search.ResultTreeModel.updateRootNodeSelection(ResultTreeModel.java:377)
        at org.netbeans.modules.search.ResultTreeModel.access$500(ResultTreeModel.java:58)
        at org.netbeans.modules.search.ResultTreeModel$Task.run(ResultTreeModel.java:334)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
Comment 7 fmonsalvo 2009-10-07 15:36:19 UTC
Created attachment 89025 [details]
stacktrace