Using Code Completion (Intellisense) for a SQL Server OTD Fails with an Illegal Argument Exception (Doc ID 1316610.1)

Last updated on NOVEMBER 02, 2016

Applies to:

Oracle Java CAPS Enterprise Service Bus - Version R6 U1 and later
Information in this document applies to any platform.
****Checked for relevance on 24-Oct-2013****

Symptoms

When attempting to use code completion (Intellisense) for a SQL Server OTD in the Java Collaboration Editor, after entering a period to display the methods available, the methods are not displayed. A flashing warning appears in the bottom right hand corner of NetBeans.

Clicking on this Warning shows the following exception:

java.lang.IllegalArgumentException: getClass()@otd_GFPLEMS.UJSAdd
    at com.sun.tools.javac.model.JavacTypes.asMemberOf(JavacTypes.java:278)
    at org.netbeans.modules.editor.java.JavaCompletionProvider$JavaCompletionQuery.addMembers(JavaCompletionProvider.java:2587)
    at org.netbeans.modules.editor.java.JavaCompletionProvider$JavaCompletionQuery.insideMemberSelect(JavaCompletionProvider.java:1407)
    at org.netbeans.modules.editor.java.JavaCompletionProvider$JavaCompletionQuery.resolveCompletion(JavaCompletionProvider.java:565)
    at org.netbeans.modules.editor.java.JavaCompletionProvider$JavaCompletionQuery.run(JavaCompletionProvider.java:359)
    at org.netbeans.modules.editor.java.JavaCompletionProvider$JavaCompletionQuery.run(JavaCompletionProvider.java:123)
    at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:665)
    at org.netbeans.api.java.source.JavaSource.runWhenScanFinished(JavaSource.java:822)
    at org.netbeans.modules.editor.java.JavaCompletionProvider$JavaCompletionQuery.query(JavaCompletionProvider.java:267)
    at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:218)
    at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)

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