18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

InvocationTargetException

JirkaJirka Members
edited November -1 in Sahi - Open Source
Hi,
I have started getting this error on sahi console:
31.3.2011 15:15:44 net.sf.sahi.command.CommandExecuter execute
WARNING: commandClass = >net.sf.sahi.command.Player< commandMethod = >markStepDone<
31.3.2011 15:15:44 net.sf.sahi.command.CommandExecuter execute
WARNING: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.sf.sahi.command.CommandExecuter.execute(CommandExecuter.java:55)
    at net.sf.sahi.LocalRequestProcessor.handleDyn(LocalRequestProcessor.java:65)
    at net.sf.sahi.LocalRequestProcessor.getLocalResponse(LocalRequestProcessor.java:38)
    at net.sf.sahi.ProxyProcessor.processLocally(ProxyProcessor.java:186)
    at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:86)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
    at net.sf.sahi.command.Player.markStepDone(Player.java:143)
    ... 12 more

This script was running good recently. But now the browser (IE7 or FF3.6) freezes and this exception raise.

Comments

  • wr897wr897 Members
    In addition I am also getting this error with IE 9, any help or workaround would be beneficial. The context for me was attempting to run a test.suite as per the instructions for running multiple tests in batch mode. An additional point is this error occurred for when when I was evaluating PushToTests Testmaker using the functional sahi AJAX test example. I have posted this on the TestMaker site however no reply re a fix as of yet.
Sign In or Register to comment.