Skip to content
This repository has been archived by the owner on Aug 7, 2020. It is now read-only.

URISyntaxException when running coverage tests #103

Open
jkburges opened this issue Aug 19, 2013 · 1 comment
Open

URISyntaxException when running coverage tests #103

jkburges opened this issue Aug 19, 2013 · 1 comment

Comments

@jkburges
Copy link

mvn verify on https://github.com/aodn/aodn-portal/tree/js_code_coverage results in the following error:

15:48:34.363 [main] INFO  com.github.timurstrekalov.saga.core.DefaultCoverageGenerator - Using up to 1 threads
15:48:34.363 [main] INFO  com.github.timurstrekalov.saga.core.DefaultCoverageGenerator - Output strategy set to TOTAL
15:48:34.393 [main] INFO  com.github.timurstrekalov.saga.core.DefaultCoverageGenerator - Using the following no-instrument patterns:
    .+__from_\d+_\d+_to_\d+_\d+$
    .*/spec/.*
    .+#\d+\(eval\)\(\d+\)
    .+JavaScriptStringJob
15:48:34.795 [pool-2-thread-1] INFO  com.github.timurstrekalov.saga.core.DefaultCoverageGenerator - Running test at http://localhost:59529
15:48:36.618 [pool-2-thread-1] ERROR com.github.timurstrekalov.saga.core.ScriptInstrumenter - Exception caught while instrumenting code
java.lang.IllegalArgumentException: null
    at java.net.URI.create(URI.java:841) ~[na:1.6.0_43]
    at com.github.timurstrekalov.saga.core.ScriptInstrumenter.preProcess(ScriptInstrumenter.java:130) ~[saga-core-1.4.0.jar:na]
    at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.preProcess(HtmlUnitContextFactory.java:205) [htmlunit-2.11.jar:2.11]

snip

Caused by: java.net.URISyntaxException: Illegal character in scheme name at index 6: script in http://localhost:59529/ from (-1, -1) to (-1, -1)
    at java.net.URI$Parser.fail(URI.java:2810) ~[na:1.6.0_43]
    at java.net.URI$Parser.checkChars(URI.java:2983) ~[na:1.6.0_43]
@jkburges
Copy link
Author

This may be a duplicate of #99 but there's not enough of the stack trace there to be sure

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant