java.net.URISyntaxException: Illegal character in path at index 40: http://example.com/rest/webhooks/webhook test?user_id=sysadmin 2013-07-25 16:59:52.475506500 at java.net.URI$Parser.fail(URI.java:2809) 2013-07-25 16:59:52.475506500 at java.net.URI$Parser.checkChars(URI.java:2982) 2013-07-25 16:59:52.476011500 at java.net.URI$Parser.parseHierarchical(URI.java:3066)

Atlassian JIRA | Marlon Aguiar [Atlassian] | 3 years ago
  1. 0

    For some reason JIRA is replacing the %20 with an actual space, and that's breaking the Webhooks. This was the original webhook: http://example.com/rest/webhooks/webhook%20test This is what shows up on the logs: {noformat} 2013-07-25 16:59:52.475163500 Exception in thread "pool-28-thread-1" com.atlassian.uri.Uri$UriException: java.net.URISyntaxException: Illegal character in path at index 40: http://example.com/rest/webhooks/webhook test?user_id=sysadmin 2013-07-25 16:59:52.475286500 at com.atlassian.uri.Uri.toJavaUri(Uri.java:129) 2013-07-25 16:59:52.475287500 at com.atlassian.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl.getUri(PublishTaskFactoryImpl.java:151) 2013-07-25 16:59:52.475288500 at com.atlassian.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl.run(PublishTaskFactoryImpl.java:116) 2013-07-25 16:59:52.475292500 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 2013-07-25 16:59:52.475306500 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 2013-07-25 16:59:52.475318500 at java.lang.Thread.run(Thread.java:662) 2013-07-25 16:59:52.475505500 Caused by: java.net.URISyntaxException: Illegal character in path at index 40: http://example.com/rest/webhooks/webhook test?user_id=sysadmin 2013-07-25 16:59:52.475506500 at java.net.URI$Parser.fail(URI.java:2809) 2013-07-25 16:59:52.475506500 at java.net.URI$Parser.checkChars(URI.java:2982) 2013-07-25 16:59:52.476011500 at java.net.URI$Parser.parseHierarchical(URI.java:3066) 2013-07-25 16:59:52.476012500 at java.net.URI$Parser.parse(URI.java:3014) 2013-07-25 16:59:52.476012500 at java.net.URI.<init>(URI.java:578) 2013-07-25 16:59:52.476012500 at com.atlassian.uri.Uri.toJavaUri(Uri.java:124) 2013-07-25 16:59:52.476013500 ... 5 more {noformat}

    Atlassian JIRA | 3 years ago | Marlon Aguiar [Atlassian]
    java.net.URISyntaxException: Illegal character in path at index 40: http://example.com/rest/webhooks/webhook test?user_id=sysadmin 2013-07-25 16:59:52.475506500 at java.net.URI$Parser.fail(URI.java:2809) 2013-07-25 16:59:52.475506500 at java.net.URI$Parser.checkChars(URI.java:2982) 2013-07-25 16:59:52.476011500 at java.net.URI$Parser.parseHierarchical(URI.java:3066)
  2. 0

    For some reason JIRA is replacing the %20 with an actual space, and that's breaking the Webhooks. This was the original webhook: http://example.com/rest/webhooks/webhook%20test This is what shows up on the logs: {noformat} 2013-07-25 16:59:52.475163500 Exception in thread "pool-28-thread-1" com.atlassian.uri.Uri$UriException: java.net.URISyntaxException: Illegal character in path at index 40: http://example.com/rest/webhooks/webhook test?user_id=sysadmin 2013-07-25 16:59:52.475286500 at com.atlassian.uri.Uri.toJavaUri(Uri.java:129) 2013-07-25 16:59:52.475287500 at com.atlassian.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl.getUri(PublishTaskFactoryImpl.java:151) 2013-07-25 16:59:52.475288500 at com.atlassian.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl.run(PublishTaskFactoryImpl.java:116) 2013-07-25 16:59:52.475292500 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 2013-07-25 16:59:52.475306500 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 2013-07-25 16:59:52.475318500 at java.lang.Thread.run(Thread.java:662) 2013-07-25 16:59:52.475505500 Caused by: java.net.URISyntaxException: Illegal character in path at index 40: http://example.com/rest/webhooks/webhook test?user_id=sysadmin 2013-07-25 16:59:52.475506500 at java.net.URI$Parser.fail(URI.java:2809) 2013-07-25 16:59:52.475506500 at java.net.URI$Parser.checkChars(URI.java:2982) 2013-07-25 16:59:52.476011500 at java.net.URI$Parser.parseHierarchical(URI.java:3066) 2013-07-25 16:59:52.476012500 at java.net.URI$Parser.parse(URI.java:3014) 2013-07-25 16:59:52.476012500 at java.net.URI.<init>(URI.java:578) 2013-07-25 16:59:52.476012500 at com.atlassian.uri.Uri.toJavaUri(Uri.java:124) 2013-07-25 16:59:52.476013500 ... 5 more {noformat}

    Atlassian JIRA | 3 years ago | Marlon Aguiar [Atlassian]
    java.net.URISyntaxException: Illegal character in path at index 40: http://example.com/rest/webhooks/webhook test?user_id=sysadmin 2013-07-25 16:59:52.475506500 at java.net.URI$Parser.fail(URI.java:2809) 2013-07-25 16:59:52.475506500 at java.net.URI$Parser.checkChars(URI.java:2982) 2013-07-25 16:59:52.476011500 at java.net.URI$Parser.parseHierarchical(URI.java:3066)
  3. 0

    SequenceFileLoader fails if given comma-separated list of files

    GitHub | 5 years ago | keolson
    org.apache.pig.backend.executionengine.ExecException: ERROR 2118: java.net.URISyntaxException: Illegal character in scheme name at index 0: 23,hdfs:
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ERA/O 1750 & console

    dell.com | 8 months ago
    java.net.URISyntaxException: Expected scheme-specific part at index 5: http:
  6. 0

    PERC3/Di failure workaround hypothesis

    dell.com | 8 months ago
    java.net.URISyntaxException: Expected scheme-specific part at index 5: http:

  1. tfr 1 times, last 6 months ago
  2. muffinmannen 1 times, last 8 months ago
36 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.URISyntaxException

    Illegal character in path at index 40: http://example.com/rest/webhooks/webhook test?user_id=sysadmin 2013-07-25 16:59:52.475506500 at java.net.URI$Parser.fail(URI.java:2809) 2013-07-25 16:59:52.475506500 at java.net.URI$Parser.checkChars(URI.java:2982) 2013-07-25 16:59:52.476011500 at java.net.URI$Parser.parseHierarchical(URI.java:3066)

    at java.net.URI$Parser.parse()
  2. Java RT
    URI.<init>
    1. java.net.URI$Parser.parse(URI.java:3014)
    2. java.net.URI.<init>(URI.java:578)
    2 frames
  3. com.atlassian.uri
    Uri.toJavaUri
    1. com.atlassian.uri.Uri.toJavaUri(Uri.java:124)
    1 frame