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 42637 - Wizard creates wrong Java Class (FSException: Cannot create folder <default package>)
Summary: Wizard creates wrong Java Class (FSException: Cannot create folder <default p...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Petr Hrebejk
URL:
Keywords:
: 43531 (view as bug list)
Depends on:
Blocks: 41535
  Show dependency tree
 
Reported: 2004-04-30 10:37 UTC by Milan Kuchtiak
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception (6.20 KB, text/plain)
2004-04-30 10:38 UTC, Milan Kuchtiak
Details
Wizard Panel (41.60 KB, image/jpeg)
2004-04-30 10:39 UTC, Milan Kuchtiak
Details
Created File (19.31 KB, image/jpeg)
2004-04-30 10:39 UTC, Milan Kuchtiak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kuchtiak 2004-04-30 10:37:39 UTC
Steps :

- create J2SE (Library) Project
- open Java Class wizard from "Source Packages" node
- type some Java Class Name e.g. "A"
- press Finish button

Wrong java class "Class.java" is created.
Also an exception is thrown.

See attached pictures.
Comment 1 Milan Kuchtiak 2004-04-30 10:38:30 UTC
Created attachment 14635 [details]
Exception
Comment 2 Milan Kuchtiak 2004-04-30 10:39:17 UTC
Created attachment 14636 [details]
Wizard Panel
Comment 3 Milan Kuchtiak 2004-04-30 10:39:47 UTC
Created attachment 14637 [details]
Created File
Comment 4 Petr Hrebejk 2004-05-03 13:31:59 UTC
By far not P1. Olny affects files in default package. 
Comment 5 Milan Kuchtiak 2004-05-03 15:43:25 UTC
I think the "default package" is quite important.
It's rather big problem when you can't set name for the class.
Comment 6 Petr Hrebejk 2004-05-19 12:22:45 UTC
*** Issue 43531 has been marked as a duplicate of this issue. ***
Comment 7 Petr Hrebejk 2004-05-19 12:25:03 UTC
Right package name (ie empty string should now be put into the
ComboboxEditor after selection of default package)
Comment 8 Lukas Hasik 2004-05-19 12:29:28 UTC
reopening - the issue has only status RESOLVED and no resolution.
please, close again with right status/resolution
Comment 9 Petr Hrebejk 2004-05-19 12:40:43 UTC
Is it better?
Comment 10 Quality Engineering 2007-09-20 11:51:51 UTC
Reorganization of java component