Bug 6232 - Build problems: Internal error: null when compiling JDK source code
Summary: Build problems: Internal error: null when compiling JDK source code
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 M2   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-22 11:41 EST by Magnus Ihse Bursie CLA
Modified: 2002-01-11 09:34 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Magnus Ihse Bursie CLA 2001-11-22 11:41:02 EST
I downloaded the JDK1.3.1 source code from Sun. I unpacked the tar.gz archive. 
Then I imported the java source code from the src\share\classes
directory into a newly created project "Sun JDK 1.3.1".

After turning off auto build and trying again, I could actually import the 
source files. :-) (Big improvement over old VA Java... feels good, thank you!)

However, I could never get the project to compile. I didn't really expect
that, since this is a really naïve approach, but it seems as Eclipse fails
before it really starts compiling. I get a lot of checking for compile
status and stuff, and then I got a message dialog with title "Build problems", 
saying "Internal error: null". 

I realize that the code probably is incomplete and perhaps not possible to 
compile, however, then Eclipse should respond with compilation errors, and not 
in this way.
Comment 1 Philipe Mulet CLA 2001-11-23 18:40:15 EST
Did you get any stack trace in the .log file ? (inside the .metadata folder at 
the root of your workspace).
Comment 2 Philipe Mulet CLA 2001-11-23 19:02:40 EST
I tried it and wasn't able to reproduce.

The workspace contains exactly one project with one source folder containing 
the expanded content of this JAR, and I obtain 1418 errors after build.

What is the exact classpath of your project ? Did you have another library on 
your path ? Which Eclipse build are you running ?
Comment 3 Philipe Mulet CLA 2001-11-26 11:23:37 EST
Ok to close ?
Comment 4 Philipe Mulet CLA 2002-01-09 12:50:48 EST
Closing. Please reopen if still active.