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 43773 - Cannot run project
Summary: Cannot run project
Status: CLOSED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jan Becicka
URL:
Keywords:
: 44272 44343 44350 (view as bug list)
Depends on:
Blocks: 41537
  Show dependency tree
 
Reported: 2004-05-25 08:36 UTC by _ rkubacki
Modified: 2007-04-03 18:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ rkubacki 2004-05-25 08:36:15 UTC
May 25 build, Solaris 10, Ultra60, JDk1.4.2_04

new project with default options can be created
but cannot be executed. Message that
JavaApplication1 does not have main class set. is
displayed and it is not possible to set it though
it should be done automatically and project
customizer shows it is set.
Comment 1 Jan Becicka 2004-05-25 09:06:02 UTC
Changing priority to P2.
This happens only when Main class is parsed before JDK source (namely
before java.lang.String). It happens if you create a new project for
the first time (with fresh userdir) and run this project without doing
any modification in Main class.

Workaround: hit space key in editor to force reparsing of Main class.
Comment 2 Martin Matula 2004-06-03 13:42:18 UTC
*** Issue 44272 has been marked as a duplicate of this issue. ***
Comment 3 Martin Matula 2004-06-03 13:43:02 UTC
*** Issue 44272 has been marked as a duplicate of this issue. ***
Comment 4 Martin Matula 2004-06-04 15:19:33 UTC
*** Issue 44350 has been marked as a duplicate of this issue. ***
Comment 5 Milan Kubec 2004-06-04 17:41:23 UTC
*** Issue 44343 has been marked as a duplicate of this issue. ***
Comment 6 Jan Becicka 2004-06-17 14:51:17 UTC
Fixed.

Checking in src/org/netbeans/modules/java/JavaNode.java;
/cvs/java/src/org/netbeans/modules/java/JavaNode.java,v  <-- 
JavaNode.java
new revision: 1.104; previous revision: 1.103
done
Processing log script arguments...
More commits to come...
Checking in srcmodel/src/org/openide/src/ClassElement.java;
/cvs/java/srcmodel/src/org/openide/src/ClassElement.java,v  <-- 
ClassElement.java
new revision: 1.7; previous revision: 1.6
done
Comment 7 Jiri Prox 2005-07-18 16:07:00 UTC
verified in dev-050718