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.
It happens with projects created in an old coke build. To reproduce: Unzip the attached zip file. Open the three projects in ide. edit ws attributes inside the ejb project. Check enable message level security. NPE throws: java.lang.NullPointerException at org.netbeans.modules.identity.profile.ui.WSPSecurityPanel.enableSecurityCBActionPerformed(WSPSecurityPanel.java:262) at org.netbeans.modules.identity.profile.ui.WSPSecurityPanel.access$000(WSPSecurityPanel.java:41) at org.netbeans.modules.identity.profile.ui.WSPSecurityPanel$1.actionPerformed(WSPSecurityPanel.java:160) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:269) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.Component.processMouseEvent(Component.java:5488) at javax.swing.JComponent.processMouseEvent(JComponent.java:3126) at java.awt.Component.processEvent(Component.java:5253) at java.awt.Container.processEvent(Container.java:1966) at java.awt.Component.dispatchEventImpl(Component.java:3955) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822) at java.awt.Container.dispatchEventImpl(Container.java:2010) at java.awt.Window.dispatchEventImpl(Window.java:1778) at java.awt.Component.dispatchEvent(Component.java:3803) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153) at java.awt.Dialog$1.run(Dialog.java:517) at java.awt.Dialog$2.run(Dialog.java:545) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Dialog.java:543) at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:816) at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:859) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:847) at org.openide.util.Mutex.doEventAccess(Mutex.java:1178) at org.openide.util.Mutex.readAccess(Mutex.java:215) at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:832) at java.awt.Component.show(Component.java:1300) at java.awt.Component.setVisible(Component.java:1253) at org.netbeans.modules.websvc.core.wseditor.support.EditWSAttributesCookieImpl$1.run(EditWSAttributesCookieImpl.java:87) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Created attachment 34354 [details] zip file
Hong, please delete all existing amconfig.xml files under the Configuration Files node. We recently made incompatible changes to the schema. We decided not provide support for upgrading this file between beta and fcs.
Peter, Will the change affect projects created in beta release? I deleted the amconfig.xml and after that, I was able to edit ws attributes, but deployment was failed with these message in output window. am-init: am-deploy: C:\Documents and Settings\HONG\EnterpriseApplicationS\nbproject\build-impl.xml:178: The following error occurred while executing this line: C:\Documents and Settings\HONG\EnterpriseApplicationS\EnterpriseApplicationS-ejb\nbproject\am-deploy.xml:34: taskdef class org.netbeans.modules.identity.ant.AMDeploy cannot be found BUILD FAILED (total time: 6 seconds) I reopen the issue because if the defect will not be fixed, a workaround should be available.
also see 85613
Hong, the two issues are unrelated. Deleting the amconfig.xml is the workaround for this problem.