You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2019-07-10T10:58:19.97+0300 [APP/PROC/WEB/0] OUT 2019-07-10 07:58:19.973 ERROR 9 --- [ry-client-nio-3] o.s.c.s.metrics.service.CFPolicyService : Sth went wrong with message: The mapper returned a null value.
2019-07-10T10:58:19.97+0300 [APP/PROC/WEB/0] OUT 2019-07-10 07:58:19.973 ERROR 9 --- [ry-client-nio-3] o.s.c.s.metrics.service.CFPolicyService : Data: {}
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR java.lang.NullPointerException: The mapper returned a null value.
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at java.util.Objects.requireNonNull(Objects.java:228)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:100)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:114)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:114)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at reactor.ipc.netty.channel.FluxReceive.drainReceiver(FluxReceive.java:213)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at reactor.ipc.netty.channel.FluxReceive.onInboundNext(FluxReceive.java:329)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at reactor.ipc.netty.channel.ChannelOperations.onInboundNext(ChannelOperations.java:311)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at reactor.ipc.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:628)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at reactor.ipc.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:138)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:323)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:297)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at reactor.ipc.netty.http.HttpOperations.lambda$static$2(HttpOperations.java:280)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at reactor.ipc.netty.ReactorNetty$ExtractorHandler.channelRead(ReactorNetty.java:366)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:438)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:323)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:297)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:253)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1478)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1227)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1274)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:502)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:441)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:278)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1408)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:930)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:682)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:617)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:534)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:906)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
2019-07-10T11:34:14.57+0300 [APP/PROC/WEB/0] ERR at java.lang.Thread.run(Thread.java:748)
Mapper really returns null. I guess it is bug, because try to handle Mono, but api return empty json {}.
The text was updated successfully, but these errors were encountered:
I ran into the same issue. Looks like that in contrast to the regular API, the networking API returns an empty JSON object (aka "{}") and HTTP code 200 (the Cloud Foundry API uses code 204 and therefore no response content at all).
This in turn results in the object mapper being called at
Configure context with Network Client for cloudfoundry:
And try it in next example:
After run policies request I saw next error:
Mapper really returns null. I guess it is bug, because try to handle Mono, but api return empty json
{}
.The text was updated successfully, but these errors were encountered: