hej, mam problem z odpaleniem testów w ant. Sprawdzałam chromedrivera jak i ścieżki do JAVA_HOME. Czy ktoś się spotkać z tym? Wcześnieij miałam problem również z kodowaniem..

tstamp:
     [echo] time: 04/11/2017 00:07:45
clean:
   [delete] Deleting directory C:\Users\XXX\selenium\fcc-tests\build
resolve:
[ivy:retrieve] :: Apache Ivy 2.4.0 - 20141213170938 :: http://ant.apache.org/ivy/ ::
[ivy:retrieve] :: loading settings :: url = jar:file:/C:/Users/XXX/.ant/lib/ivy.jar!/org/apache/ivy/core/settings/ivysettings.xml
[ivy:retrieve] :: resolving dependencies :: org.apache#SeleniumDependencies;working@DESKTOP-R69RFA6
[ivy:retrieve] 	confs: [default]
[ivy:retrieve] 	found junit#junit;4.11 in public
[ivy:retrieve] 	found org.hamcrest#hamcrest-core;1.3 in public
[ivy:retrieve] 	found org.seleniumhq.selenium#selenium-firefox-driver;3.0.1 in public
[ivy:retrieve] 	found org.seleniumhq.selenium#selenium-remote-driver;3.0.1 in public
[ivy:retrieve] 	found org.seleniumhq.selenium#selenium-api;3.0.1 in public
[ivy:retrieve] 	found cglib#cglib-nodep;3.2.4 in public
[ivy:retrieve] 	found org.apache.commons#commons-exec;1.3 in public
[ivy:retrieve] 	found com.google.code.gson#gson;2.3.1 in public
[ivy:retrieve] 	found com.google.guava#guava;19.0 in public
[ivy:retrieve] 	found org.apache.httpcomponents#httpmime;4.5.2 in public
[ivy:retrieve] 	found org.apache.httpcomponents#httpclient;4.5.2 in public
[ivy:retrieve] 	found org.apache.httpcomponents#httpcore;4.4.4 in public
[ivy:retrieve] 	found commons-logging#commons-logging;1.2 in public
[ivy:retrieve] 	found commons-codec#commons-codec;1.9 in public
[ivy:retrieve] 	found net.java.dev.jna#jna-platform;4.1.0 in public
[ivy:retrieve] 	found net.java.dev.jna#jna;4.1.0 in public
[ivy:retrieve] 	found org.seleniumhq.selenium#selenium-server;3.0.1 in public
[ivy:retrieve] 	found org.seleniumhq.selenium#selenium-java;3.0.1 in public
[ivy:retrieve] 	found org.seleniumhq.selenium#selenium-chrome-driver;3.0.1 in public
[ivy:retrieve] 	found org.seleniumhq.selenium#selenium-edge-driver;3.0.1 in public
[ivy:retrieve] 	found org.seleniumhq.selenium#selenium-ie-driver;3.0.1 in public
[ivy:retrieve] 	found org.seleniumhq.selenium#selenium-opera-driver;3.0.1 in public
[ivy:retrieve] 	found org.seleniumhq.selenium#selenium-safari-driver;3.0.1 in public
[ivy:retrieve] 	found io.netty#netty;3.5.7.Final in public
[ivy:retrieve] 	found org.seleniumhq.selenium#selenium-support;3.0.1 in public
[ivy:retrieve] 	found junit#junit;4.12 in public
[ivy:retrieve] 	found net.sourceforge.htmlunit#htmlunit;2.23 in public
[ivy:retrieve] 	found xalan#xalan;2.7.2 in public
[ivy:retrieve] 	found xalan#serializer;2.7.2 in public
[ivy:retrieve] 	found org.apache.commons#commons-lang3;3.4 in public
[ivy:retrieve] 	found commons-codec#commons-codec;1.10 in public
[ivy:retrieve] 	found net.sourceforge.htmlunit#htmlunit-core-js;2.23 in public
[ivy:retrieve] 	found net.sourceforge.htmlunit#neko-htmlunit;2.23 in public
[ivy:retrieve] 	found xerces#xercesImpl;2.11.0 in public
[ivy:retrieve] 	found xml-apis#xml-apis;1.4.01 in public
[ivy:retrieve] 	found net.sourceforge.cssparser#cssparser;0.9.20 in public
[ivy:retrieve] 	found org.w3c.css#sac;1.3 in public
[ivy:retrieve] 	found commons-io#commons-io;2.5 in public
[ivy:retrieve] 	found com.codeborne#phantomjsdriver;1.3.0 in public
[ivy:retrieve] 	found org.eclipse.jetty.websocket#websocket-client;9.2.15.v20160210 in public
[ivy:retrieve] 	found org.eclipse.jetty#jetty-util;9.2.15.v20160210 in public
[ivy:retrieve] 	found org.eclipse.jetty#jetty-io;9.2.15.v20160210 in public
[ivy:retrieve] 	found org.eclipse.jetty.websocket#websocket-common;9.2.15.v20160210 in public
[ivy:retrieve] 	found org.eclipse.jetty.websocket#websocket-api;9.2.15.v20160210 in public
[ivy:retrieve] 	found com.beust#jcommander;1.48 in public
[ivy:retrieve] 	found net.jcip#jcip-annotations;1.0 in public
[ivy:retrieve] 	found org.seleniumhq.selenium#jetty-repacked;9.2.13.v20160825 in public
[ivy:retrieve] 	found javax.servlet#javax.servlet-api;3.1.0 in public
[ivy:retrieve] 	found org.seleniumhq.selenium#htmlunit-driver;2.23 in public
[ivy:retrieve] 	found org.yaml#snakeyaml;1.15 in public
[ivy:retrieve] 	found org.apache.maven.plugins#maven-compiler-plugin;3.3 in public
[ivy:retrieve] 	found org.apache.maven#maven-plugin-api;2.2.1 in public
[ivy:retrieve] 	found org.apache.maven#maven-artifact;2.2.1 in public
[ivy:retrieve] 	found org.codehaus.plexus#plexus-utils;1.5.15 in public
[ivy:retrieve] 	found org.apache.maven#maven-core;2.2.1 in public
[ivy:retrieve] 	found org.apache.maven#maven-settings;2.2.1 in public
[ivy:retrieve] 	found org.apache.maven#maven-model;2.2.1 in public
[ivy:retrieve] 	found org.codehaus.plexus#plexus-interpolation;1.11 in public
[ivy:retrieve] 	found org.apache.maven#maven-plugin-parameter-documenter;2.2.1 in public
[ivy:retrieve] 	found org.apache.maven.wagon#wagon-http;1.0-beta-6 in public
[ivy:retrieve] 	found org.apache.maven.wagon#wagon-http-shared;1.0-beta-6 in public
[ivy:retrieve] 	found nekohtml#xercesMinimal;1.9.6.2 in public
[ivy:retrieve] 	found nekohtml#nekohtml;1.9.6.2 in public
[ivy:retrieve] 	found commons-httpclient#commons-httpclient;3.1 in public
[ivy:retrieve] 	found org.apache.maven.wagon#wagon-provider-api;1.0-beta-6 in public
[ivy:retrieve] 	found org.apache.maven#maven-profile;2.2.1 in public
[ivy:retrieve] 	found org.apache.maven#maven-repository-metadata;2.2.1 in public
[ivy:retrieve] 	found org.apache.maven#maven-error-diagnostics;2.2.1 in public
[ivy:retrieve] 	found org.apache.maven#maven-project;2.2.1 in public
[ivy:retrieve] 	found org.apache.maven#maven-artifact-manager;2.2.1 in public
[ivy:retrieve] 	found backport-util-concurrent#backport-util-concurrent;3.1 in public
[ivy:retrieve] 	found org.apache.maven#maven-plugin-registry;2.2.1 in public
[ivy:retrieve] 	found org.apache.maven#maven-plugin-descriptor;2.2.1 in public
[ivy:retrieve] 	found org.apache.maven#maven-monitor;2.2.1 in public
[ivy:retrieve] 	found org.sonatype.plexus#plexus-sec-dispatcher;1.3 in public
[ivy:retrieve] 	found org.sonatype.plexus#plexus-cipher;1.4 in public
[ivy:retrieve] 	found org.apache.maven.wagon#wagon-webdav-jackrabbit;1.0-beta-6 in public
[ivy:retrieve] 	found org.apache.jackrabbit#jackrabbit-webdav;1.5.0 in public
[ivy:retrieve] 	found org.apache.jackrabbit#jackrabbit-jcr-commons;1.5.0 in public
[ivy:retrieve] 	found org.slf4j#slf4j-api;1.5.3 in public
[ivy:retrieve] 	found org.slf4j#slf4j-nop;1.5.3 in public
[ivy:retrieve] 	found org.slf4j#slf4j-jdk14;1.5.6 in public
[ivy:retrieve] 	found org.slf4j#slf4j-api;1.5.6 in public
[ivy:retrieve] 	found org.slf4j#jcl-over-slf4j;1.5.6 in public
[ivy:retrieve] 	found org.apache.maven#maven-toolchain;2.2.1 in public
[ivy:retrieve] 	found org.apache.maven.shared#maven-shared-utils;0.7 in public
[ivy:retrieve] 	found com.google.code.findbugs#jsr305;2.0.1 in public
[ivy:retrieve] 	found org.apache.maven.shared#maven-shared-incremental;1.1 in public
[ivy:retrieve] 	found org.codehaus.plexus#plexus-component-annotations;1.5.5 in public
[ivy:retrieve] 	found org.codehaus.plexus#plexus-compiler-api;2.5 in public
[ivy:retrieve] 	found org.codehaus.plexus#plexus-utils;3.0.10 in public
[ivy:retrieve] 	found org.codehaus.plexus#plexus-compiler-manager;2.5 in public
[ivy:retrieve] 	found org.codehaus.plexus#plexus-container-default;1.5.5 in public
[ivy:retrieve] 	found org.codehaus.plexus#plexus-classworlds;2.2.2 in public
[ivy:retrieve] 	found org.apache.xbean#xbean-reflect;3.4 in public
[ivy:retrieve] 	found log4j#log4j;1.2.12 in public
[ivy:retrieve] 	found commons-logging#commons-logging-api;1.1 in public
[ivy:retrieve] 	found org.codehaus.plexus#plexus-compiler-javac;2.5 in public
[ivy:retrieve] 	found org.apache.maven.plugin-tools#maven-plugin-annotations;3.3 in public
[ivy:retrieve] 	found postgresql#postgresql;9.1-901-1.jdbc4 in public
[ivy:retrieve] 	found org.skyscreamer#jsonassert;1.2.3 in public
[ivy:retrieve] 	found org.json#json;20090211 in public
[ivy:retrieve] 	found com.googlecode.json-simple#json-simple;1.1 in public
[ivy:retrieve] 	found commons-lang#commons-lang;2.0 in public
[ivy:retrieve] 	found commons-cli#commons-cli;1.0 in public
[ivy:retrieve] :: resolution report :: resolve 4640ms :: artifacts dl 193ms
[ivy:retrieve] 	:: evicted modules:
[ivy:retrieve] 	junit#junit;4.11 by [junit#junit;4.12] in [default]
[ivy:retrieve] 	commons-codec#commons-codec;1.9 by [commons-codec#commons-codec;1.10] in [default]
[ivy:retrieve] 	org.eclipse.jetty.websocket#websocket-client;9.2.18.v20160721 by [org.eclipse.jetty.websocket#websocket-client;9.2.15.v20160210] in [default]
[ivy:retrieve] 	org.seleniumhq.selenium#selenium-remote-driver;2.53.0 by [org.seleniumhq.selenium#selenium-remote-driver;3.0.1] in [default]
[ivy:retrieve] 	org.seleniumhq.selenium#selenium-java;2.53.0 by [org.seleniumhq.selenium#selenium-java;3.0.1] in [default]
[ivy:retrieve] 	org.codehaus.plexus#plexus-utils;1.5.15 by [org.codehaus.plexus#plexus-utils;3.0.10] in [default]
[ivy:retrieve] 	commons-codec#commons-codec;1.2 by [commons-codec#commons-codec;1.10] in [default]
[ivy:retrieve] 	org.slf4j#slf4j-api;1.5.3 by [org.slf4j#slf4j-api;1.5.6] in [default]
[ivy:retrieve] 	commons-httpclient#commons-httpclient;3.0 by [commons-httpclient#commons-httpclient;3.1] in [default]
[ivy:retrieve] 	org.apache.maven.shared#maven-shared-utils;0.1 by [org.apache.maven.shared#maven-shared-utils;0.7] in [default]
[ivy:retrieve] 	org.codehaus.plexus#plexus-utils;1.4.5 by [org.codehaus.plexus#plexus-utils;3.0.10] in [default]
[ivy:retrieve] 	junit#junit;3.8.2 by [junit#junit;4.12] in [default]
[ivy:retrieve] 	org.apache.maven#maven-artifact;3.0 by [org.apache.maven#maven-artifact;2.2.1] in [default]
[ivy:retrieve] 	commons-logging#commons-logging;1.0 by [commons-logging#commons-logging;1.2] in [default]
[ivy:retrieve] 	commons-lang#commons-lang;1.0 by [commons-lang#commons-lang;2.0] in [default]
	---------------------------------------------------------------------
	|                  |            modules            ||   artifacts   |
	|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
	---------------------------------------------------------------------
	|      default     |  116  |   0   |   0   |   15  ||  114  |   0   |
	---------------------------------------------------------------------
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve] 	circular dependency found: org.seleniumhq.selenium#selenium-java;3.0.1->com.codeborne#phantomjsdriver;1.3.0->org.seleniumhq.selenium#selenium-java;2.53.0
[ivy:retrieve] 
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
[ivy:retrieve] :: retrieving :: org.apache#SeleniumDependencies
[ivy:retrieve] 	confs: [default]
[ivy:retrieve] 	0 artifacts copied, 114 already retrieved (0kB/103ms)
compile:
    [mkdir] Created dir: C:\Users\Aga\selenium\fcc-tests\build
    [javac] Compiling 34 source files to C:\Users\Aga\selenium\fcc-tests\build
testPlainPhone:
   [delete] Deleting directory C:\Users\Aga\selenium\fcc-tests\reports
    [mkdir] Created dir: C:\Users\Aga\selenium\fcc-tests\reports
    [junit] Testsuite: Agent.PlainPhoneTest
    [junit] log4j: Threshold ="null".
    [junit] log4j: Level value for root is  [DEBUG].
    [junit] log4j: root level set to DEBUG
    [junit] log4j: Class name: [org.apache.log4j.ConsoleAppender]
    [junit] log4j: Parsing layout of class: "org.apache.log4j.PatternLayout"
    [junit] log4j: Setting property [conversionPattern] to [%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n].
    [junit] log4j: Adding appender named [console] to category [root].
    [junit] log4j: Class name: [org.apache.log4j.RollingFileAppender]
    [junit] log4j: Setting property [append] to [false].
    [junit] log4j: Setting property [maxFileSize] to [10MB].
    [junit] log4j: Setting property [maxBackupIndex] to [10].
    [junit] log4j: Setting property [file] to [log4j.log].
    [junit] log4j: Parsing layout of class: "org.apache.log4j.PatternLayout"
    [junit] log4j: Setting property [conversionPattern] to [%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n].
    [junit] log4j: setFile called: log4j.log, false
    [junit] log4j: setFile ended
    [junit] log4j: Adding appender named [file] to category [root].
    [junit] 2017-11-04 00:07:55 INFO  Log:22 - Before
    [junit] C:\Users\Aga\selenium\fcc-tests\driver\chromedriver
    [junit] Tests run: 0, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 21,568 sec
    [junit] lis 04, 2017 12:08:16 AM org.openqa.selenium.os.UnixProcess checkForError
    [junit] ------------- Standard Output ---------------
    [junit] SEVERE: org.apache.commons.exec.ExecuteException: Execution failed (Exit value: -559038737. Caused by java.io.IOException: Cannot run program "C:\Users\Aga\selenium\fcc-tests\driver\chromedriver" (in directory "."): CreateProcess error=193, %1 nie jest prawid�ow� aplikacj� systemu Win32)
    [junit] log4j: Threshold ="null".
    [junit] log4j: Level value for root is  [DEBUG].
    [junit] log4j: root level set to DEBUG
    [junit] log4j: Class name: [org.apache.log4j.ConsoleAppender]
    [junit] log4j: Parsing layout of class: "org.apache.log4j.PatternLayout"
    [junit] log4j: Setting property [conversionPattern] to [%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n].
    [junit] log4j: Adding appender named [console] to category [root].
    [junit] log4j: Class name: [org.apache.log4j.RollingFileAppender]
    [junit] log4j: Setting property [append] to [false].
    [junit] log4j: Setting property [maxFileSize] to [10MB].
    [junit] log4j: Setting property [maxBackupIndex] to [10].
    [junit] log4j: Setting property [file] to [log4j.log].
    [junit] log4j: Parsing layout of class: "org.apache.log4j.PatternLayout"
    [junit] log4j: Setting property [conversionPattern] to [%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n].
    [junit] log4j: setFile called: log4j.log, false
    [junit] log4j: setFile ended
    [junit] log4j: Adding appender named [file] to category [root].
    [junit] 2017-11-04 00:07:55 INFO  Log:22 - Before
    [junit] C:\Users\Aga\selenium\fcc-tests\driver\chromedriver
    [junit] ------------- ---------------- ---------------
    [junit] ------------- Standard Error -----------------
    [junit] lis 04, 2017 12:08:16 AM org.openqa.selenium.os.UnixProcess checkForError
    [junit] SEVERE: org.apache.commons.exec.ExecuteException: Execution failed (Exit value: -559038737. Caused by java.io.IOException: Cannot run program "C:\Users\Aga\selenium\fcc-tests\driver\chromedriver" (in directory "."): CreateProcess error=193, %1 nie jest prawid�ow� aplikacj� systemu Win32)
    [junit] ------------- ---------------- ---------------
    [junit] Testcase: Agent.PlainPhoneTest:	Caused an ERROR
    [junit] Timed out waiting for driver server to start.
    [junit] Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:49:13 -0700'
    [junit] System info: host: 'DESKTOP-R69RFA6', ip: '10.15.160.41', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_151'
    [junit] Driver info: driver.version: ChromeDriver
    [junit] org.openqa.selenium.WebDriverException: Timed out waiting for driver server to start.
    [junit] Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:49:13 -0700'
    [junit] System info: host: 'DESKTOP-R69RFA6', ip: '10.15.160.41', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_151'
    [junit] Driver info: driver.version: ChromeDriver
    [junit] 	at org.openqa.selenium.remote.service.DriverService.waitUntilAvailable(DriverService.java:178)
    [junit] 	at org.openqa.selenium.remote.service.DriverService.start(DriverService.java:166)
    [junit] 	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:78)
    [junit] 	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:601)
    [junit] 	at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:241)
    [junit] 	at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:128)
    [junit] 	at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:141)
    [junit] 	at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:174)
    [junit] 	at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:142)
    [junit] 	at Utils.UtilsServers.openChrome(UtilsServers.java:22)
    [junit] 	at Agent.PlainPhoneTest.before(PlainPhoneTest.java:32)
    [junit] Caused by: org.openqa.selenium.net.UrlChecker$TimeoutException: Timed out waiting for [http://localhost:19813/status] to be available after 20002 ms
    [junit] 	at org.openqa.selenium.net.UrlChecker.waitUntilAvailable(UrlChecker.java:107)
    [junit] 	at org.openqa.selenium.remote.service.DriverService.waitUntilAvailable(DriverService.java:175)
    [junit] Caused by: com.google.common.util.concurrent.UncheckedTimeoutException: java.util.concurrent.TimeoutException
    [junit] 	at com.google.common.util.concurrent.SimpleTimeLimiter.callWithTimeout(SimpleTimeLimiter.java:143)
    [junit] 	at org.openqa.selenium.net.UrlChecker.waitUntilAvailable(UrlChecker.java:80)
    [junit] Caused by: java.util.concurrent.TimeoutException
    [junit] 	at java.util.concurrent.FutureTask.get(Unknown Source)
    [junit] 	at com.google.common.util.concurrent.SimpleTimeLimiter.callWithTimeout(SimpleTimeLimiter.java:130)
    [junit] Testcase: Agent.PlainPhoneTest:	Caused an ERROR
    [junit] null
    [junit] java.lang.NullPointerException
    [junit] 	at Utils.UtilsServers.driverQuit(UtilsServers.java:57)
    [junit] 	at Agent.PlainPhoneTest.cleanUp(PlainPhoneTest.java:125)
    [junit] Test Agent.PlainPhoneTest FAILED