<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Script Task exception serizlization in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/script-task-exception-serizlization/m-p/181998#M135128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, you are trying to serialize something that activiti doesnt know how to serialize as a process variable. In this case, it doesnt&amp;nbsp; know what to do with the native array. You can solve this by using java.util.Arraylist instead of the default js array here. Sadly, a limitation of the nashorn js engine and the jdk integration.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Nov 2014 22:08:00 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2014-11-19T22:08:00Z</dc:date>
    <item>
      <title>Script Task exception serizlization</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/script-task-exception-serizlization/m-p/181997#M135127</link>
      <description>hello,i've this scriptvar data =&amp;nbsp;&amp;nbsp; new Array();data[0]={"url":"ciao"};execution.setVariable("data", data);‍‍‍‍‍when executed, it raises and exceptionCaused by: org.activiti.engine.ActivitiException: couldn't find a variable type that is able to serialize jdk.nashorn.internal.objects.NativeArray@71e1</description>
      <pubDate>Tue, 11 Nov 2014 14:20:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/script-task-exception-serizlization/m-p/181997#M135127</guid>
      <dc:creator>esseti</dc:creator>
      <dc:date>2014-11-11T14:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Script Task exception serizlization</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/script-task-exception-serizlization/m-p/181998#M135128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, you are trying to serialize something that activiti doesnt know how to serialize as a process variable. In this case, it doesnt&amp;nbsp; know what to do with the native array. You can solve this by using java.util.Arraylist instead of the default js array here. Sadly, a limitation of the nashorn js engine and the jdk integration.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 22:08:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/script-task-exception-serizlization/m-p/181998#M135128</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-11-19T22:08:00Z</dc:date>
    </item>
  </channel>
</rss>

