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.
200401181900 build How to reproduce: 1) Invoke Web module wizard 2) Use Browse button and choose Read-only directory 3) Finish 4) ERROR: NullPointerException occures
Created attachment 12966 [details] NullPointerException
Will fix for 3.6
Created attachment 13443 [details] proposed patch
Evaluation: Issue in the setPath() method. There is no check on "readonly" directory. Now if the directory is "readonly" button "Finish" is disable and message "This directory is readonly" is displayed.
The issue still exists in promo-D. Web project wizard throws exception when creating web project in read-only directory.
Fixed in webapps. Reassigning to j2se project to fix j2se wizards.
Checking in j2seproject/src/org/netbeans/modules/java/j2seproject/J2SEProjectGenerator.java; /cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/J2SEProjectGenerator.java,v <-- J2SEProjectGenerator.java new revision: 1.23; previous revision: 1.22 done Processing log script arguments... More commits to come... Checking in j2seproject/src/org/netbeans/modules/java/j2seproject/ui/wizards/Bundle.properties; /cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/wizards/Bundle.properties,v <-- Bundle.properties new revision: 1.30; previous revision: 1.29 done Checking in j2seproject/src/org/netbeans/modules/java/j2seproject/ui/wizards/PanelProjectLocationVisual.java; /cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/wizards/PanelProjectLocationVisual.java,v <-- PanelProjectLocationVisual.java new revision: 1.20; previous revision: 1.19 done Checking in j2seproject/src/org/netbeans/modules/java/j2seproject/ui/wizards/PanelSourceFolders.java; /cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/wizards/PanelSourceFolders.java,v <-- PanelSourceFolders.java new revision: 1.20; previous revision: 1.19 done Processing log
Verified.