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.

Bug 96215 - java.lang.NullPointerException at org.netbeans.modules.j2ee.sun.share.config.ui.ConfigUtils.createSheet(ConfigUtils.java:112)
Summary: java.lang.NullPointerException at org.netbeans.modules.j2ee.sun.share.config....
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: _ pcw
URL:
Keywords:
: 83991 84400 100014 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-02-21 19:46 UTC by rdelaplante
Modified: 2007-04-05 10:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
message log to help debug (538.72 KB, text/plain)
2007-02-21 19:47 UTC, rdelaplante
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rdelaplante 2007-02-21 19:46:42 UTC
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)
Comment 1 rdelaplante 2007-02-21 19:47:38 UTC
Created attachment 38780 [details]
message log to help debug
Comment 2 rdelaplante 2007-02-21 19:50:50 UTC
It happens when I open my sun-ejb-jar.xml then click "Edit as XML"
Comment 3 rdelaplante 2007-02-21 19:53:59 UTC
<?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>
Comment 4 Erno Mononen 2007-02-22 08:26:46 UTC
Reassigning to serverplugins for evaluation.
Comment 5 _ pcw 2007-03-08 09:08:06 UTC
May be a dup of 83991
Comment 6 _ pcw 2007-03-08 09:21:57 UTC
*** Issue 83991 has been marked as a duplicate of this issue. ***
Comment 7 _ pcw 2007-03-08 09:27:08 UTC
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.
Comment 9 _ pcw 2007-03-08 09:45:49 UTC
*** Issue 84400 has been marked as a duplicate of this issue. ***
Comment 10 Michal Mocnak 2007-03-15 10:34:43 UTC
Verified
Comment 11 novakm 2007-04-05 10:33:27 UTC
*** Issue 100014 has been marked as a duplicate of this issue. ***