java.io.IOException: Invalid URI character encoding

Java.net JIRA | Cheng Fang | 6 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    3.1 build dated 11/10/2010 setting ejb-container monitoring level to HIGH, deploy and run an app that calls some ejb methods like EJBObject.isIdentical, EJBObject.remove. When getting the monitoring stats of some ejb methods, it failed: [#|2010-11-10T16:28:54.240-0500|WARNING|glassfish3.1|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=17;_ThreadName=Thread-1;|Internal Server error: /monitoring/domain/server/applications/stateless_migration_twothree_annotated/stateless_migration_twothree_annotated_ejb.jar/TwoTestBean/bean-methods/isIdentical-javax\.ejb\.EJBObject java.io.IOException: Invalid URI character encoding at com.sun.grizzly.util.http.HttpRequestURIDecoder.decode(HttpRequestURIDecoder.java:101) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:185) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:817) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:718) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1007) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59) at com.sun.grizzly.ContextTask.run(ContextTask.java:71) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513) at java.lang.Thread.run(Thread.java:680) |#]

    Java.net JIRA | 6 years ago | Cheng Fang
    java.io.IOException: Invalid URI character encoding
  2. 0
    samebug tip
    You need to config your login URL in both the main and in URLs file.
  3. 0

    Anyone experience PCI Compliance scan create errors in application server?

    Stack Overflow | 2 years ago | user46688
    java.io.CharConversionException: EOF at com.sun.grizzly.util.buf.UDecoder.convert(UDecoder.java:140) at com.sun.grizzly.util.buf.UDecoder.convert(UDecoder.java:257) at com.sun.grizzly.util.buf.UDecoder.convert(UDecoder.java:235) at com.sun.grizzly.util.http.HttpRequestURIDecoder.decode(HttpRequestURIDecoder.java:98) at com.sun.enterprise.v3.services.impl.ContainerMapper.lookupHandler(ContainerMapper.java:243) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:194) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Glassfish V3 - How do you debug SnifferAdapter errors ?

    Oracle Community | 7 years ago | htsguru
    java.lang.RuntimeException: SnifferAdapter cannot map themself.
  6. 0

    Oracle GlassFish 3.1

    Oracle Community | 6 years ago | seagate-746906
    java.lang.ClassCastException: com.sun.grizzly.config.ContextRootInfo > cannot > be cast to org.apache.catalina.Context > at > org.apache.catalina.connector.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:529) > > at > org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:271) > > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231) > > at > com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:172) > > at > com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822) > at > com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719) > at > com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013) > at > com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225) > > at > com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137) > > at > com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104) > > at > com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90) > > at > com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79) > at > com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54) > > at > com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59) > >

    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.io.IOException

      Invalid URI character encoding

      at com.sun.grizzly.util.http.HttpRequestURIDecoder.decode()
    2. Grizzly WS
      HttpRequestURIDecoder.decode
      1. com.sun.grizzly.util.http.HttpRequestURIDecoder.decode(HttpRequestURIDecoder.java:101)
      1 frame
    3. Kernel Classes
      ContainerMapper.service
      1. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:185)
      1 frame
    4. Grizzly WS
      AbstractThreadPool$Worker.run
      1. com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:817)
      2. com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:718)
      3. com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1007)
      4. com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
      5. com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      6. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      7. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      8. com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      9. com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      10. com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      11. com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      12. com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      13. com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      13 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:680)
      1 frame