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: | Deleting files causes NullPointerException to get thrown | ||
---|---|---|---|
Product: | platform | Reporter: | Unknown <non_migrated_user> |
Component: | -- Other -- | Assignee: | akemr <akemr> |
Status: | CLOSED FIXED | ||
Severity: | major | ||
Priority: | P1 | ||
Version: | 3.x | ||
Hardware: | Sun | ||
OS: | Solaris | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Unknown
2001-01-18 18:08:51 UTC
Looks like shadow's original field is null? (Shouldn't DataShadow protected constructor check for original==null and throw NullPointerException immediately to make it easier to diagnose the problem?) FWIW I do not get any exception thrown deleting an object in a current dev build. If you know what conditions are required to reproduce, please add them. I cannot reproduce this bug, but I try to fix it somehow: 1) NullPointerException will be thrown immediately in constructor of DataShadow, if original DataObject is null. 2) checkOriginal(DataObject orig) method, if orig is null, will return null and then create broken link. closed |