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.
NB4.1 (200501131900), JDK1.5.0 NPE rises when I click on Select File in Browse FIle dialog invoked from web.xml | Welcome Files | Browse .... see attachment
Created attachment 19699 [details] NullPointerException stack trace
To reproduce this, you have to remove the list of pages then do Browser... The NPE means j2eeserver get notified on a ddbean event given old value BaseBean's without parent. Generally, event base beans except root should be part of a graph. In this case probably the event was generated even the removed values (which are just default) have not been known to the ddbean cache yet. Just protect j2eeserver from such bad event. Fix checkin: Checking in src/org/netbeans/modules/j2ee/deployment/config/ModuleDeploymentSupport.java; /cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/config/ModuleDeploymentSupport.java,v <-- ModuleDeploymentSupport.java new revision: 1.22; previous revision: 1.21
Fixed
verified in NB 4.1 (200502071900)