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.
This bug is inconsistently reproducible; however exception should be handled gracefully Build used: AppServer and Netbean: FCS Plugin: 04/16 STEPS TO REPRODUCE: 1. Start Netbean IDE > AppServer 2. Create a web module with adding some elements below to the web.xml file <resource-ref> <description></description> <res-ref-name>jdbc/jdbc-simple</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> </resource-ref> <message-destination-ref> <message-destination-ref-name>jms/QueueName</message-destination-ref-name> <message-destination-type>javax.jms.Queue</message-destination-type> <message-destination-usage>Produces</message-destination-usage> <message-destination-link>LogicalQueue</message-destination-link> </message-destination-ref> 3. Deploy the web module 4. Higligh <resource-ref> <description></description> <res-ref-name>jdbc/jdbc-simple</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> </resource-ref> And replace them with "incorect syntax" below: <res-ref-name>jms/MyConnectionFactory</res-ref-name> <jndi-name>jms/QueueConnectionFactory</jndi-name> BUG: NPE occurs - ide.log file attached ------------------------------------------------------------------ java.lang.NullPointerException at org.netbeans.modules.j2ee.deployment.config.ConfigBeanStorage.removeChild(ConfigBeanStorage.java:137) at org.netbeans.modules.j2ee.deployment.config.ConfigBeanStorage.fireEvent(ConfigBeanStorage.java:111) at org.netbeans.modules.j2ee.deployment.config.DDCommon.fireEvent(DDCommon.java:230) ............ ------------------------------------------------------------------
Created attachment 14439 [details] ide.log file
Martin, can you please investigate whether this still occurs with the latest NB 4.0 builds + Appserver 8.1 plugin? Thanks.
Works for me with build #200409071800