Community
Participate
Working Groups
What steps will reproduce the problem? 1. Provision a clean workspace with EclipseLink from source 2. Observe that the JavaBuilder crashes with NPE The following projects were in my workspace, configured per http://wiki.eclipse.org/EclipseLink/Building and http://wiki.eclipse.org/EclipseLink/Source#EclipseLink_Source_Control_Repositories javax.activation javax.mail javax.persistence javax.resource 1.5.0 javax.servlet javax.wsdl javax.xml.bind javax.xml.rpc javax.xml.stream javax.xml.ws org.apache.ant org.eclipse.persistence.core org.eclipse.persistence.jpa org.eclipse.persistence.jpa.equinox org.eclipse.persistence.jpa.equinox.weaving -- Error Details -- Date: Thu Jul 29 16:27:04 PDT 2010 Message: Errors running builder 'Java Builder' on project 'org.eclipse.persistence.jpa'. Severity: Error Product: Eclipse SDK 3.6.0.v201006080911 (org.eclipse.sdk.ide) Plugin: org.eclipse.jdt.core Session Data: eclipse.buildId=I20100608-0911 java.version=1.6.0_20 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Framework arguments: -product org.eclipse.sdk.ide Command-line arguments: -product org.eclipse.sdk.ide -data C:\Users\David Green\workspace-eclipselink -os win32 -ws win32 -arch x86 Exception Stack Trace: java.lang.NullPointerException at org.eclipse.jdt.internal.compiler.problem.ProblemReporter.missingTypeInMethod(ProblemReporter.java:5150) at org.eclipse.jdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:448) at org.eclipse.jdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:359) at org.eclipse.jdt.internal.compiler.ast.Expression.resolve(Expression.java:915) at org.eclipse.jdt.internal.compiler.ast.Block.resolve(Block.java:90) at org.eclipse.jdt.internal.compiler.ast.WhileStatement.resolve(WhileStatement.java:250) at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:451) at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:212) at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:410) at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1147) at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1235) at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.resolve(CompilationUnitDeclaration.java:540) at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:759) at org.eclipse.jdt.internal.compiler.ProcessTaskManager.run(ProcessTaskManager.java:137) at java.lang.Thread.run(Unknown Source)
>workarounds (SUN 1.6 32 and 64 bit JVM's as well as the 1.6 32-bit versions of JRockit and IBM J9 (via WebSphere 7) >Eclipse 3.5 64-bit OK using ini settings via http://wiki.eclipse.org/EclipseLink/Building/64bit -startup plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.0.200.v20090519 -showlocation -showsplash org.eclipse.platform --launcher.XXMaxPermSize 512m -framework plugins\org.eclipse.osgi_3.4.0.v20080605-1900.jar -Dsun.lang.ClassLoader.allowArraySyntax=true -Dosgi.requiredJavaVersion=1.5 -vmargs -Xms40m -Xmx512m >Eclipse 3.5 32-bit OK using ini settings -startup plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519 -product org.eclipse.epp.package.jee.product --launcher.XXMaxPermSize 512M -showlocation -showsplash org.eclipse.platform --launcher.XXMaxPermSize 512m -vmargs -Dsun.lang.ClassLoader.allowArraySyntax=true -Dosgi.requiredJavaVersion=1.5 -Xms40m -Xmx512m >Eclipse 3.6 32-bit Helios (pending test)
>The following Eclipse 3.5 based IDE installs are verified as OK http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/galileo/SR2/eclipse-jee-galileo-SR2-win32.zip >Oracle Enterprise Pack for Eclipse (3.5) http://www.oracle.com/technetwork/developer-tools/eclipse/downloads/oepe-11115-089873.html >I have a Helios 3.5 Eclipse install back at the office that I will verify early tomorrow.
Difficult to know if I have the right test case. I have many compile errors. Is this expected ? Could you please try using the 3.6.1 RC3 build?
I believe this is a duplicated of bug 306464.
I tried to set up the same environment and I don't get the exception anymore. But it would be nice if you could confirm that the problem is gone. Closing as a duplicate of bug 306464 *** This bug has been marked as a duplicate of bug 306464 ***
Verified for 3.7 M2 using build I20100909-1700