java.lang.IllegalArgumentException

Spring JIRA | Tareq Abedrabbo | 8 years ago
  1. 0

    IllegalArgumentException with WS.url() and pipe character

    Google Groups | 6 years ago | Nicholas C. Zakas
    java.lang.IllegalArgumentException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Curl -xget works, but fail when use RESTful client in java

    Google Groups | 2 years ago | Chia-Eng Chang
    java.lang.IllegalArgumentException: Illegal character in query at index 52: http://localhost:9200/obd2/_search?scroll=1m&size=50 -d '{"query" : {"match_all" : {}}}'

  1. rp 1 times, last 3 weeks ago
  2. richard77 1 times, last 2 months ago
  3. iridic 1 times, last 2 months ago
  4. maxxi 1 times, last 2 months ago
  5. lribeiro 12 times, last 7 months ago
8 more registered users
11 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 query at index 48: http://twitter.com/statuses/update.xml?status=Ho Ho

    at java.net.URI$Parser.fail()
  2. Java RT
    URI.create
    1. java.net.URI$Parser.fail(URI.java:2809)
    2. java.net.URI$Parser.checkChars(URI.java:2982)
    3. java.net.URI$Parser.parseHierarchical(URI.java:3072)
    4. java.net.URI$Parser.parse(URI.java:3014)
    5. java.net.URI.<init>(URI.java:578)
    6. java.net.URI.create(URI.java:840)
    6 frames
  3. Spring
    UriTemplate.expand
    1. org.springframework.web.util.UriTemplate.expand(UriTemplate.java:140)
    1 frame
  4. org.springframework.web
    RestTemplate.postForLocation
    1. org.springframework.web.client.core.RestTemplate.execute(RestTemplate.java:266)
    2. org.springframework.web.client.core.RestTemplate.postForLocation(RestTemplate.java:203)
    2 frames
  5. test
    RestClientTest.main
    1. test.RestClientTest.main(RestClientTest.java:30)
    1 frame