Class io.micronaut.http.server.netty.binding.JsonBodyBindingSpec

15

tests

0

failures

0

ignored

0.135s

duration

100%

successful

Tests

Test Duration Result
test array POGO body parsing 0.005s passed
test array POGO body parsing and return 0.008s passed
test future argument handling with POGO 0.004s passed
test future argument handling with map 0.004s passed
test future argument handling with string 0.015s passed
test list POGO body parsing 0.004s passed
test parse body into parameters if no @Body specified 0.011s passed
test publisher argument handling with POGO 0.015s passed
test simple POGO body parse and return 0.004s passed
test simple POGO body parsing 0.003s passed
test simple map body parsing 0.011s passed
test simple string-based body parsing 0.003s passed
test simple string-based body parsing with incomplete JSON 0.033s passed
test simple string-based body parsing with invalid JSON 0.011s passed
test simple string-based body parsing with invalid mime type 0.004s passed

Standard output

00:21:27.320 [Test worker] INFO  i.m.context.env.DefaultEnvironment - Established active environments: [test, cloud, gcp]
00:21:27.326 [Test worker] INFO  i.m.context.env.DefaultEnvironment - Established active environments: [test, cloud, gcp]
00:21:27.376 [nioEventLoopGroup-30-4] ERROR i.m.h.s.netty.RoutingInBoundHandler - Unexpected error occurred: Unexpected end-of-input
 at [Source: UNKNOWN; line: 1, column: 21]
com.fasterxml.jackson.core.io.JsonEOFException: Unexpected end-of-input
 at [Source: UNKNOWN; line: 1, column: 21]
	at io.micronaut.jackson.parser.JacksonProcessor.doOnComplete(JacksonProcessor.java:91)
	at io.micronaut.core.async.subscriber.SingleThreadedBufferingSubscriber.onComplete(SingleThreadedBufferingSubscriber.java:71)
	at io.micronaut.http.server.netty.jackson.JsonContentProcessor.doOnComplete(JsonContentProcessor.java:141)
	at io.micronaut.core.async.subscriber.CompletionAwareSubscriber.onComplete(CompletionAwareSubscriber.java:72)
	at io.micronaut.http.netty.reactive.HandlerPublisher.publishMessage(HandlerPublisher.java:411)
	at io.micronaut.http.netty.reactive.HandlerPublisher.flushBuffer(HandlerPublisher.java:349)
	at io.micronaut.http.netty.reactive.HandlerPublisher.receivedDemand(HandlerPublisher.java:303)
	at io.micronaut.http.netty.reactive.HandlerPublisher.access$200(HandlerPublisher.java:69)
	at io.micronaut.http.netty.reactive.HandlerPublisher$ChannelSubscription$1.run(HandlerPublisher.java:508)
	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403)
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:463)
	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
	at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:138)
	at java.lang.Thread.run(Thread.java:748)
00:21:27.414 [nioEventLoopGroup-30-8] ERROR i.m.h.s.netty.RoutingInBoundHandler - Unexpected error occurred: Unexpected character ('T' (code 84)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
 at [Source: UNKNOWN; line: 1, column: 11]
com.fasterxml.jackson.core.JsonParseException: Unexpected character ('T' (code 84)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
 at [Source: UNKNOWN; line: 1, column: 11]
	at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1804)
	at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:663)
	at com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:561)
	at com.fasterxml.jackson.core.json.async.NonBlockingJsonParser._startUnexpectedValue(NonBlockingJsonParser.java:910)
	at com.fasterxml.jackson.core.json.async.NonBlockingJsonParser._startValueExpectColon(NonBlockingJsonParser.java:807)
	at com.fasterxml.jackson.core.json.async.NonBlockingJsonParser.nextToken(NonBlockingJsonParser.java:193)
	at io.micronaut.jackson.parser.JacksonProcessor.onUpstreamMessage(JacksonProcessor.java:114)
	at io.micronaut.jackson.parser.JacksonProcessor.onUpstreamMessage(JacksonProcessor.java:40)
	at io.micronaut.core.async.processor.SingleThreadedBufferingProcessor.doOnNext(SingleThreadedBufferingProcessor.java:57)
	at io.micronaut.core.async.subscriber.SingleThreadedBufferingSubscriber.onNext(SingleThreadedBufferingSubscriber.java:92)
	at io.micronaut.http.server.netty.jackson.JsonContentProcessor.onData(JsonContentProcessor.java:128)
	at io.micronaut.http.server.netty.AbstractHttpContentProcessor.doOnNext(AbstractHttpContentProcessor.java:78)
	at io.micronaut.http.server.netty.AbstractHttpContentProcessor.doOnNext(AbstractHttpContentProcessor.java:35)
	at io.micronaut.core.async.subscriber.CompletionAwareSubscriber.onNext(CompletionAwareSubscriber.java:53)
	at io.micronaut.http.netty.reactive.HandlerPublisher.publishMessage(HandlerPublisher.java:416)
	at io.micronaut.http.netty.reactive.HandlerPublisher.flushBuffer(HandlerPublisher.java:349)
	at io.micronaut.http.netty.reactive.HandlerPublisher.receivedDemand(HandlerPublisher.java:303)
	at io.micronaut.http.netty.reactive.HandlerPublisher.access$200(HandlerPublisher.java:69)
	at io.micronaut.http.netty.reactive.HandlerPublisher$ChannelSubscription$1.run(HandlerPublisher.java:508)
	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403)
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:463)
	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
	at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:138)
	at java.lang.Thread.run(Thread.java:748)