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.
I'm not sure when this happened but I've been enabling/disabling web service security in both the service endpoint and service client. The service client is an EJB Module project that uses EJB 3. java.lang.NullPointerException at org.netbeans.modules.j2ee.sun.share.config.ui.ConfigUtils.createSheet(ConfigUtils.java:112) at org.netbeans.modules.j2ee.sun.share.config.ui.ConfigBeanNode.createSheet(ConfigBeanNode.java:122) at org.openide.nodes.AbstractNode.getSheet(AbstractNode.java:404) at org.openide.nodes.AbstractNode.getPropertySets(AbstractNode.java:415) at org.openide.explorer.propertysheet.PropertySheet.setCurrentNode(PropertySheet.java:567) at org.openide.explorer.propertysheet.PropertySheet.doSetNodes(PropertySheet.java:382) at org.openide.explorer.propertysheet.PropertySheet.access$300(PropertySheet.java:85) [catch] at org.openide.explorer.propertysheet.PropertySheet$2$1.run(PropertySheet.java:526) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Created attachment 38780 [details] message log to help debug
It happens when I open my sun-ejb-jar.xml then click "Edit as XML"
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE sun-ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 9.0 EJB 3.0//EN" "http://www.sun.com/software/appserver/dtds/sun-ejb-jar_3_0-0.dtd"> <sun-ejb-jar> <enterprise-beans> <ejb> <ejb-name>SessionBean1</ejb-name> <service-ref> <service-ref-name>com.mycompany.product.dao.SessionBean1/service</service-ref-name> <port-info> <wsdl-port> <namespaceURI>http://service.central.product.mycompany.com/</namespaceURI> <localpart>Service1Port</localpart> </wsdl-port> </port-info> </service-ref> </ejb> <ejb> <ejb-name>SessionBean2</ejb-name> <service-ref> <service-ref-name>com.mycompany.product.dao.SessionBean2/service</service-ref-name> <port-info> <wsdl-port> <namespaceURI>http://service.product.mycompany.com/</namespaceURI> <localpart>Service2Port</localpart> </wsdl-port> </port-info> </service-ref> </ejb> </enterprise-beans> </sun-ejb-jar>
Reassigning to serverplugins for evaluation.
May be a dup of 83991
*** Issue 83991 has been marked as a duplicate of this issue. ***
I marked 83991 as a dup of this issue. Even better, I'm fairly certain that this NPE was caused by the same bad BeanInfo descriptor that caused issue 93113, so I'm going to mark this issue fixed. The change that fixed 93113 was just committed earlier in the day (Mar 7) so this should be fixed in the latest 5.5.1 nightly.
Here's the patch that fixed 93113 (and this issue) http://serverplugins.netbeans.org/source/browse/serverplugins/sun/sunddui/src/org/netbeans/modules/j2ee/sun/share/configbean/EjbJarRootBeanInfo.java?r1=1.1.16.1.2.1&r2=1.1.16.1.2.1.28.1
*** Issue 84400 has been marked as a duplicate of this issue. ***
Verified
*** Issue 100014 has been marked as a duplicate of this issue. ***