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

Native Image tests are broken in PostgreSQL Persistence

    XMLWordPrintable

Details

    Description

      https://github.com/kiegroup/kogito-runtimes/pull/1379

      https://eng-jenkins-csb-business-automation.apps.ocp4.prod.psi.redhat.com/blue/organizations/jenkins/KIE%2Fkogito%2Fpullrequest%2Fkogito-runtimes.native.runtimes/detail/kogito-runtimes.native.runtimes/4/tests

      it looks like some there are issues with marshalling

      Stacktrace
      java.lang.AssertionError: 
      1 expectation failed.
      Expected status code <201> but was <500>.
      Standard Output
      2021-06-17 13:26:03,053 INFO  [org.tes.doc.DockerClientProviderStrategy] (build-42) Loaded org.testcontainers.dockerclient.EnvironmentAndSystemPropertyClientProviderStrategy from ~/.testcontainers.properties, will try it first
      2021-06-17 13:26:03,207 INFO  [org.kie.kog.cod.api.uti.AddonsConfigDiscovery] (build-51) Performed addonsConfig discovery, found: AddonsConfig{usePersistence=true, useTracing=false, useMonitoring=false, usePrometheusMonitoring=false, useCloudEvents=false, useExplainability=false, useProcessSVG=false}
      2021-06-17 13:26:03,510 INFO  [org.kie.kog.cod.cor.uti.ApplicationGeneratorDiscovery] (build-51) Generator discovery performed, found [openapispecs, processes, rules, decisions, predictions]
      2021-06-17 13:26:03,842 INFO  [org.tes.doc.DockerClientProviderStrategy] (build-42) Found Docker environment with Environment variables, system properties and defaults. Resolved dockerHost=unix:///var/run/docker.sock
      2021-06-17 13:26:03,843 INFO  [org.tes.DockerClientFactory] (build-42) Docker host IP address is localhost
      2021-06-17 13:26:03,921 INFO  [org.tes.DockerClientFactory] (build-42) Connected to docker: 
        Server Version: 20.10.6
        API Version: 1.41
        Operating System: Red Hat Enterprise Linux Server 7.9 (Maipo)
        Total Memory: 15884 MB
      2021-06-17 13:26:03,926 INFO  [org.tes.uti.ImageNameSubstitutor] (build-42) Found configured ImageNameSubstitutor: Kogito Image Name Substitutor
      2021-06-17 13:26:03,927 INFO  [org.tes.uti.ImageNameSubstitutor] (build-42) Image name substitution will be performed by: Chained substitutor of 'DefaultImageNameSubstitutor (composite of 'ConfigurationFileImageNameSubstitutor' and 'PrefixingImageNameSubstitutor')' and then 'Kogito Image Name Substitutor'
      2021-06-17 13:26:03,967 INFO  [org.tes.uti.RegistryAuthLocator] (build-42) Failure when attempting to lookup auth config. Please ignore if you don't have images in an authenticated registry. Details: (dockerImageName: testcontainers/ryuk:0.3.1, configFile: /home/jenkins/.docker/config.json. Falling back to docker-java default behaviour. Exception message: /home/jenkins/.docker/config.json (No such file or directory)
      2021-06-17 13:26:04,614 INFO  [org.tes.DockerClientFactory] (build-42) Ryuk started - will monitor and terminate Testcontainers containers on JVM exit
      2021-06-17 13:26:04,633 INFO  [🐳 .2]] (build-42) Creating container for image: postgres:13.2
      2021-06-17 13:26:04,675 INFO  [🐳 .2]] (build-42) Starting container with ID: 0c5ecab60472297a5f2c93a0c89bfb5028a0a87342eacd58920789a0463602f8
      2021-06-17 13:26:05,108 INFO  [🐳 .2]] (build-42) Container postgres:13.2 is starting: 0c5ecab60472297a5f2c93a0c89bfb5028a0a87342eacd58920789a0463602f8
      2021-06-17 13:26:05,428 INFO  [org.kie.kog.cod.api.uti.AddonsConfigDiscovery] (build-16) Performed addonsConfig discovery, found: AddonsConfig{usePersistence=true, useTracing=false, useMonitoring=false, usePrometheusMonitoring=false, useCloudEvents=false, useExplainability=false, useProcessSVG=false}
      2021-06-17 13:26:06,771 INFO  [🐳 .2]] (build-42) Container postgres:13.2 started in PT2.155699S
      The files belonging to this database system will be owned by user "postgres".
      This user must also own the server process.
      The database cluster will be initialized with locale "en_US.utf8".
      The default database encoding has accordingly been set to "UTF8".
      The default text search configuration will be set to "english".
      Data page checksums are disabled.
      fixing permissions on existing directory /var/lib/postgresql/data ... ok
      creating subdirectories ... ok
      selecting default max_connections ... 100
      selecting default shared_buffers ... 128MB
      selecting dynamic shared memory implementation ... posix
      creating configuration files ... ok
      running bootstrap script ... ok
      performing post-bootstrap initialization ... ok
      syncing data to disk ... ok
      Success. You can now start the database server using:
          pg_ctl -D /var/lib/postgresql/data -l logfile start
      WARNING: enabling "trust" authentication for local connections
      You can change this by editing pg_hba.conf or using the option -A, or
      --auth-local and --auth-host, the next time you run initdb.
      waiting for server to start....LOG:  database system was shut down at 2021-06-17 17:26:11 UTC
      LOG:  MultiXact member wraparound protections are now enabled
      LOG:  database system is ready to accept connections
      LOG:  autovacuum launcher started
       done
      server started
      CREATE DATABASE
      /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
      LOG:  received fast shutdown request
      waiting for server to shut down...LOG:  aborting any active transactions
      .LOG:  autovacuum launcher shutting down
      LOG:  shutting down
      LOG:  database system is shut down
       done
      server stopped
      PostgreSQL init process complete; ready for start up.
      LOG:  database system was shut down at 2021-06-17 17:26:12 UTC
      LOG:  MultiXact member wraparound protections are now enabled
      LOG:  database system is ready to accept connections
      LOG:  autovacuum launcher started
      Executing [/home/jenkins/workspace/KIE/kogito/pullrequest/kogito-runtimes.native.runtimes/kogito-runtimes/integration-tests/integration-tests-quarkus-processes-persistence/integration-tests-quarkus-processes-postgresql/target/integration-tests-quarkus-processes-postgresql-2.0.0-SNAPSHOT-runner, -Dquarkus.http.port=0, -Dquarkus.http.ssl-port=8444, -Dtest.url=http://localhost:0, -Dquarkus.log.file.path=/home/jenkins/workspace/KIE/kogito/pullrequest/kogito-runtimes.native.runtimes/kogito-runtimes/integration-tests/integration-tests-quarkus-processes-persistence/integration-tests-quarkus-processes-postgresql/target/quarkus.log, -Dquarkus.log.file.enable=true, -Dquarkus.datasource.password=test, -Dkogito.persistence.postgresql.connection.uri=postgresql://test:test@localhost:49240/test?search_path=public, -Dquarkus.datasource.reactive.url=postgresql://test:test@localhost:49240/test?search_path=public, -Dquarkus.datasource.db-kind=postgresql, -Dquarkus.datasource.jdbc.url=jdbc:postgresql://localhost:49240/test?loggerLevel=OFF, -Dquarkus.datasource.username=test]
      __  ____  __  _____   ___  __ ____  ______ 
       --/ __ \/ / / / _ | / _ \/ //_/ / / / __/ 
       -/ /_/ / /_/ / __ |/ , _/ ,< / /_/ /\ \   
      --\___\_\____/_/ |_/_/|_/_/|_|\____/___/   
      2021-06-17 13:26:13,708 WARN  [io.qua.config] (main) Unrecognized configuration key "quarkus.jib.base.jvm.image" was provided; it will be ignored; verify that the dependency extension for this configuration is set or that you did not make a typo
      2021-06-17 13:26:13,709 WARN  [io.qua.config] (main) Unrecognized configuration key "quarkus.datasource.jdbc.url" was provided; it will be ignored; verify that the dependency extension for this configuration is set or that you did not make a typo
      2021-06-17 13:26:13,709 WARN  [io.qua.config] (main) Unrecognized configuration key "quarkus.container.image.insecure" was provided; it will be ignored; verify that the dependency extension for this configuration is set or that you did not make a typo
      2021-06-17 13:26:13,725 ERROR [org.kie.kog.per.pos.PostgreProcessInstances] (main) Error creating process_instances table, the database should be configured properly before starting the application: java.lang.RuntimeException: Error reading query script file exists_tables
      	at org.kie.kogito.persistence.postgresql.PostgreProcessInstances.uncheckedException(PostgreProcessInstances.java:178)
      	at org.kie.kogito.persistence.postgresql.PostgreProcessInstances.getQueryFromFile(PostgreProcessInstances.java:341)
      	at org.kie.kogito.persistence.postgresql.PostgreProcessInstances.init(PostgreProcessInstances.java:296)
      	at org.kie.kogito.persistence.postgresql.PostgreProcessInstances.<init>(PostgreProcessInstances.java:77)
      	at org.kie.kogito.persistence.KogitoProcessInstancesFactory.createProcessInstances(KogitoProcessInstancesFactory.java:53)
      	at org.kie.kogito.persistence.KogitoProcessInstancesFactory.createProcessInstances(KogitoProcessInstancesFactory.java:28)
      	at org.kie.kogito.persistence.KogitoProcessInstancesFactoryImpl_ClientProxy.createProcessInstances(KogitoProcessInstancesFactoryImpl_ClientProxy.zig:186)
      	at org.kie.kogito.process.impl.AbstractProcess.configure(AbstractProcess.java:135)
      	at org.kie.kogito.process.impl.AbstractProcess.activate(AbstractProcess.java:151)
      	at org.kie.kogito.HelloProcess.<init>(HelloProcess.java:19)
      	at org.kie.kogito.HelloProcess_Bean.create(HelloProcess_Bean.zig:341)
      	at org.kie.kogito.HelloProcess_Bean.create(HelloProcess_Bean.zig:356)
      	at io.quarkus.arc.impl.AbstractSharedContext.createInstanceHandle(AbstractSharedContext.java:96)
      	at io.quarkus.arc.impl.AbstractSharedContext$1.get(AbstractSharedContext.java:29)
      	at io.quarkus.arc.impl.AbstractSharedContext$1.get(AbstractSharedContext.java:26)
      	at io.quarkus.arc.impl.LazyValue.get(LazyValue.java:26)
      	at io.quarkus.arc.impl.ComputingCache.computeIfAbsent(ComputingCache.java:69)
      	at io.quarkus.arc.impl.AbstractSharedContext.get(AbstractSharedContext.java:26)
      	at io.quarkus.arc.impl.ClientProxies.getApplicationScopedDelegate(ClientProxies.java:17)
      	at org.kie.kogito.HelloProcess_ClientProxy.arc$delegate(HelloProcess_ClientProxy.zig:67)
      	at org.kie.kogito.HelloProcess_ClientProxy.arc_contextualInstance(HelloProcess_ClientProxy.zig:82)
      	at org.kie.kogito.HelloProcess_Observer_Synthetic_d70cd75bf32ab6598217b9a64a8473d65e248c05.notify(HelloProcess_Observer_Synthetic_d70cd75bf32ab6598217b9a64a8473d65e248c05.zig:94)
      	at io.quarkus.arc.impl.EventImpl$Notifier.notifyObservers(EventImpl.java:300)
      	at io.quarkus.arc.impl.EventImpl$Notifier.notify(EventImpl.java:282)
      	at io.quarkus.arc.impl.EventImpl.fire(EventImpl.java:70)
      	at io.quarkus.arc.runtime.ArcRecorder.fireLifecycleEvent(ArcRecorder.java:128)
      	at io.quarkus.arc.runtime.ArcRecorder.handleLifecycleEvents(ArcRecorder.java:97)
      	at io.quarkus.deployment.steps.LifecycleEventsBuildStep$startupEvent1144526294.deploy_0(LifecycleEventsBuildStep$startupEvent1144526294.zig:87)
      	at io.quarkus.deployment.steps.LifecycleEventsBuildStep$startupEvent1144526294.deploy(LifecycleEventsBuildStep$startupEvent1144526294.zig:40)
      	at io.quarkus.runner.ApplicationImpl.doStart(ApplicationImpl.zig:623)
      	at io.quarkus.runtime.Application.start(Application.java:101)
      	at io.quarkus.runtime.ApplicationLifecycleManager.run(ApplicationLifecycleManager.java:101)
      	at io.quarkus.runtime.Quarkus.run(Quarkus.java:66)
      	at io.quarkus.runtime.Quarkus.run(Quarkus.java:42)
      	at io.quarkus.runtime.Quarkus.run(Quarkus.java:119)
      	at io.quarkus.runner.GeneratedMain.main(GeneratedMain.zig:29)
      Caused by: java.lang.NullPointerException
      	at org.kie.kogito.persistence.postgresql.PostgreProcessInstances.getQueryFromFile(PostgreProcessInstances.java:337)
      	... 34 more
      2021-06-17 13:26:13,735 INFO  [io.quarkus] (main) integration-tests-quarkus-processes-postgresql 2.0.0-SNAPSHOT native (powered by Quarkus 2.0.0.CR3) started in 0.035s. Listening on: http://0.0.0.0:39259
      2021-06-17 13:26:13,735 INFO  [io.quarkus] (main) Profile native activated. 
      2021-06-17 13:26:13,735 INFO  [io.quarkus] (main) Installed features: [cdi, kogito-decisions, kogito-predictions, kogito-processes, kogito-rules, reactive-pg-client, resteasy, resteasy-jackson, servlet, smallrye-context-propagation, vertx]
      2021-06-17 13:26:15,955 INFO  [org.kie.kog.HelloService] (executor-thread-0) HelloService.hello invoked with params: [Tiago]
      2021-06-17 13:26:15,957 ERROR [io.und.req.io] (executor-thread-0) Exception handling request b5082a5b-6b83-4a44-a477-bbeed95561e0-1 to /hello: org.jboss.resteasy.spi.UnhandledException: org.kie.kogito.serialization.process.ProcessInstanceMarshallerException: Error while marshalling process instance
      	at org.jboss.resteasy.core.ExceptionHandler.handleApplicationException(ExceptionHandler.java:106)
      	at org.jboss.resteasy.core.ExceptionHandler.handleException(ExceptionHandler.java:372)
      	at org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:218)
      	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:519)
      	at org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:261)
      	at org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:161)
      	at org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:364)
      	at org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:164)
      	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:247)
      	at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:249)
      	at io.quarkus.resteasy.runtime.ResteasyFilter.doFilter(ResteasyFilter.java:35)
      	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
      	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
      	at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
      	at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:63)
      	at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
      	at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
      	at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:67)
      	at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:133)
      	at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
      	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      	at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
      	at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:65)
      	at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
      	at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
      	at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
      	at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
      	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      	at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:247)
      	at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:56)
      	at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:111)
      	at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:108)
      	at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
      	at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
      	at io.quarkus.undertow.runtime.UndertowDeploymentRecorder$9$1.call(UndertowDeploymentRecorder.java:587)
      	at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:227)
      	at io.undertow.servlet.handlers.ServletInitialHandler.handleRequest(ServletInitialHandler.java:152)
      	at io.quarkus.undertow.runtime.UndertowDeploymentRecorder$1.handleRequest(UndertowDeploymentRecorder.java:119)
      	at io.undertow.server.Connectors.executeRootHandler(Connectors.java:290)
      	at io.undertow.server.DefaultExchangeHandler.handle(DefaultExchangeHandler.java:18)
      	at io.quarkus.undertow.runtime.UndertowDeploymentRecorder$5$1.run(UndertowDeploymentRecorder.java:413)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:264)
      	at io.quarkus.vertx.core.runtime.VertxCoreRecorder$14.runWith(VertxCoreRecorder.java:481)
      	at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2442)
      	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1476)
      	at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29)
      	at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29)
      	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
      	at java.lang.Thread.run(Thread.java:829)
      	at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:553)
      	at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:192)
      Caused by: org.kie.kogito.serialization.process.ProcessInstanceMarshallerException: Error while marshalling process instance
      	at org.kie.kogito.serialization.process.ProcessInstanceMarshallerService.marshallProcessInstance(ProcessInstanceMarshallerService.java:111)
      	at org.kie.kogito.persistence.postgresql.PostgreProcessInstances.create(PostgreProcessInstances.java:92)
      	at org.kie.kogito.process.impl.AbstractProcessInstance.lambda$start$0(AbstractProcessInstance.java:226)
      	at org.kie.kogito.services.uow.ProcessInstanceWorkUnit.perform(ProcessInstanceWorkUnit.java:47)
      	at org.kie.kogito.services.uow.CollectingUnitOfWork.end(CollectingUnitOfWork.java:62)
      	at org.kie.kogito.services.uow.ManagedUnitOfWork.end(ManagedUnitOfWork.java:51)
      	at org.kie.kogito.services.uow.UnitOfWorkExecutor.executeInUnitOfWork(UnitOfWorkExecutor.java:34)
      	at org.kie.kogito.process.impl.ProcessServiceImpl.createProcessInstance(ProcessServiceImpl.java:58)
      	at org.kie.kogito.HelloResource.createResource_hello(HelloResource.java:72)
      	at org.kie.kogito.HelloResource_ClientProxy.createResource_hello(HelloResource_ClientProxy.zig:171)
      	at java.lang.reflect.Method.invoke(Method.java:566)
      	at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:170)
      	at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:130)
      	at org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget(ResourceMethodInvoker.java:646)
      	at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter(ResourceMethodInvoker.java:510)
      	at org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invokeOnTarget$2(ResourceMethodInvoker.java:460)
      	at org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:364)
      	at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:462)
      	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:420)
      	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:394)
      	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:69)
      	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:492)
      	... 49 more
      Caused by: org.kie.kogito.serialization.process.ProcessInstanceMarshallerException: No marshaller found for class java.lang.String
      	at org.kie.kogito.serialization.process.impl.ProtobufAbstractMarshallerContext.findMarshaller(ProtobufAbstractMarshallerContext.java:66)
      	at org.kie.kogito.serialization.process.impl.ProtobufAbstractMarshallerContext.findObjectMarshallerStrategyFor(ProtobufAbstractMarshallerContext.java:48)
      	at org.kie.kogito.serialization.process.impl.ProtobufVariableWriter.buildVariables(ProtobufVariableWriter.java:51)
      	at org.kie.kogito.serialization.process.impl.ProtobufProcessInstanceWriter.buildWorkflowContext(ProtobufProcessInstanceWriter.java:195)
      	at org.kie.kogito.serialization.process.impl.ProtobufProcessInstanceWriter.writeProcessInstance(ProtobufProcessInstanceWriter.java:146)
      	at org.kie.kogito.serialization.process.impl.ProtobufProcessInstanceMarshaller.writeProcessInstance(ProtobufProcessInstanceMarshaller.java:39)
      	at org.kie.kogito.serialization.process.ProcessInstanceMarshallerService.marshallProcessInstance(ProcessInstanceMarshallerService.java:108)
      	... 70 more
      Request method:	POST
      Request URI:	http://localhost:39259/hello
      Proxy:			<none>
      Request params:	<none>
      Query params:	<none>
      Form params:	<none>
      Path params:	<none>
      Headers:		Accept=*/*
      				Content-Type=application/json
      Cookies:		<none>
      Multiparts:		<none>
      Body:
      {
          "var1": "Tiago"
      }
      HTTP/1.1 500 Internal Server Error
      Content-Type: text/html;charset=UTF-8
      Content-Length: 3180
      <html lang="en">
        <head>
          <title>Internal Server Error - org.kie.kogito.serialization.process.ProcessInstanceMarshallerException: Error while marshalling process instanceError id b5082a5b-6b83-4a44-a477-bbeed95561e0-1</title>
          <meta charset="utf-8"/>
          <style>
      html, body {
          margin: 0;
          padding: 0;
          font-family: 'Open Sans', Helvetica, Arial, sans-serif;
          font-size: 100%;
          font-weight: 100;
          line-height: 1.4;
      }
      html {
          overflow-y: scroll;
      }
      body {
          background: #f9f9f9;
      }
      .container {
          width: 80%;
          margin: 0 auto;
      }
      .content {
          padding: 1em 0 1em 0;
      }
      header, .component-name {
          background-color: #ad1c1c;
      }
      ul {
          line-height: 1.5rem;
          margin: 0.25em 0 0.25em 0;
      }
      .exception-message {
          background: #be2828;
      }
      h1, h2 {
          margin: 0;
          padding: 0;
      }
      h1 {
          font-size: 2rem;
          color: #fff;
          line-height: 3.75rem;
          font-weight: 700;
          padding: 0.4rem 0rem 0.4rem 0rem;
      }
      h2 {
          font-size: 1.2rem;
          color: rgba(255, 255, 255, 0.85);
          line-height: 2.5rem;
          font-weight: 400;
          padding: 0.4rem 0rem 0.4rem 0rem;
      }
      .intro {    font-size: 1.2rem;
          font-weight: 400;
          margin: 0.25em 0 1em 0;
      }
      h3 {
          font-size: 1.2rem;
          line-height: 2.5rem;
          font-weight: 400;
          color: #555;
          margin: 0.25em 0 0.25em 0;
      }
      .trace, .resources {
          background: #fff;
          padding: 15px;
          margin: 15px auto;
          border: 1px solid #ececec;
      }
      .trace {
          overflow-y: scroll;
      }
      .hidden {
         display: none;
      }
      pre {
          white-space: pre;
          font-family: Consolas, Monaco, Menlo, "Ubuntu Mono", "Liberation Mono", monospace;
          font-size: 12px;
          line-height: 1.5;
          color: #555;
      }
      </style>
          <script>
      	function toggleStackTraceOrder() {
      		var stElement = document.getElementById('stacktrace');
      		var current = stElement.getAttribute('data-current-setting');
      		if (current == 'original-stacktrace') {
      			var reverseOrder = document.getElementById('reversed-stacktrace');
      			stElement.innerHTML = reverseOrder.innerHTML;
      			stElement.setAttribute('data-current-setting', 'reversed-stacktrace');
      		} else {
      			var originalOrder = document.getElementById('original-stacktrace');
      			stElement.innerHTML = originalOrder.innerHTML;
      			stElement.setAttribute('data-current-setting', 'original-stacktrace');
      		}
      		return;
      	}
      	function showDefaultStackTraceOrder() {
      		var reverseOrder = document.getElementById('reversed-stacktrace');
      		var stElement = document.getElementById('stacktrace');
             if (reverseOrder == null || stElement == null) {
                 return;
             }
      		// default to reverse ordered stacktrace
      		stElement.innerHTML = reverseOrder.innerHTML;
      		stElement.setAttribute('data-current-setting', 'reversed-stacktrace');
      		return;
      	}
      </script>
        </head>
        <body onload="showDefaultStackTraceOrder()">
          <header>
            <h1 class="container">Internal Server Error</h1>
            <div class="exception-message">
              <h2 class="container">org.kie.kogito.serialization.process.ProcessInstanceMarshallerException: Error while marshalling process instanceError id b5082a5b-6b83-4a44-a477-bbeed95561e0-1</h2>
            </div>
          </header>
          <div class="container content"/>
        </body>
      </html>
      

      Attachments

        Issue Links

          Activity

            People

              cnicolai@redhat.com Cristiano Nicolai
              evacchi Edoardo Vacchi
              Marian Macik Marian Macik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: