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.
Netbeans should issue the same "dereferencing possible null" warning for autoboxing as it does when dereferencing other values that may be null. Meaning: String value = possiblyNull.toString(); // issues a warning int value = getInteger(); // missing a warning because the Integer may be null
Fixed in the experimental impl, provided that getInteger() is annotated by @CheckForNull etc (or the return value is tested for null before it is assigned). Without an explicit comparison or annotation I cannot assume a reference return type is nullable - it would produce numerous errors. There will be a strict check option in the future.