Community
Participate
Working Groups
Some potentially relavent parameters I could not define from the bugzilla interface: Build Version: 3.0 M2 Build For Linux w/ GTK Component: Eclipse Java Compiler JVM Version: SUN 1.4.2 On Linux Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28) Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode) Bug Description: Encountered internal compiler error while compiling only on Linux platform. The error can be reproduced while attempting to compile the LDAPd server available at http://ldapd.sourceforge.net. The failure resulted while compiling a the CompareRequestProcessor.java compilation unit. Two projects ldapd-common and ldapd-server were in configured in the workspace. Both have sources at $toplevel/src/java and dependent library jars in $toplevel/lib. The ldapd-server project depends on the ldapd-common project which compiles first successfully. Here's the detailed error message from the error dialog: Errors during build. org.eclipse.jdt.internal.compiler.lookup.ArrayBinding The stack trace for the exception that resulted and was displayed in the problems list view is pasted below: Severity Description Resource In Folder Location Creation Time Internal compiler error java.lang.ClassCastException: org.eclipse.jdt.internal.compiler.lookup.ArrayBinding at org.eclipse.jdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:273) at org.eclipse.jdt.internal.compiler.ast.Assignment.resolveType(Assignment.java:126) at org.eclipse.jdt.internal.compiler.ast.Expression.resolve(Expression.java:433) at org.eclipse.jdt.internal.compiler.ast.Block.resolve(Block.java:108) at org.eclipse.jdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:263) at org.eclipse.jdt.internal.compiler.ast.Block.resolve(Block.java:108) at org.eclipse.jdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:261) at org.eclipse.jdt.internal.compiler.ast.Block.resolveUsing(Block.java:119) at org.eclipse.jdt.internal.compiler.ast.TryStatement.resolve(TryStatement.java:483) at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:361) at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:140) at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:351) at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:846) at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:887) at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.resolve(CompilationUnitDeclaration.java:270) at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:533) at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:328) at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:198) at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:148) at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.build(BatchImageBuilder.java:51) at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildAll(JavaBuilder.java:192) at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:115) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:427) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1015) at org.eclipse.core.runtime.Platform.run(Platform.java:420) 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:1015) at org.eclipse.core.runtime.Platform.run(Platform.java:420) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:165) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:243) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:212) at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:181) at org.eclipse.ui.actions.GlobalBuildAction$1.run(GlobalBuildAction.java:174) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101) CompareRequestProcessor.java ldapd-server/src/java/ldapd/server/protocol line 0 July 30, 2003 11:05:58 AM Thanks much, Alex Karasulu
Moving to JDT/Core...
This looks like a duplicate of bug 40752. Could you please try latest integration build (0730)? It is released in this build.
Change milestone.
Please annotate the PR once you checked the latest integration build.
Yup it's fixed in the 0730 integration build. Thanks alot you guys rock!!!
Reopen to close it as duplicate.
*** This bug has been marked as a duplicate of 40752 ***