<?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 Activiti report generation error  in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/activiti-report-generation-error/m-p/4743#M2203</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to Activiti and was trying to generate report for a workflow I created. The workflow is working fine. To add reporting feature, I made the following two changes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Added ' targetNamespace="activiti-report" ' to the .bpmn file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;definitions xmlns="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.omg.org/spec/BPMN/20100524/MODEL" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.omg.org/spec/BPMN/20100524/MODEL&lt;/A&gt;&lt;SPAN&gt;" &amp;nbsp;&amp;nbsp;&amp;nbsp;xmlns:xsi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;SPAN&gt;" xmlns:xsd="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;&lt;SPAN&gt;" &amp;nbsp;&amp;nbsp;&amp;nbsp;xmlns:activiti="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://activiti.org/bpmn" rel="nofollow noopener noreferrer" target="_blank"&gt;http://activiti.org/bpmn&lt;/A&gt;&lt;SPAN&gt;" xmlns:bpmndi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.omg.org/spec/BPMN/20100524/DI" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.omg.org/spec/BPMN/20100524/DI&lt;/A&gt;&lt;SPAN&gt;" &amp;nbsp;&amp;nbsp;&amp;nbsp;xmlns&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;mgdc="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.omg.org/spec/DD/20100524/DC" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.omg.org/spec/DD/20100524/DC&lt;/A&gt;&lt;SPAN&gt;" xmlns&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;mgdi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.omg.org/spec/DD/20100524/DI" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.omg.org/spec/DD/20100524/DI&lt;/A&gt;&lt;SPAN&gt;" &amp;nbsp;&amp;nbsp;&amp;nbsp;typeLanguage="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;&lt;SPAN&gt;" expressionLanguage="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/1999/XPath" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.w3.org/1999/XPath&lt;/A&gt;&lt;SPAN&gt;" &amp;nbsp;&amp;nbsp;&amp;nbsp;targetNamespace="activiti-report"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Added a variable called reportData which is assigned a JSON object converted to string in a Java service task.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; JSONObject obj = new JSONObject();&lt;BR /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;obj.put("name", "939");&lt;BR /&gt;&amp;nbsp; &amp;nbsp; obj.put("FinalFAF", new Double(0.21));&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; obj.put("Random", reportData);&lt;BR /&gt; &lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; // Storing the json as process variable&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; execution.setVariable("reportData", new java.lang.String(obj.toString()).getBytes("UTF-8"));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when I deploy my project in Activiti explorer, I am able to see my project in the reports tab. But on clicking on the generate report tab is gives the following error:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Invocation of method componentEvent in org.activiti.ui.reports.ReportDetailPanel$2 failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also attaching a screenshot of my apache tomcat window.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody please help.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Jan 2017 05:27:53 GMT</pubDate>
    <dc:creator>jeenut</dc:creator>
    <dc:date>2017-01-31T05:27:53Z</dc:date>
    <item>
      <title>Activiti report generation error</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-report-generation-error/m-p/4743#M2203</link>
      <description>Hi all,I am new to Activiti and was trying to generate report for a workflow I created. The workflow is working fine. To add reporting feature, I made the following two changes:1. Added ' targetNamespace="activiti-report" ' to the .bpmn file.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;definitions xmlns="http://www.omg.org/spec/BPMN/20</description>
      <pubDate>Tue, 31 Jan 2017 05:27:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-report-generation-error/m-p/4743#M2203</guid>
      <dc:creator>jeenut</dc:creator>
      <dc:date>2017-01-31T05:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti report generation error</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-report-generation-error/m-p/4744#M2204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There will be a stack trace, please add it to the thread.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 13:52:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-report-generation-error/m-p/4744#M2204</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-01-31T13:52:39Z</dc:date>
    </item>
  </channel>
</rss>

