Called sub-process results in Protobuf error

10 views
Skip to first unread message

Adrian Apthorp

unread,
Mar 31, 2021, 6:47:32 AM3/31/21
to Kogito development mailing list
I have a process which when run independently works fine. However if I call it from another process (i.e. a called sub-process) I get a Protobuf error when I perform the first task in the sub-process. This task updates the field which is shown in the Protobuf error.

The field exists in the protobuf schema for the sub-process.

infinispan_1          | 10:39:16,817 ERROR (blocking-thread--p3-t1) [org.jboss.threads.errors] Thread Thread[blocking-thread--p3-t1,5,ISPN-blocking-thread-group] threw an uncaught exception java.lang.IllegalStateException: The field 'accepted' was not found in the Protobuf schema
infinispan_1          |     at org.infinispan.protostream.ProtobufUtil.expectField(ProtobufUtil.java:332)
infinispan_1          |     at org.infinispan.protostream.ProtobufUtil.processObject(ProtobufUtil.java:436)
infinispan_1          |     at org.infinispan.protostream.ProtobufUtil.processJsonDocument(ProtobufUtil.java:357)
infinispan_1          |     at org.infinispan.protostream.ProtobufUtil.fromCanonicalJSON(ProtobufUtil.java:239)
infinispan_1          |     at org.infinispan.encoding.ProtostreamTranscoder.transcode(ProtostreamTranscoder.java:88)
infinispan_1          |     at org.infinispan.encoding.DataConversion.toStorage(DataConversion.java:223)
infinispan_1          |     at org.infinispan.cache.impl.EncoderCache.valueToStorage(EncoderCache.java:107)
infinispan_1          |     at org.infinispan.cache.impl.EncoderCache.putAsync(EncoderCache.java:456)
infinispan_1          |     at org.infinispan.server.hotrod.CacheRequestProcessor.putInternal(CacheRequestProcessor.java:178)
infinispan_1          |     at org.infinispan.server.hotrod.CacheRequestProcessor.lambda$put$4(CacheRequestProcessor.java:171)
infinispan_1          |     at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
infinispan_1          |     at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
infinispan_1          |     at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
infinispan_1          |     at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
infinispan_1          |     at java.base/java.lang.Thread.run(Thread.java:834)
infinispan_1     

Reply all
Reply to author
Forward
0 new messages