cancel
Showing results for 
Search instead for 
Did you mean: 

Exception while invoking TaskListener: "java" is not defined

malekgn
Confirmed Champ
Confirmed Champ

Hello,

I have a workflow that works well on alfresco community 5.2
When I did the migration to Alfresco 7.4 community, I had an error on the taskListener:

ERROR [org.activiti.engine.impl.interceptor.CommandContext] [http-nio-8080-exec-3] 
Error while closing command context org.activiti.engine.ActivitiException: Exception while invoking TaskListener:
Exception while invoking TaskListener: 00230045 Failed to execute supplied script:
00230044 ReferenceError: "java" is not defined. (AlfrescoJS#2)

In the line 2, I have :

var myVar = new java.util.ArrayList();

For information, "new java.util.ArrayList()" works well on the executionListener.

Tanks Smiley Happy

1 REPLY 1

acsme
Champ in-the-making
Champ in-the-making

Hi! Did you get your problem solved?