Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

How can I resolve the replay error "OraFormsInit(Native: 1002 - Java Exception, Native Error 4: java.lang.NoClassDefFoundError: silk/performer/SilkPerformer)"

How can I resolve the replay error "OraFormsInit(Native: 1002 - Java Exception, Native Error 4: java.lang.NoClassDefFoundError: silk/performer/SilkPerformer)"

The error message “Native: 1002 - Java Exception, Native Error 4: java.lang.NoClassDefFoundError: silk/performer/SilkPerformer” has been known to occur during replay against an Oracle Forms Server or when replaying a Java Frameworks BDF script. To resolve the error the first thing you need to do is to verify that the SilkPerformer Java Active Profile settings are pointing to a valid Java Home, this can be done by doing the following:

Go to “SETTINGS | ACTIVE PROFILE | JAVA | GENERAL” enter the Java Home; then go to the ADVANCED tab and press the “Check JVM” button.

You should then receive a message “The Java Virtual Machine Settings are OK!”; if you do not receive this message then you will need to check the Java home specified exists on the machine hosting SilkPerformer.

Users who are executing a Java Frameworks BDF script will also need to ensure that all of the referenced classes in their BDF and .Java files are added to the “CLASSPATH” settings in the “Java | General tab”.

Once you have ruled out the above, you will next need to check the Try-Script localhost@scriptname_vuser.log file and verify if the SilkPerformer Java Runtime is unable to find the class files which form part of the “JavaUsersFramework.zip“. Below is a snippet taken from the vuser.log file which shows the Java Runtime not being able to locate the SilkPerformer class files.


Exception = "java.lang.NoClassDefFoundError: silk/performer/SilkPerformer"
Exception = "java.lang.NoClassDefFoundError: silk/performer/SilkPerformerPrintStream"
Exception = "java.lang.NoClassDefFoundError: com/segue/core/jnilib/ReflectionUtil"
Exception = "java.lang.NoClassDefFoundError: com/segue/core/jnilib/ReflectionUtil"
Exception = "java.lang.NoClassDefFoundError: com/segue/core/jnilib/ReflectionUtil"
Exception = "java.lang.NoClassDefFoundError: com/segue/core/jnilib/ReflectionUtil"
Exception = "java.lang.NoClassDefFoundError: silk/performer/SilkPerformer"

If you encounter the above message then this is a strong indication that your installation of SilkPerformer has become corrupted; therefore to resolve the error message it is recommended that you uninstall SilkPerformer, reboot, reinstall SilkPerformer and then perform a fresh Try-Script.

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 19:11
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.