Hello,I'm using QTP 8.2. and I want to test an Application which is designed with Oracle Forms 10 g.Before installing the Oracle Addin for QTP 8.2. I was able to open the Application with QTP and IExplorer 6.0.After Installing the Oracle Addin for QTP 8.2. I wasn't able to open the Application neither with QTP nor ÍExplorer.I only installed the Addin. I haven't installed any upgrade or patch!The following failure is shown in the JAVA Console after starting the application:java.lang.VerifyError: (class: oracle/forms/net/MessageQueue, method: getAt signature: (I)Ljava/lang/Object;) Inconsistent stack height 0 != 1 at oracle.forms.net.HTTPConnection.(Unknown Source) at oracle.forms.engine.FormsDispatcher.initConnection(Unknown Source) at oracle.forms.engine.FormsDispatcher.init(Unknown Source) at oracle.forms.engine.Runform.initConnection(Unknown Source) at oracle.forms.engine.Runform.startRunform(Unknown Source) at oracle.forms.engine.Main.createRunform(Unknown Source) at oracle.forms.engine.Main.start(Unknown Source) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source)It would be more than nice if someone could help me with this problem

Showing Answers 1 - 5 of 5 Answers

Raver27

  • Jul 10th, 2006
 

Hello,


This problem occurs due to a conflict between java and oracle enabled support


1. Open the registrykey: HKEY_LOCAL_MACHINESoftwareMercury InteractiveJavaAgent


2. In the JavaAgent key change the value of Support Enabled from 1 to 0


This should solve your problem.

  Was this answer useful?  Yes

Raver27

  • Jul 11th, 2006
 

Hello,

The other solution won't work, this one does. I experienced some problems with my existing scripts(recorded with the 6.5 Oracle add-in) because some objects aren?t recognized properly anymore. I adjusted the scripts and now it works well.

 

Solution:

1. Open the registrykey: HKEY_LOCAL_MACHINESOFTWAREMercury InteractiveJavaAgentOracle Add-in for QuickTest

2. In the ?Oracle Add-in for QuickTest? key change the value of  ?Enabled? from 1 to 0


This should solve your problem.

  Was this answer useful?  Yes

swiser

  • Aug 25th, 2006
 

The only problem with this fix is if you are really wanting to use the Oracle Add-in with your application the suggested fix "disables" the Oracle Add-in.  In my case, I was receiving the same error but when I disabled the Oracle Add-in I could not record in QTP using that specific application.  To fix the problem, I went out on the Mercury Website to their Knowledge Base and found a "Patch" which adds support for Oracle Forms 10g/9i (also known as Oracle Forms 9.x) to the QTP Oracle Add-in 8.2.  It is Patch # QTPORACLE82P6102, but you have to request that they send it to you.  Maybe this will help.

  Was this answer useful?  Yes

Niranjan V

  • Feb 10th, 2007
 

Hi Frns,
Thanks to all.Even I got the same problem.
After installing java and oracle add-ins my application could not open.
My application is built with oracle 10g forms and java.
After modifying the value for Enabled from 1 to 0. then Could work on applicaiton. and qtp 8.2 is able to recognize.
Thanks for forum.
Niruv

  Was this answer useful?  Yes

Hi,

I experienced the same problem. The fact is that Oracle Add-In 8.2 is not compatible with Java 6 or higher (updates). I think your Oracle forms are loaded either by using JInitiator or Java.

If they are loaded using JInitiator, then you dont need any other Java. However, if Java is needed, then download and install Java 5 update 12. This would ensure that the forms are loaded even with the Oracle Add-In 8.2.

Thanks.
Sreekanth

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.