Bug 35302 - NPE: Internal compiler error
Summary: NPE: Internal compiler error
Status: CLOSED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 major (vote)
Target Milestone: 2.1 RC3   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-19 11:56 EST by Marius Slavescu CLA
Modified: 2009-06-30 09:53 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marius Slavescu CLA 2003-03-19 11:56:13 EST
Hi,

I created a project (using Eclipse 2.1 RC2) and after rebuild all I get (I
cannot recover from this problem, this happens randomly):

Internal compiler error
java.lang.NullPointerException

	at java.lang.String.<init>(String.java(Compiled Code))

	at
org.eclipse.jdt.internal.compiler.lookup.Scope.getTypeOrPackage(Scope.java(Compiled
Code))

	at
org.eclipse.jdt.internal.compiler.lookup.Scope.getTypeOrPackage(Scope.java(Compiled
Code))

	at
org.eclipse.jdt.internal.compiler.lookup.Scope.getTypeOrPackage(Scope.java(Compiled
Code))

	at
org.eclipse.jdt.internal.compiler.lookup.Scope.getTypeOrPackage(Scope.java(Compiled
Code))

	at
org.eclipse.jdt.internal.compiler.lookup.Scope.getTypeOrPackage(Scope.java(Compiled
Code))

	at
org.eclipse.jdt.internal.compiler.lookup.Scope.getTypeOrPackage(Scope.java(Compiled
Code))

	at
org.eclipse.jdt.internal.compiler.lookup.ClassScope.findSupertype(ClassScope.java:789)

	at
org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectSuperclass(ClassScope.java:582)

	at
org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectTypeHierarchy(ClassScope.java:675)

	at
org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.connectTypeHierarchy(CompilationUnitScope.java:252)

	at
org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:170)

	at org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:310)

	at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:324)

	at
org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:195)

	at
org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:145)

	at
org.eclipse.jdt.internal.core.builder.BatchImageBuilder.build(BatchImageBuilder.java:51)

	at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildAll(JavaBuilder.java:194)

	at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:117)

	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:424)

	at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:867)

	at org.eclipse.core.runtime.Platform.run(Platform.java:413)

	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:125)

	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:181)

	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:191)

	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:151)

	at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:867)

	at org.eclipse.core.runtime.Platform.run(Platform.java:413)

	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:165)

	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:265)

	at org.eclipse.core.internal.resources.Project.build(Project.java:85)

	at org.eclipse.ui.actions.BuildAction.invokeOperation(BuildAction.java:156)

	at org.eclipse.ui.actions.WorkspaceAction.execute(WorkspaceAction.java:116)

	at org.eclipse.ui.actions.WorkspaceAction$1.execute(WorkspaceAction.java:273)

	at
org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:65)

	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1591)

	at
org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:79)

	at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:95)
Comment 1 Marius Slavescu CLA 2003-03-19 11:58:10 EST
Duplicated by mistake.
Comment 2 Paul Slauenwhite CLA 2009-06-30 09:34:24 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this originator of this enhancement/defect has an inactive Bugzilla account and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.
Comment 3 Paul Slauenwhite CLA 2009-06-30 09:53:50 EDT
This enhancement/defect was mistaken closed as part of the TPTP 4.6 Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes) since the originator of this enhancement/defect has an inactive Bugzilla account.  If this enhancement/defect is still unresolved and reproducible, please re-open.