Hello,
it seems that i found the error:
The path of the test file is
"c:\selenium\derby\internal\application\store\E358B9DE5B7B6F19C91F1126B5F42F8CCC6F3AF9\test/DeleteRecordsTestCase.html"
Within the publishing of the selenium result file in selenium server a
regex is used to build the test files href:
snippet.replaceFirst("\\Q" + href + "\\E", "#testresult" + i);
My path also has the pattern \E included. So there is an error during the
quoting. I will report it in the Selenium bug tracking.
Thanks anyway. TecDocPope
Am Dienstag, 18. September 2012 09:58:51 UTC+2 schrieb TecDocPope:
>
> Hello everybody,
>
> i am using Jenkins 1.478 with the Selenium Plugins "Hudson Seleniumhq
> plugin" and "Selenium html report". The Selenium tests are executed with
> selenium server jar 2.25.0.
> During the publish process of the result file i get following Exception
>
> 18.09.2012 09:37:28 org.openqa.grid.selenium.GridLauncher main
> INFO: Launching a standalone server
> 09:37:28.741 INFO - Java: Sun Microsystems Inc. 20.1-b02
> 09:37:28.743 INFO - OS: Windows Server 2008 R2 6.1 x86
> 09:37:28.751 INFO - v2.25.0, with Core v2.25.0. Built from revision 17482
> 09:37:28.847 INFO - RemoteWebDriver instances should connect to:
> http://127.0.0.1:4444/wd/hub
> 09:37:28.848 INFO - Version Jetty/5.1.x
> 09:37:28.849 INFO - Started
> HttpContext[/selenium-server/driver,/selenium-server/driver]
> 09:37:28.849 INFO - Started HttpContext[/selenium-server,/selenium-server]
> 09:37:28.850 INFO - Started HttpContext[/,/]
> 09:37:28.876 INFO - Started
> org.openqa.jetty.jetty.servlet.ServletHandler@1bd7848
> 09:37:28.876 INFO - Started HttpContext[/wd,/wd]
> 09:37:28.878 INFO - Started SocketListener on 0.0.0.0:4444
> 09:37:28.878 INFO - Started org.openqa.jetty.jetty.Server@134bed0
>
> jar:file:/C:/Jenkins/1.450/workspace/6000-svn-getHelperAndTestApplications/test-helper/lib/selenium-server-standalone-2.25.0.jar!/customProfileDirCUSTFFCHROME
> 09:37:29.026 INFO - Preparing Firefox profile...
> 09:37:30.415 INFO - Launching Firefox...
> 09:37:31.263 INFO - Checking Resource aliases
> 09:45:19.803 INFO - Checking Resource aliases
> 09:45:19.804 INFO - Received posted results
> 09:45:19.893 WARN - POST /selenium-server/postResults HTTP/1.1
> java.util.regex.PatternSyntaxException: Illegal/unsupported escape
> sequence near index 135
>
> \Qfile:///c:\selenium\derby\internal\application\store\E358B9DE5B7B6F19C91F1126B5F42F8CCC6F3AF9\test/DeleteRecordsTestCase.html\E
>
>
>
> ^
> at java.util.regex.Pattern.error(Unknown Source)
> at java.util.regex.Pattern.escape(Unknown Source)
> at java.util.regex.Pattern.atom(Unknown Source)
> at java.util.regex.Pattern.sequence(Unknown Source)
> at java.util.regex.Pattern.expr(Unknown Source)
> at java.util.regex.Pattern.compile(Unknown Source)
> at java.util.regex.Pattern.<init>(Unknown Source)
> at java.util.regex.Pattern.compile(Unknown Source)
> at java.lang.String.replaceFirst(Unknown Source)
> at
> org.openqa.selenium.server.htmlrunner.HTMLSuiteResult.<init>(HTMLSuiteResult.java:60)
> at
> org.openqa.selenium.server.htmlrunner.HTMLTestResults.<init>(HTMLTestResults.java:124)
> at
> org.openqa.selenium.server.htmlrunner.SeleniumHTMLRunnerResultsHandler.handle(SeleniumHTMLRunnerResultsHandler.java:88)
> at org.openqa.jetty.http.HttpContext.handle(HttpContext.java:1526)
> at org.openqa.jetty.http.HttpContext.handle(HttpContext.java:1479)
> at org.openqa.jetty.http.HttpServer.service(HttpServer.java:914)
> at
> org.openqa.jetty.http.HttpConnection.service(HttpConnection.java:820)
> at
> org.openqa.jetty.http.HttpConnection.handleNext(HttpConnection.java:986)
> at org.openqa.jetty.http.HttpConnection.handle(HttpConnection.java:837)
> at
> org.openqa.jetty.http.SocketListener.handleConnection(SocketListener.java:243)
> at org.openqa.jetty.util.ThreadedServer.handle(ThreadedServer.java:357)
> at org.openqa.jetty.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
>
> The tests and the result publishing worked fine for the last time. I don't
> know, why this exceptions keeps coming now. Can anybody help me to get
> further information?
>
> Thanks in advance