Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-4466

`process-quarkus-timer` raise Nullpointerexception when posting a new

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Blocker
    • 1.3.0.Final
    • 1.2.0.Final
    • Core Engine, Examples
    • None
    • False
    • False
    • Undefined
    • Hide
      $ mvn clean package -U
      $ java -jar target/process-timer-quarkus-runner.jar

      and then HTTP POST request to http://localhost:8080/timers with content

      { "delay" : "PT30S" }
      

       

      Show
      $ mvn clean package -U $ java -jar target/process-timer-quarkus-runner.jar and then HTTP POST request to http://localhost:8080/timers  with content { "delay" : "PT30S" }  
    • ---
    • ---

    Description

      When creating a new timer in `process-quarkus-timer`, it raises a NullPointerException:

      [tradisso@tradisso process-timer-quarkus]$ java -jar target/process-timer-quarkus-runner.jar
      __  ____  __  _____   ___  __ ____  ______
       --/ __ \/ / / / _ | / _ \/ //_/ / / / __/
       -/ /_/ / /_/ / __ |/ , _/ ,< / /_/ /\ \
      --\___\_\____/_/ |_/_/|_/_/|_|\____/___/
      2021-02-18 09:19:27,286 WARN  [io.qua.config] (main) Unrecognized configuration key "quarkus.infinispan-client.server-list" was provided; it will be ignored; verify that the dependency extension for this configuration is set or you did not make a typo
      2021-02-18 09:19:29,166 INFO  [io.quarkus] (main) process-timer-quarkus 1.3.0-SNAPSHOT on JVM (powered by Quarkus 1.11.1.Final) started in 2.352s. Listening on: http://0.0.0.0:8080
      2021-02-18 09:19:29,166 INFO  [io.quarkus] (main) Profile prod activated.
      2021-02-18 09:19:29,167 INFO  [io.quarkus] (main) Installed features: [cdi, kogito, mutiny, resteasy, resteasy-jackson, servlet, smallrye-context-propagation, smallrye-health, smallrye-openapi, swagger-ui, vertx]
      Before timer... waiting for PT30S
      2021-02-18 09:19:33,438 ERROR [io.qua.ver.cor.run.VertxCoreRecorder] (vert.x-eventloop-thread-3) Uncaught exception received by Vert.x: java.lang.NullPointerException
          at org.kie.kogito.jobs.management.quarkus.VertxJobsService.lambda$scheduleProcessInstanceJob$0(VertxJobsService.java:107)
          at io.vertx.ext.web.client.impl.HttpContext.handleFailure(HttpContext.java:309)
          at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:303)
          at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:275)
          at io.vertx.ext.web.client.impl.predicate.PredicateInterceptor.handle(PredicateInterceptor.java:70)
          at io.vertx.ext.web.client.impl.predicate.PredicateInterceptor.handle(PredicateInterceptor.java:32)
          at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:272)
          at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:282)
          at io.vertx.ext.web.client.impl.HttpContext.fail(HttpContext.java:262)
          at io.vertx.ext.web.client.impl.HttpContext.lambda$handleSendRequest$7(HttpContext.java:422)
          at io.vertx.core.impl.FutureImpl.tryFail(FutureImpl.java:195)
          at io.vertx.ext.web.client.impl.HttpContext.lambda$handleSendRequest$15(HttpContext.java:518)
          at io.vertx.core.http.impl.HttpClientRequestBase.handleException(HttpClientRequestBase.java:133)
          at io.vertx.core.http.impl.HttpClientRequestImpl.handleException(HttpClientRequestImpl.java:370)
          at io.vertx.core.http.impl.HttpClientRequestImpl.lambda$null$6(HttpClientRequestImpl.java:472)
          at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:366)
          at io.vertx.core.impl.EventLoopContext.execute(EventLoopContext.java:43)
          at io.vertx.core.impl.ContextImpl.executeFromIO(ContextImpl.java:229)
          at io.vertx.core.impl.ContextImpl.executeFromIO(ContextImpl.java:221)
          at io.vertx.core.http.impl.HttpClientRequestImpl.lambda$connect$7(HttpClientRequestImpl.java:471)
          at io.vertx.core.http.impl.HttpClientImpl.lambda$getConnectionForRequest$4(HttpClientImpl.java:1048)
          at io.vertx.core.http.impl.ConnectionManager.lambda$getConnection$7(ConnectionManager.java:159)
          at io.vertx.core.http.impl.pool.Pool.connectFailed(Pool.java:397)
          at io.vertx.core.http.impl.pool.Pool.access$600(Pool.java:89)

      Happens on both master and 1.3.x

      Attachments

        Issue Links

          Activity

            People

              tdolphin-1 Tiago Dolphine
              tradisso@redhat.com Tristan Radisson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: