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: | NPE: as refactorings calls DataObject.rename(null) | ||
---|---|---|---|
Product: | java | Reporter: | MackSix |
Component: | Refactoring | Assignee: | Ralph Ruijs <ralphbenjamin> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.3 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 197632 |
Attachments: | stacktrace |
Description
MackSix
2013-01-16 14:02:11 UTC
Created attachment 130284 [details]
stacktrace
I can't reproduce it now. The other day I was doing the same thing and had another NullPointerException reported here: http://netbeans.org/bugzilla/show_bug.cgi?id=224777 I have added an earlier check into the code, but the root problem is refactoring.plugins.FileRenamePlugin$RenameFile.undoChange(FileRenamePlugin.java:135) calling DataObject.rename(null). After my 5139b6625896 change you'll get IAE. Integrated into 'main-golden', will be available in build *201301180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/5139b6625896 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #224968: Detect null soon and throw IllegalArgumentException Reported for 7.3.x or earlier, no new info since then -> closing as worksforme, please reopen in case you see it. |