Bug 30746 - compiler fails on certain files......
Summary: compiler fails on certain files......
Status: RESOLVED DUPLICATE of bug 28750
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 critical (vote)
Target Milestone: 2.1 M5   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-31 16:04 EST by Jalpesh CLA
Modified: 2003-01-31 17:10 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 Jalpesh CLA 2003-01-31 16:04:37 EST
I have a file which fails to compile. This is the error which is generated. I
was not able to include the file mainly because it depends on a lot of other
files in the project.

I believe this is a critical problem since it's a compiler issue. So I would
appreciate it if we can fix it quickly - I know this used to work in M3 build,
so something must have changed in the M4.

Thanks,
Jalpesh.





Kind	Status	Priority	Description	Resource	In Folder	Location
Error			Internal compiler error
java.lang.NullPointerException
	at org.eclipse.jdt.internal.compiler.ClassFile.addFieldInfo(ClassFile.java:434)
	at org.eclipse.jdt.internal.compiler.ClassFile.addFieldInfos(ClassFile.java:579)
	at
org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCode(TypeDeclaration.java:694)
	at
org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCode(TypeDeclaration.java:762)
	at
org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCode(TypeDeclaration.java:709)
	at
org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCode(TypeDeclaration.java:770)
	at
org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.generateCode(CompilationUnitDeclaration.java:158)
	at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:543)
	at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:337)
	at
org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:194)
	at
org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:167)
	at
org.eclipse.jdt.internal.core.builder.BatchImageBuilder.build(BatchImageBuilder.java:49)
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildAll(JavaBuilder.java:179)
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:107)
	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:384)
	at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:852)
	at org.eclipse.core.runtime.Platform.run(Platform.java:413)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:120)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:176)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:186)
	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:146)
	at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:852)
	at org.eclipse.core.runtime.Platform.run(Platform.java:413)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:160)
	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:211)
	at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:861)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1569)
	at
org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:79)
	at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:95)
	DefaultSourceDocument.java	ide/src/com/bea/ide/sourceeditor	line 0
Comment 1 Olivier Thomann CLA 2003-01-31 17:10:25 EST
This is fixed in integration build > 030114. It is a duplicate of 28750. Please
take a newer build.

*** This bug has been marked as a duplicate of 28750 ***