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 41784 - Unable to create new project with main class in default package
Summary: Unable to create new project with main class in default package
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Petr Hrebejk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-07 10:50 UTC by Jaromir Uhrik
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception stack... (2.99 KB, text/plain)
2004-04-07 10:51 UTC, Jaromir Uhrik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaromir Uhrik 2004-04-07 10:50:33 UTC
[200404161800; j2sdk1.4.2_03]
1. Select menu File->New Project
2. In wizard select J2SE Application and press Next->
3. Edit Project name and location
4. Set checkbox Create Main Class selected and
write the name of the main class (e.g. "MainClass")
5. The following exception appears and no project
will be created
Comment 1 Jaromir Uhrik 2004-04-07 10:51:30 UTC
Created attachment 14314 [details]
Exception stack...
Comment 2 Jesse Glick 2004-04-22 03:42:26 UTC
Petr you fail to handle the case that the main class is in the default
package. Has happened to me too.
Comment 3 Petr Hrebejk 2004-04-23 10:25:22 UTC
Should be OK now.
Comment 4 Jaromir Uhrik 2004-04-23 15:39:35 UTC
Verified in 200404191800