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.
Product Version: NetBeans IDE Dev (Build 070720) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb) Description: ============ open these two dialogs from menu Edit | Find in Projects... open these two dialogs from menu Edit | Replace in Projects... an exception is thrown StackTrace: =========== java.lang.AssertionError at org.netbeans.modules.search.SearchScopeRegistry.hasProjectSearchScopes(SearchScopeRegistry.java:373) at org.netbeans.modules.search.FindInFilesAction.getName(FindInFilesAction.java:274) at org.openide.util.actions.SystemAction.getValue(SystemAction.java:157) at org.netbeans.lib.uihandler.LogFormatter.paramToString(LogFormatter.java:346) at org.netbeans.lib.uihandler.LogFormatter.format(LogFormatter.java:304)
Created attachment 45438 [details] 110427
Confirmed. (NB build 070802, JDK 1.5.0_12, Linux, i386)
*** Issue 111430 has been marked as a duplicate of this issue. ***
*** Issue 111982 has been marked as a duplicate of this issue. ***
Fixed (in the trunk). The assertion check was expressing just an assumption. The fact that the assumption is not met does not break the functionality so I just removed the assertion check. Modified file: utilities/src/org/netbeans/modules/search/SearchScopeRegistry.java (1.4) Diff: http://utilities.netbeans.org/source/browse/utilities/src/org/netbeans/modules/search/SearchScopeRegistry.java?r1=1.3&r2=1.4&diff_format=u
verified on Product Version: NetBeans IDE Dev (Build 070809) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)