Please note that Sahi's development and support teams do not actively monitor this. This is more a community forum. If you are a Sahi Pro user looking for commercial support, please email support @ with your query.

Xstudio launching sahi, not working

chrisb123chrisb123 Members
edited September 2015 in Sahi - Open Source
I am trying to launch sahi scripts from xstudio
From the directory D :\sahi\userdata\bin
I run the commands manually, first start the rpoxy
"C :/Program Files/Java/jdk1.8.0_51/bin/java.exe" -cp ../../lib/sahi.jar;../../extlib/rhino/js.jar;../../extlib/apc/commons-codec-1.3.jar net.sf.sahi.Proxy ../.. ..
Then in another terminal I run
D :/sahi/tools/toggle_IE_proxy.exe disable
"C :/Program Files/Java/jdk1.8.0_51/bin/java.exe" -cp ../../lib/ant-sahi.jar net.sf.sahi.test.TestRunner -test "D :/sahi/userdata/scripts/test.sah" -browserType "C:/Program Files/Internet Explorer/IEXPLORE.EXE" -baseURL -host localhost 9999 -threads 3 iexplore.exe "-noframemerging"

Nothing happens and I get this on the proxy terminal

Sep 24, 2015 1:14:52 PM net.sf.sahi.command.CommandExecuter execute
WARNING: commandClass = >net.sf.sahi.command.Suite< commandMethod = >start<
Sep 24, 2015 1:14:52 PM net.sf.sahi.command.CommandExecuter execute
WARNING: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at net.sf.sahi.command.CommandExecuter.execute(
at net.sf.sahi.LocalRequestProcessor.handleDyn(
at net.sf.sahi.LocalRequestProcessor.getLocalResponse(
at net.sf.sahi.ProxyProcessor.processLocally(
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$
Caused by: java.lang.NullPointerException
at net.sf.sahi.command.Suite.getPreconfiguredBrowserSuite(
at net.sf.sahi.command.Suite.getSuite(
at net.sf.sahi.command.Suite.start(
... 12 more
Sign In or Register to comment.