Uploaded image for project: 'RAML Module Builder'
  1. RAML Module Builder
  2. RMB-780

NPE in logs after migrating to RMB v32.0.0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: P2
    • Resolution: Done
    • Affects Version/s: 32.0.0
    • Fix Version/s: 32.0.1, 32.1.0
    • Labels:
      None
    • Template:
      Standard Bug Write-Up Format
    • Sprint:
      CP: sprint 104
    • Story Points:
      0.5
    • Development Team:
      Core: Platform

      Description

      Overview:

      After migrating the module it seems everything works fine, but there is a lot of errors in the logs such as:

      2020-12-23T09:18:40,904 ERROR [vert.x-eventloop-thread-0] VertxUtils Unhandled exception caught by vertx
      java.lang.NullPointerException: null
      	at java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2086) ~[?:?]
      	at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:81) ~[domain-models-runtime-32.0.0.jar:?]
      	at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-32.0.0.jar:?]
      	at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:354) ~[vertx-web-client-4.0.0.jar:4.0.0]
      	at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:341) ~[vertx-web-client-4.0.0.jar:4.0.0]
      	at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:322) ~[vertx-web-client-4.0.0.jar:4.0.0]
      	at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:289) ~[vertx-web-client-4.0.0.jar:4.0.0]
      	at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:251) ~[vertx-web-client-4.0.0.jar:4.0.0]
      	at io.vertx.ext.web.client.impl.HttpContext.lambda$null$2(HttpContext.java:415) ~[vertx-web-client-4.0.0.jar:4.0.0]
      	at io.vertx.core.impl.AbstractContext.dispatch(AbstractContext.java:96) ~[vertx-core-4.0.0.jar:4.0.0]
      	at io.vertx.core.impl.AbstractContext.dispatch(AbstractContext.java:59) ~[vertx-core-4.0.0.jar:4.0.0]
      	at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:40) ~[vertx-core-4.0.0.jar:4.0.0]
      	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) [netty-common-4.1.49.Final.jar:4.1.49.Final]
      	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) [netty-common-4.1.49.Final.jar:4.1.49.Final]
      	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:497) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
      	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) [netty-common-4.1.49.Final.jar:4.1.49.Final]
      	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.49.Final.jar:4.1.49.Final]
      	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [netty-common-4.1.49.Final.jar:4.1.49.Final]
      	at java.lang.Thread.run(Thread.java:834) [?:?]
      
      
      2020-12-23T10:22:45,064 ERROR [vert.x-eventloop-thread-1] ContextImpl Unhandled exception
      java.lang.NullPointerException: null
      	at java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2086) ~[?:?]
      	at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:81) ~[domain-models-runtime-32.0.0.jar:?]
      	at org.folio.rest.tools.client.HTTPJsonResponseHandler.handle(HTTPJsonResponseHandler.java:1) ~[domain-models-runtime-32.0.0.jar:?]
      	at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:354) ~[vertx-web-client-4.0.0.jar:4.0.0]
      	at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:341) ~[vertx-web-client-4.0.0.jar:4.0.0]
      	at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:322) ~[vertx-web-client-4.0.0.jar:4.0.0]
      	at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:289) ~[vertx-web-client-4.0.0.jar:4.0.0]
      	at io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:251) ~[vertx-web-client-4.0.0.jar:4.0.0]
      	at io.vertx.ext.web.client.impl.HttpContext.lambda$null$2(HttpContext.java:415) ~[vertx-web-client-4.0.0.jar:4.0.0]
      	at io.vertx.core.impl.AbstractContext.dispatch(AbstractContext.java:96) ~[vertx-core-4.0.0.jar:4.0.0]
      	at io.vertx.core.impl.AbstractContext.dispatch(AbstractContext.java:59) ~[vertx-core-4.0.0.jar:4.0.0]
      	at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:40) ~[vertx-core-4.0.0.jar:4.0.0]
      	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) [netty-common-4.1.49.Final.jar:4.1.49.Final]
      	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) [netty-common-4.1.49.Final.jar:4.1.49.Final]
      	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:497) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
      	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) [netty-common-4.1.49.Final.jar:4.1.49.Final]
      	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.49.Final.jar:4.1.49.Final]
      	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [netty-common-4.1.49.Final.jar:4.1.49.Final]
      	at java.lang.Thread.run(Thread.java:834) [?:?]
      

      Can be reproduced on https://github.com/folio-org/mod-orders/commit/d0954007650002c307abdf4e9a79158ad2c3ddf9 via running unit tests

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                adam Adam Dickmeiss
                Reporter:
                siarhei_hrabko Siarhei Hrabko
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases