"处理请求时发生异常:java.net.URISyntaxException:绝对URI中的相对路径"

时间:2017-05-05 17:22:24

标签: java java-ee wildfly

我刚检查了我开发的系统的WildFly日志,并且我收到了以下错误:

2017-05-03 08:48:08,575 ERROR [io.undertow.request] (default task-4) UT005001: An exception occurred processing the request: java.net.URISyntaxException: Relative path in absolute URI: https://www.google.com:443http://www.google.com/
at java.net.URI.checkPath(URI.java:1823)
at java.net.URI.<init>(URI.java:672)
at io.undertow.security.handlers.SinglePortConfidentialityHandler.getRedirectURI(SinglePortConfidentialityHandler.java:51)
at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.getRedirectURI(ServletConfidentialityConstraintHandler.java:83)
at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:49)
at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:56)
at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:284)
at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:263)
at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:174)
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:793)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

除此之外&#34; https://www.google.com:443http://www.google.com/"我也得到了:&#34; https://testp3.pospr.waw.pl:443http://testp3.pospr.waw.pl/testproxy.php"和&#34; https://www.baidu.com:443http://www.baidu.com/cache/global/img/gs.gif"。

有人知道可能是什么问题吗?

编辑: 在这个日志后几个小时,我得到了一个&#34; java.lang.OutOfMemoryError:Java堆空间&#34;并且系统崩溃,需要重新启动WildFly以重新启动系统。我无法确定崩溃是否与此错误有关。

2 个答案:

答案 0 :(得分:0)

我猜是有人会以下列形式向您发送网址:

Write-Host $AppHash['king.com'].StatusMessage
$AppHash['king.com'].AppObject | Remove-AppxPackage

尝试从浏览器发送该网址,看看是否收到类似错误。

答案 1 :(得分:0)

此错误消息是由网站上执行的Web扫描程序引起的。

有关它的更多信息:https://issues.redhat.com/plugins/servlet/mobile#issue/UNDERTOW-592