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.
Build: NetBeans IDE 6.5 RC2 (Build 200810270001) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33 OS: Windows XP, 5.1, x86 Stacktrace: java.lang.NullPointerException at org.netbeans.modules.spring.beans.ui.customizer.SpringCustomizerPanel.editGroupButtonActionPerformed(SpringCustomizerPanel.java:494) at org.netbeans.modules.spring.beans.ui.customizer.SpringCustomizerPanel.access$800(SpringCustomizerPanel.java:71) at org.netbeans.modules.spring.beans.ui.customizer.SpringCustomizerPanel$.actionPerformed(SpringCustomizerPanel.java:342) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
Created attachment 72969 [details] stacktrace
goto web project spring framework properties 2) then goto configuration file groups>add group 3) Don't type a name keep group name blank and press ok 4) now de-select the unnamed group and click edit group
Build: NetBeans IDE 6.5 RC2 (Build 200810270001) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33 OS: Windows XP, 5.1, x86 User Comments: Stacktrace: java.lang.NullPointerException at org.netbeans.modules.spring.beans.ui.customizer.SpringCustomizerPanel.editGroupButtonActionPerformed(SpringCustomizerPanel.java:494) at org.netbeans.modules.spring.beans.ui.customizer.SpringCustomizerPanel.access$800(SpringCustomizerPanel.java:71) at org.netbeans.modules.spring.beans.ui.customizer.SpringCustomizerPanel$.actionPerformed(SpringCustomizerPanel.java:342) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
Created attachment 72970 [details] stacktrace
Build: NetBeans IDE Dev (Build 200811070201) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33 OS: Windows XP, 5.1, x86 User Comments: Stacktrace: java.lang.NullPointerException at org.netbeans.modules.spring.beans.ui.customizer.SpringCustomizerPanel.editGroupButtonActionPerformed(SpringCustomizerPanel.java:494) at org.netbeans.modules.spring.beans.ui.customizer.SpringCustomizerPanel.access$800(SpringCustomizerPanel.java:71) at org.netbeans.modules.spring.beans.ui.customizer.SpringCustomizerPanel$.actionPerformed(SpringCustomizerPanel.java:342) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
Created attachment 73478 [details] stacktrace
*** Issue 150569 has been marked as a duplicate of this issue. ***
Rajiv, When you say de-select the newly created 'unnamed' group, what do you mean by that? select another group? Secondly, whenever no group is selected (in the case you open the window for first time), the 'Edit Group' button stays disabled. In your setup, does the button remain enabled even if no groups are selected? Think, it may be getting enabled for fraction of seconds before getting disabled, in your setup, is it so? Please clarify on this. Thanks, Sujit
>>>When you say de-select the newly created 'unnamed' group, what do you mean by that? select another group? 1)Not to select another group you just press the CTRL key and select the 'unnamed' group which will de-select the newly created 'unnamed' group >>>Secondly, whenever no group is selected (in the case you open the window for first time), the 'Edit Group' button stays disabled. In your setup, does the button remain enabled even if no groups are selected? 2)yes , whenever no group is selected (in the case you open the window for first time), the 'Edit Group' button stays disabled and even you had a group n the case you open the window for first time the button is disabled and it is valid. hope this helps Sujit :-)
Thanks Rajiv for the additional inputs. The issue has been resolved. http://hg.netbeans.org/main/rev/7e4df3b43d4b
Integrated into 'main-golden', will be available in build *200812160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/7e4df3b43d4b User: Sujit Nair <nairsujit@netbeans.org> Log: IZ#151946 : Edit Group button remaining enabled when no group is selected and on click leading to NPE.