Kie server is unable to connect to the controller with the error "response code 500" and "Caused by: java.lang.NoSuchMethodError:..."

Solution Unverified - Updated -

Issue

  • We can still see the error of kieserver unable to connect

    ... WARN  [org.kie.server.services.impl.controller.DefaultRestControllerImpl] (KieServer-ControllerConnect) Exception encountered while syncing with controller at http://localhost:8080/decision-central/rest/controller/server/default-kieserver error Error while sending PUT request to http://localhost:8080/decision-central/rest/controller/server/default-kieserver response code 500
    
  • Kie server unable to connect to the controller with the error:

    ... WARN  [org.kie.server.services.impl.controller.DefaultRestControllerImpl] (KieServer-ControllerConnect) Exception encountered while syncing with controller at http://localhost:8080/decision-central/rest/controller/server/default-kieserver error Error while sending PUT request to http://localhost:8080/decision-central/rest/controller/server/default-kieserver response code 500
    ... INFO  [org.kie.server.controller.websocket.client.WebSocketKieServerControllerImpl] (KieServer-ControllerConnect) Kie Server points to non Web Socket controller 'http://localhost:8080/decision-central/rest/controller', using default REST mechanism
    ... ERROR [io.undertow.request] (default task-3) UT005023: Exception handling request to /decision-central/rest/controller/server/default-kieserver: org.jboss.resteasy.spi.UnhandledException: java.lang.NoSuchMethodError: org.kie.server.api.marshalling.json.JSONMarshaller$2.idResolver(Lcom/fasterxml/jackson/databind/cfg/MapperConfig;Lcom/fasterxml/jackson/databind/JavaType;Ljava/util/Collection;ZZ)Lcom/fasterxml/jackson/databind/jsontype/TypeIdResolver;
    ...
    Caused by: java.lang.NoSuchMethodError: org.kie.server.api.marshalling.json.JSONMarshaller$2.idResolver(Lcom/fasterxml/jackson/databind/cfg/MapperConfig;Lcom/fasterxml/jackson/databind/JavaType;Ljava/util/Collection;ZZ)Lcom/fasterxml/jackson/databind/jsontype/TypeIdResolver;
    ...
    

Environment

  • Red Hat Decision Manager (RHDM) 7.5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content