java.lang.IllegalArgumentException: Invalid character (CR or LF) found in method name

GitHub | patel99 | 1 year ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rp . Or join the community to write better ones.
  1. 0
    samebug tip
    This error is caused by malformed HTTP request. You are trying to access unsecured page through https.
  2. 0
    samebug tip
    Some bots are sending malformed HTTP requests to your site. Try to find their IP addresses in the access logs and ask them to fix the bots or blacklist them.
  3. 0
    samebug tip
    You might send a large amount of data in the request URL. Consider sending it in the request body.
    via Coderanch by Partheban Udayakumar
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    URI part of the request contains invalid characters. You may try to encode the path from the URI. Check RFC7230 and RFC3986 documentation below. https://www.ietf.org/rfc/rfc3986.txt and https://tools.ietf.org/html/rfc7230
  6. 0

    java.lang.IllegalArgumentException: Invalid character (CR or LF) found in method name

    Stack Overflow | 11 months ago | VadOs
    java.lang.IllegalArgumentException: Invalid character (CR or LF) found in method name

  1. poroszd 1 times, last 4 months ago
  2. rp 3 times, last 4 months ago
31 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.lang.IllegalArgumentException

    Invalid character (CR or LF) found in method name

    at org.apache.coyote.http11.AbstractNioInputBuffer.parseRequestLine()
  2. Grizzly HTTP
    NioEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractNioInputBuffer.parseRequestLine(AbstractNioInputBuffer.java:228)[tomcat-embed-core-8.0.33.jar:8.0.33]
    2. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009)[tomcat-embed-core-8.0.33.jar:8.0.33]
    3. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)[tomcat-embed-core-8.0.33.jar:8.0.33]
    4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1502)[tomcat-embed-core-8.0.33.jar:8.0.33]
    5. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1458)[tomcat-embed-core-8.0.33.jar:8.0.33]
    5 frames
  3. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_51]
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_51]
    2 frames
  4. Tomcat Util
    TaskThread$WrappingRunnable.run
    1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)[tomcat-embed-core-8.0.33.jar:8.0.33]
    1 frame
  5. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_51]
    1 frame