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.
Summary: | J2SE project wizard: Create in Read-only directory | ||
---|---|---|---|
Product: | java | Reporter: | zikmund <zikmund> |
Component: | Project | Assignee: | Tomas Zezula <tzezula> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Windows ME/2000 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 41537 | ||
Attachments: |
NullPointerException
proposed patch |
Description
zikmund
2004-01-19 19:14:04 UTC
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. |