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 39000 - J2SE project wizard: Create in Read-only directory
Summary: J2SE project wizard: Create in Read-only directory
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks: 41537
  Show dependency tree
 
Reported: 2004-01-19 19:14 UTC by zikmund
Modified: 2004-08-20 09:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NullPointerException (2.76 KB, text/plain)
2004-01-19 19:15 UTC, zikmund
Details
proposed patch (2.42 KB, patch)
2004-02-16 09:34 UTC, jdi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description zikmund 2004-01-19 19:14:04 UTC
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
Comment 1 zikmund 2004-01-19 19:15:36 UTC
Created attachment 12966 [details]
NullPointerException
Comment 2 Ana.von Klopp 2004-02-02 17:51:20 UTC
Will fix for 3.6
Comment 3 jdi 2004-02-16 09:34:00 UTC
Created attachment 13443 [details]
proposed patch
Comment 4 jdi 2004-02-16 09:47:19 UTC
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.
Comment 5 Milan Kuchtiak 2004-06-29 14:52:19 UTC
The issue still exists in promo-D.
Web project wizard throws exception when creating web project in
read-only directory.
Comment 6 Radko Najman 2004-08-10 09:34:27 UTC
Fixed in webapps.
Reassigning to j2se project to fix j2se wizards.
Comment 7 Tomas Zezula 2004-08-17 10:41:29 UTC
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
Comment 8 zikmund 2004-08-20 09:08:02 UTC
Verified.