-
Notifications
You must be signed in to change notification settings - Fork 5k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
**For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx! **
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior, for example:
- create a process definition
- create a mysql query task
- export the process definition, we would get a empty json, and the log shows below:
[ERROR] 2021-07-20 00:12:26.280 org.apache.dolphinscheduler.api.controller.ProcessDefinitionController:[640] - batch export process definition by ids error
java.lang.ClassCastException: com.fasterxml.jackson.databind.node.POJONode cannot be cast to com.fasterxml.jackson.databind.node.ObjectNode
at org.apache.dolphinscheduler.api.utils.exportprocess.DataSourceParam.addExportSpecialParam(DataSourceParam.java:51)
at org.apache.dolphinscheduler.api.service.impl.ProcessDefinitionServiceImpl.addExportTaskNodeSpecialParam(ProcessDefinitionServiceImpl.java:728)
at org.apache.dolphinscheduler.api.service.impl.ProcessDefinitionServiceImpl.exportProcessMetaData(ProcessDefinitionServiceImpl.java:686)
at org.apache.dolphinscheduler.api.service.impl.ProcessDefinitionServiceImpl.getProcessDefinitionList(ProcessDefinitionServiceImpl.java:639)
at org.apache.dolphinscheduler.api.service.impl.ProcessDefinitionServiceImpl.batchExportProcessDefinitionByIds(ProcessDefinitionServiceImpl.java:621)
at org.apache.dolphinscheduler.api.service.impl.ProcessDefinitionServiceImpl$$FastClassBySpringCGLIB$$e8e34ed9.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:687)
at org.apache.dolphinscheduler.api.service.impl.ProcessDefinitionServiceImpl$$EnhancerBySpringCGLIB$$f87458f2.batchExportProcessDefinitionByIds(<generated>)
at org.apache.dolphinscheduler.api.controller.ProcessDefinitionController.batchExportProcessDefinitionByIds(ProcessDefinitionController.java:638)
at org.apache.dolphinscheduler.api.controller.ProcessDefinitionController$$FastClassBySpringCGLIB$$dc9bf5db.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:752)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88)
at org.apache.dolphinscheduler.api.aspect.AccessLogAspect.doAround(AccessLogAspect.java:86)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)Which version of Dolphin Scheduler:
latest dev branch
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working