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 @ sahipro.com with your query.

Console error Mobile add-on

erojaserojas Members
Hi, i have a problem with the automation in android when i connect my movil divice, the message in sahi is:
"Could not connect to device"

in console have the next message:
Network Dump created at C:\Users\QA\sahi_pro\userdata\bin\temp\IpDump.htm
java.lang.NullPointerException
at java.util.regex.Matcher.appendReplacement(Unknown Source)
at java.util.regex.Matcher.replaceAll(Unknown Source)
at java.lang.String.replaceAll(Unknown Source)
at net.sf.sahi.test.NativeAndroidLauncher.replaceVariables(NativeAndroidLauncher.java:74)
at net.sf.sahi.test.NativeAndroidLauncher.start(NativeAndroidLauncher.java:105)
at net.sf.sahi.test.NativeAndroidLauncher.connectDevice(NativeAndroidLauncher.java:87)
at in.co.sahi.distributed.AndroidManager.connectDevice(AndroidManager.java:61)
at in.co.sahi.distributed.AndroidManager.startNativeSession(AndroidManager.java:103)
at net.sf.sahi.command.AndroidViewerUI.startNativeSession(AndroidViewerUI.java:70)
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:41)
at net.sf.sahi.LocalRequestProcessor.handleDyn(LocalRequestProcessor.java:141)
at net.sf.sahi.LocalRequestProcessor.getLocalResponse(LocalRequestProcessor.java:58)
at net.sf.sahi.ProxyProcessor.processLocally(ProxyProcessor.java:255)
at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:79)
at java.lang.Thread.run(Unknown Source)

follow each step of the documentation, but it's not working :'(

regards.
Sign In or Register to comment.