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: | Find usages does not work for packages | ||
---|---|---|---|
Product: | editor | Reporter: | Tomas Hurka <thurka> |
Component: | Refactoring | Assignee: | Jan Becicka <jbecicka> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | mgrummich |
Priority: | P1 | Keywords: | REGRESSION |
Version: | 4.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | NPE stacktrace |
Description
Tomas Hurka
2004-11-09 16:14:54 UTC
Created attachment 18807 [details]
NPE stacktrace
Checking in NbAbstractRefactoring.java; /cvs/refactoring/src/org/netbeans/modules/refactoring/NbAbstractRefactoring.java,v <-- NbAbstractRefactoring.java new revision: 1.12; previous revision: 1.11 done Fixed in trunk. Problem was, that refactoring classpath was created according element's resource, but element is in this case JavaPackage. And JavaPackage.getResource() returns null. Diff for review: http://refactoring.netbeans.org/source/browse/refactoring/src/org/netbeans/modules/refactoring/NbAbstractRefactoring.java.diff?r1=1.11&r2=1.12 Marku, please verify this fix in trunk. Thanks. Seems to be fixed in the build 200411091900 - Verified. I have reviewed the proposed fix and agree with it. Fixed in release40 Checking in NbAbstractRefactoring.java; /cvs/refactoring/src/org/netbeans/modules/refactoring/NbAbstractRefactoring.java,v <-- NbAbstractRefactoring.java new revision: 1.11.4.1; previous revision: 1.11 done |