求助 java.lang.IllegalArgumentException 的问题

紧急求助大神 java.lang.IllegalArgumentException 的问题 怎么回事

java.lang.IllegalArgumentException: The Content Type could not be read.
	at org.restlet.engine.http.header.ContentType.<init>(ContentType.java:106)
	at org.restlet.engine.http.ServerCall.getRequestEntity(ServerCall.java:218)
	at org.restlet.engine.http.HttpRequest.getEntity(HttpRequest.java:485)
	at org.restlet.engine.application.Decoder.beforeHandle(Decoder.java:120)
	at org.restlet.routing.Filter.handle(Filter.java:201)
	at org.restlet.routing.Filter.doHandle(Filter.java:156)
	at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:151)
	at org.restlet.routing.Filter.handle(Filter.java:203)
	at org.restlet.routing.Filter.doHandle(Filter.java:156)
	at org.restlet.routing.Filter.handle(Filter.java:203)
	at org.restlet.engine.ChainHelper.handle(ChainHelper.java:111)
	at org.restlet.engine.application.ApplicationHelper.handle(ApplicationHelper.java:72)
	at org.restlet.Application.handle(Application.java:388)
	at org.restlet.routing.Filter.doHandle(Filter.java:156)
	at org.restlet.routing.Filter.handle(Filter.java:203)
	at org.restlet.routing.Router.doHandle(Router.java:497)
	at org.restlet.routing.Router.handle(Router.java:737)
	at org.restlet.routing.Filter.doHandle(Filter.java:156)
	at org.restlet.routing.Filter.handle(Filter.java:203)
	at org.restlet.routing.Router.doHandle(Router.java:497)
	at org.restlet.routing.Router.handle(Router.java:737)
	at org.restlet.routing.Filter.doHandle(Filter.java:156)
	at org.restlet.routing.Filter.handle(Filter.java:203)
	at org.restlet.engine.ChainHelper.handle(ChainHelper.java:111)
	at org.restlet.Component.handle(Component.java:387)
	at org.restlet.Server.handle(Server.java:488)
	at org.restlet.engine.ServerHelper.handle(ServerHelper.java:71)
	at org.restlet.engine.http.HttpServerHelper.handle(HttpServerHelper.java:150)
	at org.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:1037)
	at uap.ws.rest.servlet.UAPRSServerServlet.service(UAPRSServerServlet.java:37)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:277)
	at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:1)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAsPrivileged(Subject.java:549)
	at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:309)
	at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:169)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:299)
	at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:214)
	at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:1)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Empty parameter name detected.
	at org.restlet.engine.http.header.ContentTypeReader.readValue(ContentTypeReader.java:158)
	at org.restlet.engine.http.header.ContentType.<init>(ContentType.java:99)
	... 59 more

十一月 08, 2021 11:52:40 上午 org.restlet.engine.http.HttpServerHelper handle
警告: Error while handling an HTTP server call: 
十一月 08, 2021 11:52:40 上午 org.restlet.engine.http.HttpServerHelper handle
信息: Error while handling an HTTP server call
java.lang.IllegalArgumentException: The Content Type could not be read.
	at org.restlet.engine.http.header.ContentType.<init>(ContentType.java:106)
	at org.restlet.engine.http.ServerCall.getRequestEntity(ServerCall.java:218)
	at org.restlet.engine.http.HttpRequest.getEntity(HttpRequest.java:485)
	at org.restlet.engine.log.LogFilter.formatDefault(LogFilter.java:246)
	at org.restlet.engine.log.LogFilter.afterHandle(LogFilter.java:117)
	at org.restlet.routing.Filter.handle(Filter.java:205)
	at org.restlet.engine.ChainHelper.handle(ChainHelper.java:111)
	at org.restlet.Component.handle(Component.java:387)
	at org.restlet.Server.handle(Server.java:488)
	at org.restlet.engine.ServerHelper.handle(ServerHelper.java:71)
	at org.restlet.engine.http.HttpServerHelper.handle(HttpServerHelper.java:150)
	at org.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:1037)
	at uap.ws.rest.servlet.UAPRSServerServlet.service(UAPRSServerServlet.java:37)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:277)
	at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:1)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAsPrivileged(Subject.java:549)
	at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:309)
	at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:169)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:299)
	at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:214)
	at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:1)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Empty parameter name detected.
	at org.restlet.engine.http.header.ContentTypeReader.readValue(ContentTypeReader.java:158)
	at org.restlet.engine.http.header.ContentType.<init>(ContentType.java:99)
	... 42 more


上一篇:leetcode-Database-620 |有趣的电影


下一篇:DELL Inspiron_620/620s网卡驱动