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 28481 - Problem with compile all
Summary: Problem with compile all
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows 3.1/NT
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
: 29029 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-11-05 14:48 UTC by natp
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

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 natp 2002-11-05 14:48:47 UTC
If I select Compile All from the build menu I get a 
NullPointerException with a request to report this bug.
The stack trace from the log is:

*********** Exception occurred ************ at Mon Nov 04 
13:52:51 EST 2002
java.lang.NullPointerException
	at 
org.netbeans.modules.java.JavaMakeCG.collectFiles
(JavaMakeCG.java:393)
	at 
org.netbeans.modules.java.JavaMakeCG.collectFiles
(JavaMakeCG.java:398)
	at 
org.netbeans.modules.java.JavaMakeCG.collectFiles
(JavaMakeCG.java:398)
	at 
org.netbeans.modules.java.JavaMakeCG.collectFiles
(JavaMakeCG.java:372)
	at org.netbeans.modules.java.JavaMakeCG.start
(JavaMakeCG.java:192)
[catch] at 
org.netbeans.core.compiler.CompilationEngineImpl$CompilerTh
read$GroupCompiler.run(CompilationEngineImpl.java:290)

I had the "Use JavaMake" property set to true. When I 
reset it back to false Compile All does not throw any 
exceptions. The problem is reproducable because if I set 
it back to true I get the same exception. I also tried to 
delete the entire project and recreate it. Same thing.
Comment 1 Tomas Hurka 2002-11-11 14:32:55 UTC
Fixed in trunk. It looks to me like 3.4.1 candidate.
Checking in JavaMakeCG.java;
/cvs/java/src/org/netbeans/modules/java/JavaMakeCG.java,v  <--  JavaMakeCG.java
new revision: 1.5; previous revision: 1.4
done
Comment 2 Tomas Hurka 2002-11-27 09:02:26 UTC
*** Issue 29029 has been marked as a duplicate of this issue. ***
Comment 3 Jesse Glick 2002-11-30 20:31:43 UTC
Correcting milestone.
Comment 4 Jaroslav Tulach 2002-12-03 09:53:29 UTC
Hi. This issue is marked as 3.4.1_CANDIDATE. It means that it should be
integrated into release341 one branch. The plan at
http://www.netbeans.org/devhome/docs/releases/34/index.html expected beta1 to be
produced on Dec01. That did not happen due to a lot of outstanding not
integrated candidates like this one. 

Would it be possible to spend few minutes by backporting this fix? Thank you in
advance.
Comment 5 Svata Dedic 2002-12-03 10:04:26 UTC
Merged to r-3.4.1:

/cvs/java/src/org/netbeans/modules/java/JavaMakeCG.java,v  <-- 
JavaMakeCG.java
new revision: 1.4.48.1; previous revision: 1.4
Comment 6 Jan Becicka 2003-01-21 11:11:17 UTC
VERIFIED
Comment 7 Quality Engineering 2003-07-01 13:16:22 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.