Friday, 18 June 2010

After application of Patch 9444996 the Forms session hangs

Recently there is an issue after Patch 9444996, application forms session hangs in my 11i CU2 instance.

In the Java console the following stack trace is reported

Exception in thread "AWT-EventQueue-2" java.lang.NoClassDefFoundError: oracle/forms/ui/FScalingImageCanvas
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.ImageItem.class$(Unknown Source)
at oracle.forms.handler.ImageItem.getDefaultClass(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.ImageItem.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)

Finally found the cause of this , Applications Interoperability Patch 9410366 is not applied on top of Forms 6.0.8.28 (Patchset 19)

The Forms MLR Patch 9444996 delivers class oracle/forms/ui/FScalingImageCanvas. However the current $FND_TOP/java/make/fndjar.dep does not reference this class. This makes that it's not included in the fndforms.jar file and this error is raised when FScalingImageCanvas.class is called in the Forms Applet.

The Patch 9410366 gives fndjar.dep version 115.293 including the reference to FScalingImageCanvas.class and makes that the class is included in the fndforms.jar file when running Generate Product JAR files in adadmin.

To resolve the error perform the following steps:
  • Download and apply Patch 9410366 APPLICATIONS INTEROPERABILITY PATCH FOR DEVELOPER 6I PATCHSET 19 (6.0.8.28.X). This delivers fndjar.dep 115.293 including the reference for class oracle/forms/ui/FScalingImageCanvas
  • Generate the Product JAR files with adadmin to have the class included in the fndforms.jar ( 1. Generate Applications Files menu > 5. Generate product JAR files) 
  • Retest the issue to confirm problem is resolved

Related Posts by Categories



No comments: