ru.runa.wfe.InternalApplicationException: Variable 'currentDate' is not defined in process definition and setting 'undefined.variables.allowed'=false

runawfe | gritsenko_s | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    SQLException: After end of result set

    runawfe | 3 years ago | gritsenko_s
    ru.runa.wfe.InternalApplicationException: Variable 'currentDate' is not defined in process definition and setting 'undefined.variables.allowed'=false
  2. 0

    Возникает ошибка при создании переменных через API, если их явно не объявить в БП

    runawfe | 4 years ago | kzn_sofit
    ru.runa.wfe.InternalApplicationException: Variable 'rowid' is not defined in process definition and setting 'undefined.variables.allowed' =false
  3. 0

    Внешнее хранилище данных не работает с формальными параметрами

    runawfe | 2 years ago | vromav
    ru.runa.wfe.InternalApplicationException: Variable 'str' is not defined in process definition and setting 'undefined.variables.allowed'=false
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. ru.runa.wfe.InternalApplicationException

      Variable 'currentDate' is not defined in process definition and setting 'undefined.variables.allowed'=false

      at ru.runa.wfe.execution.ExecutionContext.setVariable()
    2. ru.runa.wfe
      ExecutionServiceBean.completeTask
      1. ru.runa.wfe.execution.ExecutionContext.setVariable(ExecutionContext.java:164)
      2. ru.runa.wfe.execution.ExecutionContext.setVariables(ExecutionContext.java:207)
      3. ru.runa.wfe.task.logic.TaskLogic.completeTask(TaskLogic.java:89)
      4. ru.runa.wfe.service.impl.ExecutionServiceBean.completeTask(ExecutionServiceBean.java:194)
      4 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor434.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    4. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
      1 frame
    5. org.jboss.ejb3
      InvocationContextImpl.proceed
      1. org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
      1 frame
    6. ru.runa.wfe
      EjbTransactionSupport.process
      1. ru.runa.wfe.service.interceptors.EjbTransactionSupport.invokeWithRetry(EjbTransactionSupport.java:67)
      2. ru.runa.wfe.service.interceptors.EjbTransactionSupport.process(EjbTransactionSupport.java:46)
      2 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor169.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    8. org.jboss.ejb3
      InvocationContextImpl.proceed
      1. org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
      1 frame
    9. ru.runa.wfe
      PerformanceObserver.process
      1. ru.runa.wfe.service.interceptors.PerformanceObserver.process(PerformanceObserver.java:15)
      1 frame
    10. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor170.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    11. org.jboss.ejb3
      InvocationContextImpl.proceed
      1. org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
      1 frame
    12. ru.runa.wfe
      EjbExceptionSupport.process
      1. ru.runa.wfe.service.interceptors.EjbExceptionSupport.process(EjbExceptionSupport.java:42)
      1 frame
    13. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor168.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    14. org.jboss.ejb3
      EJB3InterceptorsInterceptor.invoke
      1. org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
      2. org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
      2 frames
    15. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      1 frame
    16. org.jboss.ejb3
      TransactionScopedEntityManagerInterceptor.invoke
      1. org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
      1 frame
    17. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      1 frame
    18. org.jboss.ejb3
      AllowedOperationsInterceptor.invoke
      1. org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
      1 frame
    19. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      1 frame
    20. org.jboss.ejb3
      BMTInterceptor.invoke
      1. org.jboss.ejb3.tx.BMTInterceptor.handleStateless(BMTInterceptor.java:71)
      2. org.jboss.ejb3.tx.BMTInterceptor.invoke(BMTInterceptor.java:131)
      2 frames
    21. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      1 frame
    22. org.jboss.aspects
      TxPropagationInterceptor.invoke
      1. org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)
      1 frame
    23. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      1 frame
    24. org.jboss.ejb3
      StatelessInstanceInterceptor.invoke
      1. org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
      1 frame
    25. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      1 frame
    26. org.jboss.aspects
      AuthenticationInterceptor.invoke
      1. org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
      1 frame
    27. org.jboss.ejb3
      Ejb3AuthenticationInterceptor.invoke
      1. org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)
      1 frame
    28. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      1 frame
    29. org.jboss.ejb3
      ENCPropagationInterceptor.invoke
      1. org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
      1 frame
    30. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      1 frame
    31. org.jboss.ejb3
      AsynchronousInterceptor.invoke
      1. org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
      1 frame
    32. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      1 frame
    33. org.jboss.ejb3
      StatelessLocalProxy.invoke
      1. org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:240)
      2. org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:210)
      3. org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:84)
      3 frames
    34. com.sun.proxy
      $Proxy100.completeTask
      1. com.sun.proxy.$Proxy100.completeTask(Unknown Source)
      1 frame
    35. ru.runa.wfe
      ExecutionServiceDelegate.completeTask
      1. ru.runa.wfe.service.delegate.ExecutionServiceDelegate.completeTask(ExecutionServiceDelegate.java:170)
      1 frame
    36. ru.runa.wf
      WorkflowBotTaskExecutor.run
      1. ru.runa.wf.logic.bot.WorkflowBotTaskExecutor.doHandle(WorkflowBotTaskExecutor.java:186)
      2. ru.runa.wf.logic.bot.WorkflowBotTaskExecutor.run(WorkflowBotTaskExecutor.java:212)
      2 frames
    37. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:166)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
      5. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
      6. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      7. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      8. java.lang.Thread.run(Thread.java:724)
      8 frames