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 11370 - Creating a new class (with main method) WITH OUT any mounted filesystems throwing NullPointerException.
Summary: Creating a new class (with main method) WITH OUT any mounted filesystems thro...
Status: CLOSED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: -FFJ-
Hardware: All Windows 3.1/NT
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-04-12 19:02 UTC by skmajji
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace (ide.log file) (5.17 KB, text/plain)
2001-07-20 20:42 UTC, skmajji
Details

Note You need to log in before you can comment on or make changes to this bug.
Description skmajji 2001-04-12 19:03:56 UTC
Creating a new class (with main method) without any mounted filesystems throwing
NullPointerException.

1) Unmount all the filesystems in the Explorer window (if any).
2) Select Main Window -> File -> New.
3) Expand Classes node in the Template Chooser.
4) Select Main node.
5) Give the class name
6) Press the 'Finish' button.
7) Standard error report dialog box (Unexpected Exception) appeared.
Comment 1 Svata Dedic 2001-04-12 20:17:42 UTC
Can you please attach the exception's message, or ide.log ? Thanks.

implementation note: it's probably a bug of openide's new from template wizard, 
since it should not be invoked at all or should not proceed beyond template 
selection without valid DataFolder.
Comment 2 skmajji 2001-04-12 22:41:42 UTC
Created attachment 1101 [details]
Stack trace (ide.log file)
Comment 3 Svata Dedic 2001-04-15 10:23:28 UTC
David, it seems that the core Wizard implementation passes sometimes null for 
target folder. Could you please verify this part ? I'll check the java wizard 
iterator.
Comment 4 Svata Dedic 2001-04-17 16:02:10 UTC
Seems to be fixed already in dev & 3.2
Closing as WORKSFORME, please reopen if the above is not true.

Comment 5 Quality Engineering 2003-07-01 13:11:50 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 6 Quality Engineering 2003-07-01 13:19:26 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.
Comment 7 Quality Engineering 2007-09-20 10:47:38 UTC
Reorganization of java component