[WLW 9.2 -10.3]: Workshop throws NullPointerException during build from ReferenceBinding.binarySearch(ReferenceBinding.java:108). (Doc ID 1182769.1)

Last updated on OCTOBER 01, 2015

Applies to:

Oracle Workshop for Weblogic - Version: 9.2 to 10.3 - Release: 9.2 to AS10gR3
Information in this document applies to any platform.

Symptoms

Workshop 10.3 throws NullPointerException during build with JRockit JDK

java.lang.NullPointerException
at org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding.binarySearch(ReferenceBinding.java:108)
at org.eclipse.jdt.internal.compiler.lookup.ParameterizedTypeBinding.getMethods(ParameterizedTypeBinding.java:569)
at org.eclipse.jdt.internal.compiler.lookup.Scope.findMethod(Scope.java:1086)
at org.eclipse.jdt.internal.compiler.lookup.Scope.findMethod(Scope.java:1057)
at org.eclipse.jdt.internal.compiler.lookup.Scope.getMethod(Scope.java:2113)
at org.eclipse.jdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:429)
at org.eclipse.jdt.internal.compiler.ast.Expression.resolve(Expression.java:883)
at org.eclipse.jdt.internal.compiler.ast.Block.resolve(Block.java:100)
at org.eclipse.jdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:233)
...
 

Below is the error stack if you try to run the Workshop Generated Ant script on command line:

[jspc] java.lang.NullPointerException
[jspc] at com.bea.core.repackaged.jdt.internal.compiler.lookup.ReferenceBinding.binarySearch(ReferenceBinding.java:108)
[jspc] at com.bea.core.repackaged.jdt.internal.compiler.lookup.ParameterizedTypeBinding.getMethods(ParameterizedTypeBinding.java:508)
[jspc] at com.bea.core.repackaged.jdt.internal.compiler.lookup.Scope.findMethod(Scope.java:1064)
[jspc] at com.bea.core.repackaged.jdt.internal.compiler.lookup.Scope.getMethod(Scope.java:2005)
[jspc] at com.bea.core.repackaged.jdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:384)
[jspc] at com.bea.core.repackaged.jdt.internal.compiler.ast.Expression.resolve(Expression.java:883)
[jspc] at com.bea.core.repackaged.jdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:431)
[jspc] at com.bea.core.repackaged.jdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:191)
[jspc] at com.bea.core.repackaged.jdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:403)
[jspc] at com.bea.core.repackaged.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1047)
[jspc] at com.bea.core.repackaged.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1094)
[jspc] at com.bea.core.repackaged.jdt.internal.compiler.ast.CompilationUnitDeclaration.resolve(CompilationUnitDeclaration.java:353)
[jspc] at com.bea.core.repackaged.jdt.internal.compiler.Compiler.compile(Compiler.java:411)
[jspc] at weblogic.jsp.internal.java.JDTJavaCompiler.generateByteCode(JDTJavaCompiler.java:104)

Changes

Building file in WLW.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms