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

(Doc ID 559213.1)

Last updated on OCTOBER 31, 2016

Applies to:

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


For Forms applications that use PJCs / Java Beans which reference the Forms Java function getApplet as below:
Applet m_applet = handler.getApplet();
Component m_applet = handler.getApplet();
This kind of Forms applications will start and function normally on top of Forms "AS or DS" version or
But after upgrade to Forms version (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 :
java.lang.NoSuchMethodError: oracle.forms.handler.IHandler.getApplet()Ljava/applet/Applet;
at FrmRequestInfo.init(
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)


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


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