Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-4984

Historic Decision Input/Output Instance cannot handle serialized Values

XMLWordPrintable

      See test case:
      https://github.com/camunda/camunda-bpm-platform/commit/8b2e8b6e1be40a9b2f8b9df946edf8778d0b8779

      Currently an exception is throw while determining the type of the variable instance:

      org.camunda.bpm.engine.ProcessEngineException: ENGINE-03040 No serializer defined for variable instance 'org.camunda.bpm.engine.impl.persistence.entity.util.TypedValueField@6883fde6'
      
      	at org.camunda.bpm.engine.impl.db.EnginePersistenceLogger.serializerNotDefinedException(EnginePersistenceLogger.java:373)
      	at org.camunda.bpm.engine.impl.persistence.entity.util.TypedValueField.ensureSerializerInitialized(TypedValueField.java:177)
      	at org.camunda.bpm.engine.impl.persistence.entity.util.TypedValueField.getSerializer(TypedValueField.java:169)
      	at org.camunda.bpm.engine.impl.persistence.entity.util.TypedValueField.getTypeName(TypedValueField.java:209)
      	at org.camunda.bpm.engine.impl.history.event.HistoricDecisionInputInstanceEntity.getTypeName(HistoricDecisionInputInstanceEntity.java:72)
      	at org.camunda.bpm.engine.impl.history.event.HistoricDecisionInstanceManager.isBinaryValue(HistoricDecisionInstanceManager.java:153)
      	at org.camunda.bpm.engine.impl.history.event.HistoricDecisionInstanceManager.appendHistoricDecisionInputInstances(HistoricDecisionInstanceManager.java:141)
      	at org.camunda.bpm.engine.impl.history.event.HistoricDecisionInstanceManager.findHistoricDecisionInstancesByQueryCriteria(HistoricDecisionInstanceManager.java:119)
      	at org.camunda.bpm.engine.impl.HistoricDecisionInstanceQueryImpl.executeList(HistoricDecisionInstanceQueryImpl.java:160)
      	at org.camunda.bpm.engine.impl.AbstractQuery.evaluateExpressionsAndExecuteList(AbstractQuery.java:186)
      	at org.camunda.bpm.engine.impl.AbstractQuery.executeSingleResult(AbstractQuery.java:207)
      	at org.camunda.bpm.engine.impl.AbstractQuery.execute(AbstractQuery.java:167)
      	at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)
      	at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:98)
      	at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:30)
      	at org.camunda.bpm.engine.impl.AbstractQuery.singleResult(AbstractQuery.java:130)
      	at org.camunda.spin.plugin.variables.JsonDecisionInputTest.test(JsonDecisionInputTest.java:40)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at junit.framework.TestCase.runTest(TestCase.java:176)
      	at junit.framework.TestCase.runBare(TestCase.java:141)
      	at org.camunda.bpm.engine.impl.test.AbstractProcessEngineTestCase.runBare(AbstractProcessEngineTestCase.java:99)
      	at junit.framework.TestResult$1.protect(TestResult.java:122)
      	at junit.framework.TestResult.runProtected(TestResult.java:142)
      	at junit.framework.TestResult.run(TestResult.java:125)
      	at junit.framework.TestCase.run(TestCase.java:129)
      	at junit.framework.TestSuite.runTest(TestSuite.java:255)
      	at junit.framework.TestSuite.run(TestSuite.java:250)
      	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
      	at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
      	at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:117)
      	at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
      	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
      

        This is the controller panel for Smart Panels app

              roman.smirnov Roman Smirnov
              sebastian.menski Sebastian Menski
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: