Skip to content

Instantly share code, notes, and snippets.

@jaenswart
Created May 18, 2017 09:09
Show Gist options
  • Save jaenswart/4bc9d42c2c5da907d33805b1a38aa9ff to your computer and use it in GitHub Desktop.
Save jaenswart/4bc9d42c2c5da907d33805b1a38aa9ff to your computer and use it in GitHub Desktop.
stacktrace
08:59:25.072 [hystrix-coolstore-1] INFO o.a.c.component.http4.HttpComponent - Created ClientConnectionManager org.apache.http.impl.conn.PoolingHttpClientConnectionManager@44d9c1f
08:59:26.102 [http-nio-0.0.0.0-8080-exec-1] ERROR o.a.c.processor.DefaultErrorHandler - Failed delivery for (MessageId: ID-coolstore-gw-1-5qlvl-43907-1495097172595-0-2 on ExchangeId: ID-coolstore-gw-1-5qlvl-43907-1495097172595-0-4). Exhausted after delivery attempt: 1 caught: org.apache.camel.InvalidPayloadException: No body available of type: java.io.InputStream on: Message[ID-coolstore-gw-1-5qlvl-43907-1495097172595-0-2]. Caused by: No type converter available to convert from type: null to the required type: java.io.InputStream with value null. Exchange[ID-coolstore-gw-1-5qlvl-43907-1495097172595-0-4]. Caused by: [org.apache.camel.NoTypeConversionAvailableException - No type converter available to convert from type: null to the required type: java.io.InputStream with value null]
Message History
---------------------------------------------------------------------------------------------------------------------------------------
RouteId ProcessorId Processor Elapsed (ms)
[getCartRoute ] [getCartRoute ] [servlet:/cart/%7BcartId%7D?httpMethodRestrict=GET ] [ 1903]
[getCartRoute ] [restBinding2 ] [ ] [ 37]
[getCartRoute ] [Cart Service (Get ] [hystrix ] [ 1853]
[getCartRoute ] [removeHeaders2 ] [removeHeaders[CamelHttp*] ] [ 0]
[getCartRoute ] [setBody2 ] [setBody[simple{Simple: null}] ] [ 13]
[getCartRoute ] [setHeader6 ] [setHeader[CamelHttpMethod] ] [ 0]
[getCartRoute ] [setHeader7 ] [setHeader[CamelHttpUri] ] [ 90]
[getCartRoute ] [to3 ] [http4://DUMMY ] [ 950]
[getCartRoute ] [setHeader10 ] [setHeader[CamelJacksonUnmarshalType] ] [ 0]
[getCartRoute ] [getCartRoute ] [unmarshal[org.apache.camel.model.dataformat.JsonDataFormat@3a138755] ] [ 2]
Stacktrace
---------------------------------------------------------------------------------------------------------------------------------------
org.apache.camel.InvalidPayloadException: No body available of type: java.io.InputStream on: Message[ID-coolstore-gw-1-5qlvl-43907-1495097172595-0-2]. Caused by: No type converter available to convert from type: null to the required type: java.io.InputStream with value null. Exchange[ID-coolstore-gw-1-5qlvl-43907-1495097172595-0-4]. Caused by: [org.apache.camel.NoTypeConversionAvailableException - No type converter available to convert from type: null to the required type: java.io.InputStream with value null]
at org.apache.camel.impl.MessageSupport.getMandatoryBody(MessageSupport.java:107)
at org.apache.camel.processor.UnmarshalProcessor.process(UnmarshalProcessor.java:63)
at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)
at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:542)
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:197)
at org.apache.camel.processor.Pipeline.process(Pipeline.java:120)
at org.apache.camel.processor.Pipeline.process(Pipeline.java:83)
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:197)
at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:97)
at org.apache.camel.http.common.CamelServlet.doService(CamelServlet.java:195)
at com.redhat.coolstore.api_gateway.ApiGatewayApplication$CORSServlet.doService(ApiGatewayApplication.java:92)
at org.apache.camel.http.common.CamelServlet.service(CamelServlet.java:74)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(ApplicationContextHeaderFilter.java:55)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:105)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:89)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:107)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1100)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:687)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.camel.NoTypeConversionAvailableException: No type converter available to convert from type: null to the required type: java.io.InputStream with value null
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:198)
at org.apache.camel.impl.MessageSupport.getMandatoryBody(MessageSupport.java:105)
... 60 common frames omitted
08:59:27.250 [hystrix-coolstore-2] INFO o.a.c.component.http4.HttpComponent - Created ClientConnectionManager org.apache.http.impl.conn.PoolingHttpClientConnectionManager@16aec1b5
08:59:28.098 [Camel (MyCamel) thread #0 - Split] INFO c.r.c.api_gateway.ProductGateway - ------------------->Product toString: name:Unavailable Product id:0 price:0.0 desc:Unavailable Product
08:59:37.286 [hystrix-coolstore-9] INFO o.a.c.component.http4.HttpComponent - Created ClientConnectionManager org.apache.http.impl.conn.PoolingHttpClientConnectionManager@44abc071
08:59:37.288 [hystrix-coolstore-5] INFO o.a.c.component.http4.HttpComponent - Created ClientConnectionManager org.apache.http.impl.conn.PoolingHttpClientConnectionManager@1ccfc781
08:59:37.348 [hystrix-coolstore-3] INFO o.a.c.component.http4.HttpComponent - Created ClientConnectionManager org.apache.http.impl.conn.PoolingHttpClientConnectionManager@66c6f760
08:59:37.365 [hystrix-coolstore-6] INFO o.a.c.component.http4.HttpComponent - Created ClientConnectionManager org.apache.http.impl.conn.PoolingHttpClientConnectionManager@41cc31a2
08:59:37.369 [hystrix-coolstore-7] INFO o.a.c.component.http4.HttpComponent - Created ClientConnectionManager org.apache.http.impl.conn.PoolingHttpClientConnectionManager@155ae527
08:59:37.377 [hystrix-coolstore-4] INFO o.a.c.component.http4.HttpComponent - Created ClientConnectionManager org.apache.http.impl.conn.PoolingHttpClientConnectionManager@701d4f96
08:59:37.357 [hystrix-coolstore-10] INFO o.a.c.component.http4.HttpComponent - Created ClientConnectionManager org.apache.http.impl.conn.PoolingHttpClientConnectionManager@2250de05
08:59:37.447 [hystrix-coolstore-8] INFO o.a.c.component.http4.HttpComponent - Created ClientConnectionManager org.apache.http.impl.conn.PoolingHttpClientConnectionManager@3aed944
08:59:37.573 [Camel (MyCamel) thread #5 - Split] INFO c.r.c.api_gateway.ProductGateway - ------------------->Product toString: name:Ogio Caliber Polo id:165614 price:28.75 desc:Moisture-wicking 100% polyester. Rib-knit collar and cuffs; Ogio jacquard tape inside neck; bar-tacked three-button placket with Ogio dyed-to-match buttons; side vents; tagless; Ogio badge on left sleeve. Import. Embroidery. Black.
08:59:37.645 [Camel (MyCamel) thread #6 - Split] INFO c.r.c.api_gateway.ProductGateway - ------------------->Product toString: name:16 oz. Vortex Tumbler id:165954 price:6.0 desc:Double-wall insulated, BPA-free, acrylic cup. Push-on lid with thumb-slide closure; for hot and cold beverages. Holds 16 oz. Hand wash only. Imprint. Clear.
08:59:37.646 [Camel (MyCamel) thread #4 - Split] INFO c.r.c.api_gateway.ProductGateway - ------------------->Product toString: name:Solid Performance Polo id:165613 price:17.8 desc:Moisture-wicking, antimicrobial 100% polyester design wicks for life of garment. No-curl, rib-knit collar; special collar band maintains crisp fold; three-button placket with dyed-to-match buttons; hemmed sleeves; even bottom with side vents; Import. Embroidery. Red Pepper.
08:59:37.648 [Camel (MyCamel) thread #7 - Split] INFO c.r.c.api_gateway.ProductGateway - ------------------->Product toString: name:Pebble Smart Watch id:444434 price:24.0 desc:Smart glasses and smart watches are perhaps two of the most exciting developments in recent years.
08:59:37.650 [Camel (MyCamel) thread #9 - Split] INFO c.r.c.api_gateway.ProductGateway - ------------------->Product toString: name:Lytro Camera id:444436 price:44.3 desc:Consumers who want to up their photography game are looking at newfangled cameras like the Lytro Field camera, designed to take photos with infinite focus, so you can decide later exactly where you want the focus of each image to be.
08:59:37.651 [Camel (MyCamel) thread #2 - Split] INFO c.r.c.api_gateway.ProductGateway - ------------------->Product toString: name:Red Fedora id:329299 price:34.99 desc:Official Red Hat Fedora
08:59:37.651 [Camel (MyCamel) thread #8 - Split] INFO c.r.c.api_gateway.ProductGateway - ------------------->Product toString: name:Oculus Rift id:444435 price:106.0 desc:The world of gaming has also undergone some very unique and compelling tech advances in recent years. Virtual reality, the concept of complete immersion into a digital universe through a special headset, has been the white whale of gaming and digital technology ever since Geekstakes Oculus Rift GiveawayNintendo marketed its Virtual Boy gaming system in 1995.Lytro
08:59:37.653 [Camel (MyCamel) thread #3 - Split] INFO c.r.c.api_gateway.ProductGateway - ------------------->Product toString: name:Forge Laptop Sticker id:329199 price:8.5 desc:JBoss Community Forge Project Sticker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment