Highlighted
Absent Member.
Absent Member.
1096 views

java record replay error

I can record and compile a script using 'Java Record replay' protocol but not replay/run it successfully with in Vugen

I get the URL classloader error, it could be access issue but I don't know how to resolve it.
Error: at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at DummyClassLoader.loadClass(DummyClassLoader.java:30)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at DummyClassLoader.getScriptObject(DummyClassLoader.java:122)

Error: Can't create script object.
Error: Exception was raised when calling abort-cleanup function in extension java_int.dll: System Exceptions: EXCEPTION_ACCESS_VIOLATION
Warning: Extension trans.dll reports error -1 on call to function ExtAbortCleanup


0 Likes
2 Replies
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: java record replay error

check the java class paths.

You can get more details on this error from support portal.
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: java record replay error

classpath:
C:\Progra~1\HP\LoadRunner\bin\rt.jar;C:\Progra~1\HP\LoadRunner\bin\wt.jar;C:\Pro
gra~1\HP\LoadRunner\bin;C:\Progra~1\HP\LoadRunner\Classes;C:\Progra~1\jdk
1.6.0_18\jre\bin;C:\Progra~1\jdk1.6.0_18\bin;C:\Progra~1\jdk1.6.0_
18\jre\lib;C:\Progra~1\Common Files\Mercury Interactive\Functional Testing\Java\
classes\jasmine.jar
0 Likes
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.