Discoverer 11g Plus with Java 7 Errors with java.lang.ExceptionInInitializerError (Doc ID 1502903.1)

Last updated on MARCH 08, 2017

Applies to:

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

Symptoms

Unable to use Discoverer Plus 11.1.1.6 with Java 7.  Plus was working with Java 1.6.  Discoverer Viewer is working fine.
Java 7 patch 13877486 has been applied and Discoverer is configured to use Java 7.  The errors in the Java Console:

java.lang.RuntimeException: java.lang.ExceptionInInitializerError
at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.instantiateApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
...
Caused by: java.lang.ExceptionInInitializerError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
...
Caused by: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "setFactory")
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
...

Changes

 Just prior to attempting use of Java 7, SSL was enabled 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