I have seen this problem when both QTP and Java/Oracle application installed on the same machine. Sometimes this may be show by AUT not starting or crashing. I have seen this occur when QTP running and not running. This is because the Java/Oracle environments have an issue.
I have found the following will work with QTP Java/Oracle add in
1. Close QTP and any Java or Oracle related applications.
**Note** step 2 to 7 will work for web java Applets controls
2. Open Control Panel and navigate to the Java Control Panel.
3. New window will appear 'Java Control Panel'
4. Go to the Advance tab
5. Depending on version of Java installed
- For Java 1.5
- click on 'APPLET tab support'
- For Java 1.6
- click on 'Default Java plugin for browsers'
6. Uncheck the checkbox 'Internet Explorer' (this may be disabled Vista and later OS)
7. Close the Java Control Panel by clicking on 'Ok' Button.
8. Open RegEdit
9. Navigate to the following registry key:
- **32 bit Operating System**
- HKEY_LOCAL_MACHINESOFTWAREMercury InteractiveJavaAgentLoadDependsOnPackage
- **64bit Operating System**
- HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMercury InteractiveJavaAgentLoadDependsOnPackage
10. Change the value from ''0'' to ''1''.
**NOTE** The default value is 0, which indicates that the agent is always loaded into an application. Changing to 1, it will instruct the agents to only be injected when QTP and the Java addin are loaded.