Discoverer 11.1.1.6.0 With Java 1.7 (JDK or JRE) Fails With Exceptions (Doc ID 1469683.1)

Last updated on SEPTEMBER 27, 2016

Applies to:

Oracle Discoverer - Version 11.1.1.2.0 and later
Information in this document applies to any platform.

Symptoms

 According to System Requirements and Supported Platforms for Oracle Fusion Middleware 11gR1 (xls) Discoverer 11.1.1.6 is certified with Java 1.7 when using Weblogic 10.3.6; however, when attempting to launch Discoverer Viewer or Discoverer Plus where Weblogic is used with JDK 1.7 on the middle-tier server side, the following error is encountered on the Discoverer connection page when authenticating:



The application encounters an invalid state. .
- Could not initialize class oracle.disco.model.xml.ModelElementToClassMapper
- Nested exception: java.lang.NoClassDefFoundError: Could not initialize class oracle.disco.model.xml.ModelElementToClassMapper
- Could not initialize class oracle.disco.model.xml.ModelElementToClassMapper Oracle BI Discoverer Viewer cannot find the data necessary to display the results of this event. Correct any errors, and try again.

For Discoverer Plus where Weblogic uses JDK 1.6 on the middle-tier server-side, but the client broswer uses JRE plugin 1.7, the follow errors can be encountered:

Unable to connect to Discoverer server: null. Please contact your Oracle Application Server administrator

or

Unable to connect to Discoverer server: Could not initialize class oracle.disco.model.xml.ModelElementToClassMapper Please contact your Oracle Application Server administrator

 

In the Java Console output the following exception can be noticed:

SEVERE:  - Nested exception: java.lang.ExceptionInInitializerError
java.lang.ExceptionInInitializerError
    at oracle.disco.model.xml.ModelElementFactory.<init>(Unknown Source)
    at oracle.disco.model.corbaserver.execengine.XMLModelUpdate.<init>(Unknown Source)
    at oracle.disco.model.corbaserver.execengine.ExecuteEngineImpl.<init>(Unknown Source)
    ...
Caused by: Basic Type Editor Missing for boolean - Nested exception: java.lang.ClassNotFoundException: sun.beans.editors.BoolEditor
    at oracle.disco.model.xml.ModelElementToClassMapper$PrimitiveType.<init>(Unknown Source)
    at oracle.disco.model.xml.ModelElementToClassMapper.<clinit>(Unknown Source)
    ... 21 more

 

Changes

 Java 1.7 (JRE)  was installed on the client PC or Weblogic Server was configured with Java 1.7 (JDK) on the server

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