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.
WIST GUI throw NPE when updating security policy. To reproduce this error: - test environment, latest NB6.0 and GFv2B58g (or any version of GFv2) - create an EJB project, EJBModule1, in NB - add a web service, echoWS, with, e.g. a simple echo action - right click on EJBModule1/Web Services/echoWS node and select "Edit Web Service Attributes" - on the WSIT GUI, select "Secure Service" - on the Secuity Mechanism combo box, select, e.g., SAML Authorization over SSL - a dialog shown an NPE error java.lang.NullPointerException at org.netbeans.modules.j2ee.dd.api.web.DDProvider.getDDRoot(DDProvider.java:85) at org.netbeans.modules.websvc.wsitconf.wsdlmodelext.ProfilesModelHelper.setSSLAttributes (ProfilesModelHelper.java:606) at org.netbeans.modules.websvc.wsitconf.ui.service.ServicePanel.setValue(ServicePanel.java:327) at org.netbeans.modules.xml.multiview.ui.SectionInnerPanel$ComboBoxActionListener.doSetValue (SectionInnerPanel.java:604) at org.netbeans.modules.xml.multiview.ui.SectionInnerPanel$FlushActionListener.actionPerformed (SectionInnerPanel.java:579) at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1197) at javax.swing.JComboBox.setSelectedItem(JComboBox.java:561) at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:597) at javax.swing.plaf.basic.BasicComboPopup$Handler.mouseReleased(BasicComboPopup.java:808) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:232) at java.awt.Component.processMouseEvent(Component.java:5501) at javax.swing.JComponent.processMouseEvent(JComponent.java:3135) at javax.swing.plaf.basic.BasicComboPopup$1.processMouseEvent(BasicComboPopup.java:476) at java.awt.Component.processEvent(Component.java:5266) at java.awt.Container.processEvent(Container.java:1966) at java.awt.Component.dispatchEventImpl(Component.java:3968) 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) ...
Fixed in trunk: Checking in ProfilesModelHelper.java; /cvs/websvc/wsitconf/src/org/netbeans/modules/websvc/wsitconf/wsdlmodelext/ProfilesModelHelper.java,v <-- ProfilesModelHelper.java new revision: 1.18; previous revision: 1.17 done
*** Issue 118172 has been marked as a duplicate of this issue. ***