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 90347 - java.io.IOException when run j2se project with no main class
Summary: java.io.IOException when run j2se project with no main class
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-30 12:23 UTC by Jaromir Uhrik
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Messages.log attached... (24.56 KB, text/plain)
2006-11-30 12:32 UTC, Jaromir Uhrik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaromir Uhrik 2006-11-30 12:23:35 UTC
NetBeans IDE Dev (Build 200611300230)
1.5.0_06; Java HotSpot(TM) Client VM 1.5.0_06-64
Mac OS X version 10.4.8 running on ppc
en_US (nb); MacRoman

1.Create j2se project with Main java class
2.Delete Main
3.Run project
Following exception appears:

java.io.IOException
	at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:437)
	at org.netbeans.api.java.source.SourceUtils.isMainClass(SourceUtils.java:568)
	at org.netbeans.modules.java.j2seproject.J2SEProjectUtil.isMainClass(J2SEProjectUtil.java:88)
	at org.netbeans.modules.java.j2seproject.J2SEActionProvider.isSetMainClass
(J2SEActionProvider.java:657)
...
Comment 1 Jaromir Uhrik 2006-11-30 12:32:14 UTC
Created attachment 36384 [details]
Messages.log attached...
Comment 2 Tomas Zezula 2006-12-01 08:30:27 UTC
Checking in SourceUtils.java;
/cvs/java/source/src/org/netbeans/api/java/source/SourceUtils.java,v  <-- 
SourceUtils.java
new revision: 1.14; previous revision: 1.13
done
Comment 3 Jaromir Uhrik 2007-01-08 16:39:18 UTC
Verified in following build and configuration:
NetBeans IDE Dev (Build 200701071900)
1.5.0_06; Java HotSpot(TM) Client VM 1.5.0_06-64
Mac OS X version 10.4.8 running on ppc
en_US (nb); MacRoman
Comment 4 Quality Engineering 2007-09-20 11:49:08 UTC
Reorganization of java component