snakerflow-starter / snakerflow-spring-boot-starter

基于开源SnakerFlow工作流引擎,将其和springboot进行整合成为一个能够快速工程应用的轻量级工作流引擎组件,适用于常见的业务审批流程。本着轻量、简单、灵巧理念设计,定位于简单集成,多环境支持。
571 stars 173 forks source link

org.snaker.engine.model.ProcessModel Serialization By FastJson Err: #4

Closed FictionDk closed 3 years ago

FictionDk commented 4 years ago

org.snaker.engine.model.ProcessModel使用FastJson序列化会报错;Expected ',' instead of ''

exception [Handler dispatch failed; nested exception is java.lang.StackOverflowError] with root cause
java.lang.StackOverflowError: null
    at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:72)
    at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.alibaba.fastjson.util.FieldInfo.get(FieldInfo.java:492)
    at com.alibaba.fastjson.serializer.FieldSerializer.getPropertyValue(FieldSerializer.java:148)
    at com.alibaba.fastjson.serializer.JavaBeanSerializer.getFieldValuesMap(JavaBeanSerializer.java:763)

使用 FastJson 序列化org.snaker.engine.DBAccess.public Process getProcess(String id)返回的Process包含ProcessModel字段.返回异常

bigfish1129 commented 3 years ago

可能是你的流程配置文件有点问题