Skip to content

Instantly share code, notes, and snippets.

@gregjan
Created September 28, 2018 18:21
Show Gist options
  • Save gregjan/391e3c1ff75e5a375f97072cfbc680cd to your computer and use it in GitHub Desktop.
Save gregjan/391e3c1ff75e5a375f97072cfbc680cd to your computer and use it in GitHub Desktop.
curl -H "Accept: application/rdf+xml" "http://localhost:8080"
trellis-cassandra_1 | 2018-09-28 18:16:45,726 ERROR [io.undertow.request] (default I/O-5) UT005071: Undertow request failed HttpServerExchange{ GET / request {Accept=[application/rdf+xml], User-Agent=[curl/7.58.0], Host=[localhost:8080]} response {}}: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
trellis-cassandra_1 | at java.lang.String.substring(String.java:1931)
trellis-cassandra_1 | at io.undertow.servlet.handlers.ServletPathMatch.<init>(ServletPathMatch.java:47)
trellis-cassandra_1 | at io.undertow.servlet.handlers.ServletPathMatchesData.handleMatch(ServletPathMatchesData.java:91)
trellis-cassandra_1 | at io.undertow.servlet.handlers.ServletPathMatchesData.getServletHandlerByPath(ServletPathMatchesData.java:75)
trellis-cassandra_1 | at io.undertow.servlet.handlers.ServletPathMatches.getServletHandlerByPath(ServletPathMatches.java:88)
trellis-cassandra_1 | at io.undertow.servlet.handlers.ServletInitialHandler.handleRequest(ServletInitialHandler.java:151)
trellis-cassandra_1 | at io.undertow.server.handlers.HttpContinueReadHandler.handleRequest(HttpContinueReadHandler.java:65)
trellis-cassandra_1 | at io.undertow.server.handlers.PathHandler.handleRequest(PathHandler.java:94)
trellis-cassandra_1 | at org.wildfly.extension.undertow.Host$OptionsHandler.handleRequest(Host.java:337)
trellis-cassandra_1 | at io.undertow.server.handlers.HttpContinueReadHandler.handleRequest(HttpContinueReadHandler.java:65)
trellis-cassandra_1 | at org.wildfly.extension.undertow.Host$HostRootHandler.handleRequest(Host.java:345)
trellis-cassandra_1 | at io.undertow.server.handlers.NameVirtualHostHandler.handleRequest(NameVirtualHostHandler.java:64)
trellis-cassandra_1 | at io.undertow.server.handlers.error.SimpleErrorPageHandler.handleRequest(SimpleErrorPageHandler.java:78)
trellis-cassandra_1 | at io.undertow.server.handlers.CanonicalPathHandler.handleRequest(CanonicalPathHandler.java:49)
trellis-cassandra_1 | at org.wildfly.extension.undertow.Server$DefaultHostHandler.handleRequest(Server.java:189)
trellis-cassandra_1 | at io.undertow.server.handlers.ChannelUpgradeHandler.handleRequest(ChannelUpgradeHandler.java:211)
trellis-cassandra_1 | at io.undertow.server.handlers.DisallowedMethodsHandler.handleRequest(DisallowedMethodsHandler.java:61)
trellis-cassandra_1 | at io.undertow.server.Connectors.executeRootHandler(Connectors.java:326)
trellis-cassandra_1 | at io.undertow.server.protocol.http.HttpReadListener.handleEventWithNoRunningRequest(HttpReadListener.java:254)
trellis-cassandra_1 | at io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:136)
trellis-cassandra_1 | at io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:148)
trellis-cassandra_1 | at io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:92)
trellis-cassandra_1 | at io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:51)
trellis-cassandra_1 | at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
trellis-cassandra_1 | at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:291)
trellis-cassandra_1 | at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:286)
trellis-cassandra_1 | at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
trellis-cassandra_1 | at org.xnio.nio.QueuedNioTcpServer$1.run(QueuedNioTcpServer.java:131)
trellis-cassandra_1 | at org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:612)
trellis-cassandra_1 | at org.xnio.nio.WorkerThread.run(WorkerThread.java:479)
trellis-cassandra_1 |
trellis-cassandra_1 | 2018-09-28 18:17:02,960 ERROR [io.undertow.request] (default I/O-1) UT005071: Undertow request failed HttpServerExchange{ GET / request {Accept=[application/json-ld], User-Agent=[curl/7.58.0], Host=[localhost:8080]} response {}}: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
trellis-cassandra_1 | at java.lang.String.substring(String.java:1931)
trellis-cassandra_1 | at io.undertow.servlet.handlers.ServletPathMatch.<init>(ServletPathMatch.java:47)
trellis-cassandra_1 | at io.undertow.servlet.handlers.ServletPathMatchesData.handleMatch(ServletPathMatchesData.java:91)
trellis-cassandra_1 | at io.undertow.servlet.handlers.ServletPathMatchesData.getServletHandlerByPath(ServletPathMatchesData.java:75)
trellis-cassandra_1 | at io.undertow.servlet.handlers.ServletPathMatches.getServletHandlerByPath(ServletPathMatches.java:88)
trellis-cassandra_1 | at io.undertow.servlet.handlers.ServletInitialHandler.handleRequest(ServletInitialHandler.java:151)
trellis-cassandra_1 | at io.undertow.server.handlers.HttpContinueReadHandler.handleRequest(HttpContinueReadHandler.java:65)
trellis-cassandra_1 | at io.undertow.server.handlers.PathHandler.handleRequest(PathHandler.java:94)
trellis-cassandra_1 | at org.wildfly.extension.undertow.Host$OptionsHandler.handleRequest(Host.java:337)
trellis-cassandra_1 | at io.undertow.server.handlers.HttpContinueReadHandler.handleRequest(HttpContinueReadHandler.java:65)
trellis-cassandra_1 | at org.wildfly.extension.undertow.Host$HostRootHandler.handleRequest(Host.java:345)
trellis-cassandra_1 | at io.undertow.server.handlers.NameVirtualHostHandler.handleRequest(NameVirtualHostHandler.java:64)
trellis-cassandra_1 | at io.undertow.server.handlers.error.SimpleErrorPageHandler.handleRequest(SimpleErrorPageHandler.java:78)
trellis-cassandra_1 | at io.undertow.server.handlers.CanonicalPathHandler.handleRequest(CanonicalPathHandler.java:49)
trellis-cassandra_1 | at org.wildfly.extension.undertow.Server$DefaultHostHandler.handleRequest(Server.java:189)
trellis-cassandra_1 | at io.undertow.server.handlers.ChannelUpgradeHandler.handleRequest(ChannelUpgradeHandler.java:211)
trellis-cassandra_1 | at io.undertow.server.handlers.DisallowedMethodsHandler.handleRequest(DisallowedMethodsHandler.java:61)
trellis-cassandra_1 | at io.undertow.server.Connectors.executeRootHandler(Connectors.java:326)
trellis-cassandra_1 | at io.undertow.server.protocol.http.HttpReadListener.handleEventWithNoRunningRequest(HttpReadListener.java:254)
trellis-cassandra_1 | at io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:136)
trellis-cassandra_1 | at io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:148)
trellis-cassandra_1 | at io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:92)
trellis-cassandra_1 | at io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:51)
trellis-cassandra_1 | at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
trellis-cassandra_1 | at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:291)
trellis-cassandra_1 | at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:286)
trellis-cassandra_1 | at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
trellis-cassandra_1 | at org.xnio.nio.QueuedNioTcpServer$1.run(QueuedNioTcpServer.java:131)
trellis-cassandra_1 | at org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:612)
trellis-cassandra_1 | at org.xnio.nio.WorkerThread.run(WorkerThread.java:479)
trellis-cassandra_1 |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment