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.
Summary: | Assertion error from FindInFilesAction$LookupSensitive.isEnabled | ||
---|---|---|---|
Product: | utilities | Reporter: | Jesse Glick <jglick> |
Component: | Search | Assignee: | Marian Petras <mpetras> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 121006 | ||
Bug Blocks: | |||
Attachments: | Stack trace |
Description
Jesse Glick
2007-06-08 03:01:29 UTC
Created attachment 43427 [details]
Stack trace
Thrown again when closing a different project. Interrupts project closing and causes the project node to remain in the Projects tab. Looks like fPC(PROP_ENABLED) in FIFA.LS.stateChanged should be wrapped in Mutex.EVENT.readAccess? BTW the comment "auto-boxing" is incorrect, since there is a (String,boolean,boolean) overload. It should be wrapped, probably. Btw, it is interesting that I haven't encountered this assertion failure. I think I encountered it upon first using the redesigned Find dialog. Yes, I expect so. Class "FindInFilesAction" did not exist before the redesign. But before I committed the rewritten enable/disable mechanism to CVS, I tried various scenarios like opening/closing projects, selecting/unselecting nodes, marking a project as a main project, uninstalling support for projects, etc. and various combinations of them. Still I have never seen the assertion failure. Note: I checked the current mechanism of enabling/disabling find actions to CVS several days after I had checked the redesigned Find dialogue. Fixed in the trunk Modified file: utilities/src/org/netbeans/modules/search/FindInFilesAction.java (1.5) Diff: http://utilities.netbeans.org/source/browse/utilities/src/org/netbeans/modules/search/FindInFilesAction.java?r1=1.4&r2=1.5&diff_format=u |