Hi all
Looking for help. we are receiving a Null pointer exception when a message is send to trigger the workflow in Activity. We also added extensive logging. This happens intermittently not all the time. We can reproduce this even with out any load in the system and just by running one request. We are using websphere 7 and Activiti 5.11.
~java.lang.NullPointerException
at java.lang.String.replace(String.java:1907)
at com.bnymellon.equinox.dao.GenericWorkflowDAOImpl.generateRequestXml(GenericWorkflowDAOImpl.java:197)
at com.bnymellon.equinox.dao.GenericWorkflowDAOImpl.getRequestMsgAttributes(GenericWorkflowDAOImpl.java:100)
at com.bnymellon.equinox.service.GenericWorkflowServiceImpl.getRequestMsgAttributes(GenericWorkflowServiceImpl.java:57)
at com.bnymellon.equinox.service.GenericWorkflowServiceImpl$$FastClassByCGLIB$$d0c5e526.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:698)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:631)
at com.bnymellon.equinox.service.GenericWorkflowServiceImpl$$EnhancerByCGLIB$$d804529f.getRequestMsgAttributes()
at com.bnymellon.equinox.workflow.fileParsing.PostFileParseRequestDelegate.execute(PostFileParseRequestDelegate.java:63)
at org.activiti.engine.impl.delegate.JavaDelegateInvocation.invoke(JavaDelegateInvocation.java:34)
at org.activiti.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:37)
at org.activiti.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:25)
at org.activiti.engine.impl.bpmn.behavior.ServiceTaskDelegateExpressionActivityBehavior.execute(ServiceTaskDelegateExpressionActivityBehavior.java:74)
at org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute.execute(AtomicOperationActivityExecute.java:44)
Details:
### Error updating database. Cause: java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column
### The error may involve org.activiti.engine.impl.persistence.entity.VariableInstanceEntity.insertVariableInstance-Inline
### The error occurred while setting parameters
### SQL: insert into ACT_RU_VARIABLE (ID_, REV_, TYPE_, NAME_, PROC_INST_ID_, EXECUTION_ID_, TASK_ID_, BYTEARRAY_ID_, DOUBLE_, LONG_ , TEXT_, TEXT2_) values ( ?, 1, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
### Cause: java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column
:java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column
Thanks