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.
[nb_dev](20010820),[jdk1.3.1](rc1) I know, that we are rewritting Component Palette, but in my opinion this bug will cause new more anoying bugs after merge new CP to trunk. Steps to reproduce: - open Options - expand Component Palette node - rename category for example "AWT" to "MyAWT" Now you obtain NullPointerException(attachment). If you rename category by push "Rename" on context menu of tab in Component Palette (not in Options window), operation ends without firing exception. Another problems: 1. if you try rename renamed category back to original name ( if you now rename MyAWT to AWT , this category "vanish", 2. if you try rename category in Options and new name contain spaces, category is renamed ( but new name is without spaces ), if you rename to the same name ( with spaces) by context menu on CP, new category name contains spaces.
Created attachment 2233 [details] NullPointerException
Well, new Component Palette is in IDE but problems with Rename / Create New Category and inconsistent behaviour of CP survive. New example : - create new category "Bean (2)" -> created ategory has name "Bean2" instead "Bean (2)" - if now you try to rename "Bean2" to "Bean (2)" it's succeed Why you can rename category to name with spaces, .... , but if you create category which name contains spaces ,... , than these characters are removed from category name.
In the dev build 200109131600 behavior is different from bug description. I can't reproduce exceptions and category is not lost when renaming categories as described. Only reordering of categories after renaming persists. Anyway I found behavior of palette and Tools|Options|...|Component Palette equivalent, so I am reassigning this issue back to form issues owner.
A. problems with NPE disappeared (fixed in core) B. problems with disappearing categories disappeared (fixed in core) C. problems with names containing spaces disappeared (fixed in core) D. the problem was only the following: If you rename some category, reordering of categories occures and some categories could have the same items as the other categories, and items don't correspond with the category name, you could e.g. see that "Borders" category contains layout-items. Problem D was fixed, others were fixed probably earlier in the core. ::: fixed in dev
verified in [nb_dev](20011030), but problems with reordering still attendant.
Resolved for 3.3.x or earlier, no new info since then -> closing.