Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    via Stack Overflow by Maciej Marczuk

    This error is caused by malformed HTTP request. You are trying to access unsecured page through https.

  2. ,
    via cyber4.org by Unknown author

    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.

Solutions on the web

via coderanch.com by Unknown author, 1 year ago
Invalid character found in method name. HTTP method names must be tokens
via aliyun.com by Unknown author, 1 year ago
via https://bugzilla.redhat.com/bugzilla/ by Ben, 7 months ago
via GitHub by marsav
, 1 year ago
Invalid character (CR or LF) found in method name
via Google Groups by Xin Jie Zhang, 1 year ago
Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986
via Stack Overflow by Hari
, 10 months ago
Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986
java.lang.IllegalArgumentException: Invalid character found in method name. 
HTTP method names must be tokens	at org.apache.coyote.http11.InternalInputBuffer.parseRequestLine(InternalInputBuffer.java:135)	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:996)	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:623)	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)	at java.lang.Thread.run(Unknown Source)