Hi Team -
I have installed Neoload 6.5 free evaluation edition. While I start recording, I am seeing below error message:
java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: C:\Program Files\NeoLoad 6.5\lib\x64\Win32API.dll: The specified procedure could not be found
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at javax.swing.SwingWorker.get(SwingWorker.java:602)
at com.neotys.nl.gui.a.a.k.done(k.java:251)
at javax.swing.SwingWorker$5.run(SwingWorker.java:737)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:832)
at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:842)
at javax.swing.Timer.fireActionPerformed(Timer.java:313)
at javax.swing.Timer$DoPostEvent.run(Timer.java:245)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Can someone help me how can I resolve this error?
Thanks in Advanced!
Harshal
Hi, you can try to deal with the issue by changing the java security option in the java control panel. Or you could reinstall it because the JVM throws that kind of error when it cannot find an appropriate native-language definition of a method declared as native. This error is thrown only at runtime and when an application attempts to load a native library like .so in Linux, .dll on Windows or .dylib in Mac and that library does not exist.
That issue occurs when you have another JAVA version (JDK) installed in your NeoLoad machine AND in your Windows PATH environment variable.
So to fix your issue you can either remove your JAVA JDK version from the Windows PATH environment variable or add NeoLoad in first position in that PATH variable.
To check your PATH content open a dos consol and execute the command: echo %PATH%
This can be customized in the Windows System preferences.
@Nouredine A. : I am seeing same error. The test runs fine despite the message. My question is what do i have to add to the PATH for NeoLoad?
@Patrick : That issue only impacts the recording and not the replaying or tests.
So if you get that error when starting a new recording the best (if possible) is to uninstall your JDK version that is in conflict with NeoLoad or to remove it from the %PATH% environment variable. It can be done in the system preferences.
To check the content of that variable simply run that command: echo %PATH%
Check if you see a JDK in that path.
Is see the error when running the test on a Jenkins node. Can i ignore the error?
Yes you can ignore it.