<?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: Error in Java code tStatCatcher?  &amp;quot;scm cannot be resolved&amp;quot; in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Error-in-Java-code-tStatCatcher-quot-scm-cannot-be-resolved-quot/m-p/2306619#M78142</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;How did you resolve your issue? Did you re-create a new job with same job design?&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
    <pubDate>Tue, 04 Jul 2017 03:21:24 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-07-04T03:21:24Z</dc:date>
    <item>
      <title>Error in Java code tStatCatcher?  "scm cannot be resolved"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-in-Java-code-tStatCatcher-quot-scm-cannot-be-resolved-quot/m-p/2306614#M78137</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to set up the logging for my job, and I'm using the tStatCatcher.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, when I run the job, I get a syntax error &amp;nbsp;"scm cannot be resolved" while I did not use the term 'scm' anywhere myself.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After checking the Java code, it appears that when inserting the tStatCatcher, automatically this code is created that causes the problem:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for (StatCatcherUtils.StatCatcherMessage scm : tStatCatcher_1.getMessages()) {&lt;BR /&gt;row5.pid = pid;&lt;BR /&gt;row5.root_pid = rootPid;&lt;BR /&gt;row5.father_pid = fatherPid;&lt;BR /&gt;row5.project = projectName;&lt;BR /&gt;row5.job = jobName;&lt;BR /&gt;row5.context = contextStr;&lt;BR /&gt;row5.origin = (scm.getOrigin()==null || scm.getOrigin().length()&amp;lt;1 ? null : scm.getOrigin());&lt;BR /&gt;row5.message = scm.getMessage();&lt;BR /&gt;row5.duration = scm.getDuration();&lt;BR /&gt;row5.moment = scm.getMoment();&lt;BR /&gt;row5.message_type = scm.getMessageType();&lt;BR /&gt;row5.job_version = scm.getJobVersion();&lt;BR /&gt;row5.job_repository_id = scm.getJobId();&lt;BR /&gt;row5.system_pid = scm.getSystemPid();&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And the weird thing is, in other jobs that are set up similarly, this problem doesn't occur.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What did I do wrong, or what did I miss here? And how could it be solved?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you can help me!&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2017 17:12:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-in-Java-code-tStatCatcher-quot-scm-cannot-be-resolved-quot/m-p/2306614#M78137</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-30T17:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Java code tStatCatcher?  "scm cannot be resolved"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-in-Java-code-tStatCatcher-quot-scm-cannot-be-resolved-quot/m-p/2306615#M78138</link>
      <description>&lt;P&gt;Can you try either of these:&lt;/P&gt;
&lt;P&gt;1) Remove the tStatCatcher and see if it works&lt;/P&gt;
&lt;P&gt;2) Rename the job&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you put a screenshot of your job here?&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2017 17:25:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-in-Java-code-tStatCatcher-quot-scm-cannot-be-resolved-quot/m-p/2306615#M78138</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-30T17:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Java code tStatCatcher?  "scm cannot be resolved"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-in-Java-code-tStatCatcher-quot-scm-cannot-be-resolved-quot/m-p/2306616#M78139</link>
      <description>&lt;P&gt;Without the logging route the job works, so the error comes really from that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Renaming did not help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added a screenshot.&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LrEW"&gt;GetDigestKey.PNG&lt;/A&gt;</description>
      <pubDate>Fri, 30 Jun 2017 17:32:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-in-Java-code-tStatCatcher-quot-scm-cannot-be-resolved-quot/m-p/2306616#M78139</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-30T17:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Java code tStatCatcher?  "scm cannot be resolved"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-in-Java-code-tStatCatcher-quot-scm-cannot-be-resolved-quot/m-p/2306617#M78140</link>
      <description>&lt;P&gt;Can you post the entire error message, please?&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2017 19:04:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-in-Java-code-tStatCatcher-quot-scm-cannot-be-resolved-quot/m-p/2306617#M78140</guid>
      <dc:creator>cterenzi</dc:creator>
      <dc:date>2017-06-30T19:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Java code tStatCatcher?  "scm cannot be resolved"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-in-Java-code-tStatCatcher-quot-scm-cannot-be-resolved-quot/m-p/2306618#M78141</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your replies, but the problem solved itself. Quite frustrating, because now I still don't know what was the problem, but anyway.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2017 15:49:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-in-Java-code-tStatCatcher-quot-scm-cannot-be-resolved-quot/m-p/2306618#M78141</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-03T15:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Java code tStatCatcher?  "scm cannot be resolved"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-in-Java-code-tStatCatcher-quot-scm-cannot-be-resolved-quot/m-p/2306619#M78142</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;How did you resolve your issue? Did you re-create a new job with same job design?&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2017 03:21:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-in-Java-code-tStatCatcher-quot-scm-cannot-be-resolved-quot/m-p/2306619#M78142</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-04T03:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Java code tStatCatcher?  "scm cannot be resolved"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-in-Java-code-tStatCatcher-quot-scm-cannot-be-resolved-quot/m-p/2306620#M78143</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;No, I didn't do anything.. I just opened it again the next day and the issue disappeared.&lt;/P&gt; 
&lt;P&gt;It also seemed strange to me that a code generated by the program itself would give a problem.. but still.. would have been nice to know how to prevent this or to know how to really solve it.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2017 08:05:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-in-Java-code-tStatCatcher-quot-scm-cannot-be-resolved-quot/m-p/2306620#M78143</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-04T08:05:46Z</dc:date>
    </item>
  </channel>
</rss>

