Uploaded image for project: 'mod-pubsub'
  1. mod-pubsub
  2. MODPUBSUB-92

NullPointerException in PubSub when trying to run DataImport

    XMLWordPrintable

    Details

    • Template:
    • Development Team:
      Folijet

      Description

      12:47:23.881 [vert.x-eventloop-thread-0] ERROR aConsumerServiceImpl [1771674eqId] DI_SRS_MARC_BIB_RECORD_CREATED event with id 'aa12c48d-631f-4435-a82d-f210b7bb67b7' was not delivered to /inventory/handlers/data-import
      java.lang.NullPointerException: null
      at io.vertx.core.http.impl.HttpUtils.validateHeaderValue(HttpUtils.java:685) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.http.impl.HttpUtils.validateHeader(HttpUtils.java:673) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.http.impl.headers.VertxHttpHeaders.add0(VertxHttpHeaders.java:522) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.http.impl.headers.VertxHttpHeaders.add(VertxHttpHeaders.java:68) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.http.impl.headers.VertxHttpHeaders.add(VertxHttpHeaders.java:84) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.http.impl.headers.VertxHttpHeaders.addAll(VertxHttpHeaders.java:114) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.http.impl.headers.VertxHttpHeaders.addAll(VertxHttpHeaders.java:104) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.ext.web.client.impl.HttpContext.handlePrepareRequest(HttpContext.java:351) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:283) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:270) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.ext.web.client.impl.predicate.PredicateInterceptor.handle(PredicateInterceptor.java:69) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.ext.web.client.impl.predicate.PredicateInterceptor.handle(PredicateInterceptor.java:32) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:267) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:277) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.ext.web.client.impl.HttpContext.prepareRequest(HttpContext.java:166) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.ext.web.client.impl.HttpRequestImpl.send(HttpRequestImpl.java:331) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.ext.web.client.impl.HttpRequestImpl.sendBuffer(HttpRequestImpl.java:306) ~[mod-pubsub-server-fat.jar:?]
      at org.folio.rest.util.RestUtil.doRequest(RestUtil.java:43) ~[mod-pubsub-server-fat.jar:?]
      at org.folio.services.impl.KafkaConsumerServiceImpl.lambda$8(KafkaConsumerServiceImpl.java:134) ~[mod-pubsub-server-fat.jar:?]
      at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_222]
      at org.folio.services.impl.KafkaConsumerServiceImpl.lambda$7(KafkaConsumerServiceImpl.java:134) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.Future.lambda$compose$3(Future.java:360) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.dispatch(FutureImpl.java:107) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.tryComplete(FutureImpl.java:152) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.complete(FutureImpl.java:113) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.Future.lambda$map$4(Future.java:407) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.dispatch(FutureImpl.java:107) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.tryComplete(FutureImpl.java:152) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.complete(FutureImpl.java:113) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.handle(FutureImpl.java:178) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.handle(FutureImpl.java:21) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.dispatch(FutureImpl.java:107) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.setHandler(FutureImpl.java:85) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.Future.lambda$compose$3(Future.java:365) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.dispatch(FutureImpl.java:104) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.tryComplete(FutureImpl.java:152) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.complete(FutureImpl.java:113) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.Future.lambda$map$4(Future.java:407) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.dispatch(FutureImpl.java:107) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.tryComplete(FutureImpl.java:152) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.complete(FutureImpl.java:113) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.handle(FutureImpl.java:178) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.handle(FutureImpl.java:21) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.SucceededFuture.setHandler(SucceededFuture.java:41) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.Future.lambda$compose$3(Future.java:365) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.dispatch(FutureImpl.java:107) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.tryComplete(FutureImpl.java:152) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.complete(FutureImpl.java:113) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.handle(FutureImpl.java:178) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.handle(FutureImpl.java:21) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.dispatch(FutureImpl.java:107) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.tryComplete(FutureImpl.java:152) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.complete(FutureImpl.java:113) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.handle(FutureImpl.java:178) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.handle(FutureImpl.java:21) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:308) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:295) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:270) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.ext.web.client.impl.predicate.PredicateInterceptor.handle(PredicateInterceptor.java:69) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.ext.web.client.impl.predicate.PredicateInterceptor.handle(PredicateInterceptor.java:32) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:267) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:277) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:238) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.ext.web.client.impl.HttpContext.lambda$null$2(HttpContext.java:367) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.EventLoopContext.lambda$executeAsync$0(EventLoopContext.java:38) ~[mod-pubsub-server-fat.jar:?]
      at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) [mod-pubsub-server-fat.jar:?]
      at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:510) [mod-pubsub-server-fat.jar:?]
      at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:518) [mod-pubsub-server-fat.jar:?]
      at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1044) [mod-pubsub-server-fat.jar:?]
      at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [mod-pubsub-server-fat.jar:?]
      at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [mod-pubsub-server-fat.jar:?]
      at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]
      12:47:23.884 [vert.x-eventloop-thread-0] ERROR RestUtil [1771677eqId] Request to /authn/login failed
      java.lang.NullPointerException: null
      at io.vertx.core.http.impl.HttpUtils.validateHeaderValue(HttpUtils.java:685) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.http.impl.HttpUtils.validateHeader(HttpUtils.java:673) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.http.impl.headers.VertxHttpHeaders.add0(VertxHttpHeaders.java:522) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.http.impl.headers.VertxHttpHeaders.add(VertxHttpHeaders.java:68) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.http.impl.headers.VertxHttpHeaders.add(VertxHttpHeaders.java:84) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.http.impl.headers.VertxHttpHeaders.addAll(VertxHttpHeaders.java:114) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.http.impl.headers.VertxHttpHeaders.addAll(VertxHttpHeaders.java:104) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.ext.web.client.impl.HttpContext.handlePrepareRequest(HttpContext.java:351) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:283) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:270) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.ext.web.client.impl.predicate.PredicateInterceptor.handle(PredicateInterceptor.java:69) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.ext.web.client.impl.predicate.PredicateInterceptor.handle(PredicateInterceptor.java:32) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:267) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:277) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.ext.web.client.impl.HttpContext.prepareRequest(HttpContext.java:166) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.ext.web.client.impl.HttpRequestImpl.send(HttpRequestImpl.java:331) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.ext.web.client.impl.HttpRequestImpl.sendBuffer(HttpRequestImpl.java:306) ~[mod-pubsub-server-fat.jar:?]
      at org.folio.rest.util.RestUtil.doRequest(RestUtil.java:43) ~[mod-pubsub-server-fat.jar:?]
      at org.folio.services.impl.SecurityManagerImpl.lambda$0(SecurityManagerImpl.java:60) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.Future.lambda$compose$3(Future.java:360) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.dispatch(FutureImpl.java:107) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.tryComplete(FutureImpl.java:152) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.complete(FutureImpl.java:113) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.Future.lambda$map$4(Future.java:407) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.dispatch(FutureImpl.java:107) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.tryComplete(FutureImpl.java:152) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.complete(FutureImpl.java:113) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.handle(FutureImpl.java:178) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.FutureImpl.handle(FutureImpl.java:21) ~[mod-pubsub-server-fat.jar:?]
      at org.folio.rest.persist.PostgresClient.lambda$6(PostgresClient.java:682) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.ext.asyncsql.impl.AsyncSQLConnectionImpl.close(AsyncSQLConnectionImpl.java:188) ~[mod-pubsub-server-fat.jar:?]
      at org.folio.rest.persist.PostgresClient.lambda$5(PostgresClient.java:678) ~[mod-pubsub-server-fat.jar:?]
      at org.folio.rest.persist.PostgresClient.lambda$57(PostgresClient.java:2596) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.ext.asyncsql.impl.AsyncSQLConnectionImpl.lambda$handleAsyncQueryResultToResultSet$11(AsyncSQLConnectionImpl.java:321) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.ext.asyncsql.impl.ConversionUtils.lambda$connectCompletableFutureWithHandler$4(ConversionUtils.java:97) ~[mod-pubsub-server-fat.jar:?]
      at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:760) ~[?:1.8.0_222]
      at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:736) ~[?:1.8.0_222]
      at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) ~[?:1.8.0_222]
      at io.vertx.ext.asyncsql.impl.VxContextAwareExecutor.lambda$execute$0(VxContextAwareExecutor.java:22) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369) ~[mod-pubsub-server-fat.jar:?]
      at io.vertx.core.impl.EventLoopContext.lambda$executeAsync$0(EventLoopContext.java:38) ~[mod-pubsub-server-fat.jar:?]
      at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) [mod-pubsub-server-fat.jar:?]
      at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:510) [mod-pubsub-server-fat.jar:?]
      at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:518) [mod-pubsub-server-fat.jar:?]
      at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1044) [mod-pubsub-server-fat.jar:?]
      at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [mod-pubsub-server-fat.jar:?]
      at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [mod-pubsub-server-fat.jar:?]
      at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                OleksiiKuzminov Oleksii Kuzminov
                Reporter:
                Taras_Spashchenko Taras Spashchenko
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases