org.ocpsoft.rewrite.exception.RewriteException: Could not proxy event [InboundRewrite [GET url=http://localhost:8080/api/media/images, flow=UN_HANDLED, dispatchResource=null]] to destination [http://localhost:8080/pim-api/{post}]

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

Solutions on the web

via Stack Overflow by Jithin Mohan
, 1 year ago
Could not proxy event [InboundRewrite [GET url=http://localhost:8080/api/media/images, flow=UN_HANDLED, dispatchResource=null]] to destination [http://localhost:8080/pim-api/{post}]
org.ocpsoft.rewrite.exception.RewriteException: Could not proxy event [InboundRewrite [GET url=http://localhost:8080/api/media/images, flow=UN_HANDLED, dispatchResource=null]] to destination [http://localhost:8080/pim-api/{post}]
at sun.nio.ch.FileDispatcherImpl.writev0(Native Method)
at sun.nio.ch.SocketDispatcher.writev(SocketDispatcher.java:51)
at sun.nio.ch.IOUtil.write(IOUtil.java:148)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:504)
at org.xnio.nio.NioSocketConduit.write(NioSocketConduit.java:161)
at io.undertow.server.protocol.http.HttpResponseConduit.write(HttpResponseConduit.java:622)
at io.undertow.conduits.ChunkedStreamSinkConduit.doWrite(ChunkedStreamSinkConduit.java:162)
at io.undertow.conduits.ChunkedStreamSinkConduit.write(ChunkedStreamSinkConduit.java:126)
at io.undertow.conduits.ChunkedStreamSinkConduit.write(ChunkedStreamSinkConduit.java:215)
at org.xnio.conduits.ConduitStreamSinkChannel.write(ConduitStreamSinkChannel.java:158)
at io.undertow.channels.DetachableStreamSinkChannel.write(DetachableStreamSinkChannel.java:179)
at io.undertow.servlet.spec.ServletOutputStreamImpl.write(ServletOutputStreamImpl.java:184)
at org.apache.http.entity.BasicHttpEntity.writeTo(BasicHttpEntity.java:114)
at org.apache.http.conn.BasicManagedEntity.writeTo(BasicManagedEntity.java:119)
at com.realityi.asterisk.portal.ProxyServlet.copyResponseEntity(ProxyServlet.java:384)
at com.realityi.asterisk.portal.ProxyServlet.service(ProxyServlet.java:237)
at com.realityi.asterisk.portal.ReverseProxy.performHttp(ReverseProxy.java:47)
at org.ocpsoft.rewrite.servlet.config.HttpOperation.perform(HttpOperation.java:42)
at org.ocpsoft.rewrite.config.DefaultOperationBuilder$DefaultCompositeOperation.perform(DefaultOperationBuilder.java:56)
at org.ocpsoft.rewrite.config.RuleBuilder.perform(RuleBuilder.java:136)
at org.ocpsoft.rewrite.config.DefaultOperationBuilder$DefaultCompositeOperation.perform(DefaultOperationBuilder.java:56)
at org.ocpsoft.rewrite.config.RuleBuilder.perform(RuleBuilder.java:136)
at org.ocpsoft.rewrite.config.DefaultOperationBuilder$DefaultCompositeOperation.perform(DefaultOperationBuilder.java:56)
at org.ocpsoft.rewrite.config.RuleBuilder.perform(RuleBuilder.java:136)
at org.ocpsoft.rewrite.servlet.impl.DefaultHttpRewriteProvider.rewriteHttp(DefaultHttpRewriteProvider.java:182)
at org.ocpsoft.rewrite.servlet.http.HttpRewriteProvider.rewrite(HttpRewriteProvider.java:43)
at org.ocpsoft.rewrite.servlet.RewriteFilter.rewrite(RewriteFilter.java:247)
at org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:188)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)
at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:261)
at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:248)
at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:77)
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:761)
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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
15 times, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
569 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.