Exception while using WebUtil on OAS 10.1.2.3

After upgrading OAS to the latest patch 3 ( 10.1.2.3 ) we ran into a problem while using WEBUTIL. When using a webutil component from within our forms application , an exception is Thrown in to the java console and nothing seems to happen in the Form itself.

The error message thrown :

Exception in thread "AWT-EventQueue-3" java.lang.NoSuchMethodError:
oracle.forms.handler.IHandler.getApplet()Ljava/applet/Applet;
at oracle.forms.webutil.common.VBeanCommon.init(VBeanCommon.java:281)
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)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Thanks to the active community at the Oracle forums i was able to come up with this solution.

This is due to the fact that the frmwebutil.jar used in a earlier version is not compiled against the new OAS 10.1.2.3 frmall.jar version. As a result this exception is thrown.

The solution to this is to extract the orginal complid “frmwebutil.jar” from the OAS 10.1.2.3 installation files and overwrite the frmwebutil.jar currently used. To extract the GOOD frmwebutil.jar browse threw the installation path towards this point “Disk1stagePatchesoracle.developer.forms.builder10.1.2.3.01DataFiles”

Extract the this jar as followed :


$ORACLE_HOMEjdkbinjar xf webutil.2.2.jar frmwebutil.jar

Rename the frmwebutil.jar0 to frmwebutil.jar and overwrite the current version used which most likely can be found here “$ORACLE_HOMEformsjava”.

This solved the problem for me !

Comments are closed.

  • 071 - 82 000 82
  • Rijndijk 137 | 2394 AG Hazerswoude-Rijndijk
DEMO
Oracle Specialized
Java
GlassFish
WSO2
i-bridge
Rabobank
Greencat
Reuma Revalidatie Rotterdam
Robeco
VU Medisch Centrum
CHS
LUMC
TomTom
TKP
NCCW
Erasmus MC
UMCG
VIR
ANWB
BVA Auctions
D-Reizen
STEDIN