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 24597 - NullPointerExceptions when setting Default Compiler to '(do not compile)'
Summary: NullPointerExceptions when setting Default Compiler to '(do not compile)'
Status: CLOSED DUPLICATE of bug 24585
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-10 15:30 UTC by stolley
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stacktrace for NPE (3.87 KB, text/plain)
2002-06-10 15:32 UTC, stolley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stolley 2002-06-10 15:30:11 UTC
Build: NetBeans 3.4 beta 1
Java versrion: JDK 1.4.0_01

- start netbeans ('Default Compiler' set to 'External 
Compilation')
- tools/option/editing/java sources/default compiler='(do 
not compile)'
- Close options

- Select any node in explorer that has a Java class in it.

A NullPointerException will be thrown (repeatedly) from 
line 212 of org.netbeans.modules.java.JavaDataObject.java.

(You will get the NPEs straight away if you had a java 
file open or an explorer node with java classes in it 
selected)

The problem occurs whenever you set the Default Compiler 
to 'Indirect Ant', 'Ant Script' or 'Do not comile'.  It 
does not occur when you set the Default Compiler 
to 'External', 'Internal', 'Fastjavac' or 'Jikes'.
Comment 1 stolley 2002-06-10 15:32:28 UTC
Created attachment 6177 [details]
Stacktrace for NPE
Comment 2 Jan Becicka 2002-06-10 15:39:10 UTC

*** This issue has been marked as a duplicate of 24585 ***
Comment 3 Quality Engineering 2003-07-01 13:10:59 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.
Comment 4 Quality Engineering 2003-07-01 13:14:23 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.