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.
[200408180923; jdk1.5.0-rc-b63] 1.invoke properties of "Source Packages" (similar problem is with "Test Packages") 2.change property "name" 3.NPE appears and the "Source Packages" will vanish from the Projects view The problem only in that the change of property is not delegated in the projects.properties
Created attachment 16927 [details] Exception stack
This node should not have any properties and "Properties..." should not be in the context menu; it is useless, an accidental byproduct of the FolderNode-based implementation. Renaming ${src.dir} from the GUI is not supported. Jano please update the spec. Petr when fixed, please reassign to javacore as it clearly has some kind of robustness bug here.
I assume that also a package node should not have the Properties menu item.
Indeed. The "Sort Mode" property could in principle be useful in rare cases, but probably not worth cluttering the GUI with. Anyway I'm not sure it even works; and the "By Name (Packages First)" choice is nonsense in the package view.
Checking in java/project/src/org/netbeans/spi/java/project/support/ui/PackageRootNode.java; /cvs/java/project/src/org/netbeans/spi/java/project/support/ui/PackageRootNode.java,v <-- PackageRootNode.java new revision: 1.9; previous revision: 1.8 Checking in project/src/org/netbeans/spi/java/project/support/ui/PackageViewChildren.java; /cvs/java/project/src/org/netbeans/spi/java/project/support/ui/PackageViewChildren.java,v <-- PackageViewChildren.javanew revision: 1.30; previous revision: 1.29 done
Verified in dev build #200408241800; jdk1.5.0-rc-b63 (no properties available on the Source Packages and Test Packages node)