2023-03-17 06:13:49 [59a5365f] [DefaultDispatcher-worker-1] ERROR com.htmake.reader.api.YueduApi - onHandlerError:
io.vertx.core.json.DecodeException: Failed to decode:No content to map due to end-of-input
at [Source: (String)""; line: 1, column: 0]
at io.vertx.core.json.jackson.JacksonCodec.fromParser(JacksonCodec.java:97)
at io.vertx.core.json.jackson.JacksonCodec.fromString(JacksonCodec.java:57)
at io.vertx.core.json.JsonArray.fromJson(JsonArray.java:845)
at io.vertx.core.json.JsonArray.(JsonArray.java:54)
at com.htmake.reader.utils.ExtKt.asJsonArray(Ext.kt:439)
at com.htmake.reader.api.controller.BookController.getBookShelfBooks(BookController.kt:1845)
at com.htmake.reader.api.controller.BookController.getBookshelf(BookController.kt:1247)
at com.htmake.reader.api.YueduApi$initRouter$21.invokeSuspend(YueduApi.kt:233)
at com.htmake.reader.api.YueduApi$initRouter$21.invoke(YueduApi.kt)
at com.htmake.reader.api.YueduApi$initRouter$21.invoke(YueduApi.kt)
at com.htmake.reader.verticle.RestVerticle$coroutineHandler$1$2.invokeSuspend(RestVerticle.kt:163)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
Caused by: com.fasterxml.jackson.databind.exc.MismatchedInputException: No content to map due to end-of-input
at [Source: (String)""; line: 1, column: 0]
at com.fasterxml.jackson.databind.exc.MismatchedInputException.from(MismatchedInputException.java:59)
at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:4145)
at com.fasterxml.jackson.databind.ObjectMapper._readValue(ObjectMapper.java:3971)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2276)
at io.vertx.core.json.jackson.JacksonCodec.fromParser(JacksonCodec.java:95)
... 16 common frames omitted
之前运行还是正常的,今天就不行了
2023-03-17 06:13:49 [59a5365f] [DefaultDispatcher-worker-1] ERROR com.htmake.reader.api.YueduApi - onHandlerError: io.vertx.core.json.DecodeException: Failed to decode:No content to map due to end-of-input at [Source: (String)""; line: 1, column: 0] at io.vertx.core.json.jackson.JacksonCodec.fromParser(JacksonCodec.java:97) at io.vertx.core.json.jackson.JacksonCodec.fromString(JacksonCodec.java:57) at io.vertx.core.json.JsonArray.fromJson(JsonArray.java:845) at io.vertx.core.json.JsonArray.(JsonArray.java:54)
at com.htmake.reader.utils.ExtKt.asJsonArray(Ext.kt:439)
at com.htmake.reader.api.controller.BookController.getBookShelfBooks(BookController.kt:1845)
at com.htmake.reader.api.controller.BookController.getBookshelf(BookController.kt:1247)
at com.htmake.reader.api.YueduApi$initRouter$21.invokeSuspend(YueduApi.kt:233)
at com.htmake.reader.api.YueduApi$initRouter$21.invoke(YueduApi.kt)
at com.htmake.reader.api.YueduApi$initRouter$21.invoke(YueduApi.kt)
at com.htmake.reader.verticle.RestVerticle$coroutineHandler$1$2.invokeSuspend(RestVerticle.kt:163)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
Caused by: com.fasterxml.jackson.databind.exc.MismatchedInputException: No content to map due to end-of-input
at [Source: (String)""; line: 1, column: 0]
at com.fasterxml.jackson.databind.exc.MismatchedInputException.from(MismatchedInputException.java:59)
at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:4145)
at com.fasterxml.jackson.databind.ObjectMapper._readValue(ObjectMapper.java:3971)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2276)
at io.vertx.core.json.jackson.JacksonCodec.fromParser(JacksonCodec.java:95)
... 16 common frames omitted