java.lang.IllegalStateException: Could not get HttpServletRequest URI: Expected hostname at index 5: ws://:0/messaging/realtime?topic=exchangePrivateOrder

GitHub | jyoti-sungard | 4 months ago
  1. 0

    java.lang.IllegalStateException: Could not get HttpServletRequest URI: Expected hostname at index 5: ws://:0/xyz?topic=abc\r\n\tat

    GitHub | 4 months ago | jyoti-sungard
    java.lang.IllegalStateException: Could not get HttpServletRequest URI: Expected hostname at index 5: ws://:0/messaging/realtime?topic=exchangePrivateOrder
  2. 0

    GitHub comment 1998#239616482

    GitHub | 4 months ago | jyoti-sungard
    java.lang.IllegalStateException: Could not get HttpServletRequest URI: Expected hostname at index 5: ws://:0/messaging/realtime?topic=xyz org.springframework.http.server.ServletServerHttpRequest.getURI(ServletServerHttpRequest.java:98)
  3. 0

    java.net.URISyntaxException: Expected hostname at index 5: ws://:0/

    GitHub | 1 year ago | KY-7
    java.lang.IllegalStateException: Could not get HttpServletRequest URI: Expected hostname at index 5: ws://:0/spring-atmosphere/pubsub/xyz?
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.net.URISyntaxException: Expected hostname at index 5: ws://:0/ #2070

    Google Groups | 1 year ago | Georgy Gobozov
    java.lang.IllegalStateException: Could not get HttpServletRequest URI: Expected hostname at index 5: ws://:0/api/v1/job/248580607/monitor at org.springframework.http.server.ServletServerHttpRequest.getURI(ServletServerHttpRequest.java:98) at org.springframework.web.util.UriComponentsBuilder.fromHttpRequest(UriComponentsBuilder.java:282) at org.springframework.web.util.WebUtils.isSameOrigin(WebUtils.java:814) at org.springframework.web.cors.DefaultCorsProcessor.processRequest(DefaultCorsProcessor.java:71) at org.springframework.web.servlet.handler.AbstractHandlerMapping$CorsInterceptor.preHandle(AbstractHandlerMapping.java:503) at org.springframework.web.servlet.HandlerExecutionChain.applyPreHandle(HandlerExecutionChain.java:134) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:954) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
  6. 0

    SpringMVC IllegalStateException

    Stack Overflow | 11 months ago | javlacerda
    java.lang.IllegalStateException: Could not get HttpServletRequest URI: Illegal character in hostname at index 10: http://sql_dev3:8080/GMWebRecep.build/insrececaoartigos.action] with root cause java.net.URISyntaxException: Illegal character in hostname at index 10: http://sql_dev3:8080/GMWebRecep.build/insrececaoartigos.action

    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.lang.IllegalStateException

      Could not get HttpServletRequest URI: Expected hostname at index 5: ws://:0/messaging/realtime?topic=exchangePrivateOrder

      at org.springframework.http.server.ServletServerHttpRequest.getURI()
    2. Spring
      WebUtils.isSameOrigin
      1. org.springframework.http.server.ServletServerHttpRequest.getURI(ServletServerHttpRequest.java:98)
      2. org.springframework.web.util.UriComponentsBuilder.fromHttpRequest(UriComponentsBuilder.java:282)
      3. org.springframework.web.util.WebUtils.isSameOrigin(WebUtils.java:811)
      3 frames
    3. org.springframework.web
      DefaultCorsProcessor.processRequest
      1. org.springframework.web.cors.DefaultCorsProcessor.processRequest(DefaultCorsProcessor.java:71)
      1 frame
    4. Spring MVC
      FrameworkServlet.doGet
      1. org.springframework.web.servlet.handler.AbstractHandlerMapping$CorsInterceptor.preHandle(AbstractHandlerMapping.java:503)
      2. org.springframework.web.servlet.HandlerExecutionChain.applyPreHandle(HandlerExecutionChain.java:134)
      3. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:954)
      4. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)
      5. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
      6. org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
      6 frames
    5. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
      1 frame
    6. Spring MVC
      FrameworkServlet.service
      1. org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
      1 frame
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      1 frame
    8. atmosphere-runtime
      Servlet30CometSupport.service
      1. org.atmosphere.util.AtmosphereFilterChain.doFilter(AtmosphereFilterChain.java:135)
      2. org.atmosphere.util.AtmosphereFilterChain.invokeFilterChain(AtmosphereFilterChain.java:96)
      3. org.atmosphere.handler.ReflectorServletProcessor$FilterChainServletWrapper.service(ReflectorServletProcessor.java:333)
      4. org.atmosphere.handler.ReflectorServletProcessor.onRequest(ReflectorServletProcessor.java:171)
      5. org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java:223)
      6. org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.java:115)
      7. org.atmosphere.container.Servlet30CometSupport.service(Servlet30CometSupport.java:68)
      7 frames