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.
When the undelying filesystem fires Attribute change with the attrName set to null. Registry API will throw NPE. This shouldn't happen as the FS doc allows to fire such events. Registry API should handle this case gracefully. java.lang.NullPointerException at org.netbeans.core.registry.Listener.fileAttributeChanged(Listener.java:60)
Did not know that attrName can be null. I will fix it tomorrow.
Fixed in: Checking in openide/registry/manifest.mf; new revision: 1.3; previous revision: 1.2 Checking in openide/registry/api/apichanges.xml; new revision: 1.3; previous revision: 1.2 Checking in openide/registry/src/org/netbeans/api/registry/AttributeEvent.java new revision: 1.2; previous revision: 1.1 Checking in openide/registry/src/org/netbeans/api/registry/BindingEvent.java; new revision: 1.2; previous revision: 1.1 Checking in core/registry/src/org/netbeans/core/registry/Listener.java; new revision: 1.2; previous revision: 1.1
David,please create unit. It should be simple.
David,please create unit test.
Good point, but will not have time to work on Registry for couple of weeks.
Promo D isssue I guess.
closed