Referencing getApplet Causes The Error "java.lang.NoSuchMethodError" After Upgrade To 10.1.2.3 (Or Newer) (Doc ID 559213.1)

Last updated on OCTOBER 31, 2016

Applies to:

Oracle Forms - Version 10.1.2.3.0 and later
Information in this document applies to any platform.
.
***Checked for relevance on 03-Jun-2013***


Symptoms

For Forms applications that use PJCs / Java Beans which reference the Forms Java function getApplet as below:
Applet m_applet = handler.getApplet();
Or
Component m_applet = handler.getApplet();
This kind of Forms applications will start and function normally on top of Forms "AS or DS" version 10.1.2.0.2 or 10.1.2.2.0
But after upgrade to Forms version 10.1.2.3.0 (or newer) "by installing <Patch 5983622>", trying to run / start this Form will fail and the Java console contents will show the following error:
-------
Forms Applet version is : 10.1.2.3
java.lang.NoSuchMethodError: oracle.forms.handler.IHandler.getApplet()Ljava/applet/Applet;
at FrmRequestInfo.init(FrmRequestInfo.java:37)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
...

Changes

Upgraded the Forms installation "AS or DS" to version 10.1.2.3.0 (e.g. applying <Patch 5983622>), or using now a newer Forms release.

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