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 177812 - AssertionError at org.netbeans.modules.search.MatchingObject.isSubnodeSelected
Summary: AssertionError at org.netbeans.modules.search.MatchingObject.isSubnodeSelected
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Victor Vasilyev
URL:
Keywords:
: 181032 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-11-29 14:39 UTC by dmytro
Modified: 2010-03-16 08:09 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 163100


Attachments
stacktrace (1.69 KB, text/plain)
2009-11-29 14:39 UTC, dmytro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dmytro 2009-11-29 14:39:16 UTC
Build: NetBeans IDE 6.8 M2 (Build 200910071658)
VM: Java HotSpot(TM) Client VM, 1.5.0_11-b03, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_11-b03
OS: Windows XP, 5.1, x86

User Comments:
dmytro: When I try to perform replace in project and begin to set/unset checkboxes on the files list



Stacktrace: 
java.lang.AssertionError
        at org.netbeans.modules.search.MatchingObject.isSubnodeSelected(MatchingObject.java:304)
        at org.netbeans.modules.search.NodeRenderer.getTreeCellRendererComponent(NodeRenderer.java:206)
        at javax.swing.plaf.basic.BasicTreeUI.paintRow(BasicTreeUI.java:1413)
        at javax.swing.plaf.basic.BasicTreeUI.paint(BasicTreeUI.java:1203)
        at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142)
        at javax.swing.JComponent.paintComponent(JComponent.java:743)
Comment 1 dmytro 2009-11-29 14:39:19 UTC
Created attachment 91840 [details]
stacktrace
Comment 2 Victor Vasilyev 2009-12-11 03:18:44 UTC
I can't reproduce this bug on

Product Version: NetBeans IDE Dev (Build 091209-3d9a6e628082)
Java: 1.6.0_13; Java HotSpot(TM) Client VM 11.3-b02
System: Windows Vista version 6.0 running on x86; Cp1251; ru_RU (nb)

We need have more statistics to find a cause.
Comment 3 Victor Vasilyev 2009-12-11 06:54:22 UTC
Changeset: 678d25dd1714
Author:    Victor G. Vasilyev <vvg@netbeans.org>
Date:      2009-12-11 16:27
Message:   The assert statement is improved to have more info about values of both index and matchesSelection.length.
Issue #177812 - AssertionError at org.netbeans.modules.search.MatchingObject.isSubnodeSelected
Comment 4 Victor Vasilyev 2009-12-11 07:16:54 UTC
Please, re-open this bug if the assertion error will occur in the future.
Comment 5 Quality Engineering 2009-12-11 20:54:41 UTC
Integrated into 'main-golden', will be available in build *200912111937* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/678d25dd1714
User: Victor G. Vasilyev <vvg@netbeans.org>
Log: The assert statement is improved to have more info about values of both index and matchesSelection.length.
Issue #177812 - AssertionError at org.netbeans.modules.search.MatchingObject.isSubnodeSelected
Comment 6 Victor Vasilyev 2010-03-16 08:09:58 UTC
*** Bug 181032 has been marked as a duplicate of this bug. ***