<?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 [resolved] error with multiple tSendMails running simultaneously in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-error-with-multiple-tSendMails-running-simultaneously/m-p/2203116#M4564</link>
    <description>Ok, I set all the variables in tSetGlobalVar_1 (image 4). And each tFileList_# &amp;amp; tSendMail_# pair are identical, except for the named enumerated variables (set in tSetGlobalVar_1) (images 3 and 5). 
&lt;BR /&gt; 
&lt;BR /&gt;I'm only getting emails, indicating failures, for 11 of the 13 activated tSendMails. Since I know that none of the files I'm looking for exist, right now, I know I should be getting 13 emails. 
&lt;BR /&gt;Also, it varies which tSendMail_# component throws the error - which makes me think that two of the tSendMail components are trying to run at the exact same time, which is causing one of them to fail. 
&lt;BR /&gt; 
&lt;BR /&gt;this is the error I'm getting (image 2), when the job actually completes: 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Exception in component tSendMail_11&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt; at javax.mail.internet.InternetAddress.parse(InternetAddress.java:595)&lt;BR /&gt; at javax.mail.internet.InternetAddress.parse(InternetAddress.java:555)&lt;BR /&gt; at javax.mail.internet.InternetAddress.&amp;lt;init&amp;gt;(InternetAddress.java:91)&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch.tSendMail_11Process(IMDI_BB_Batch.java:859)&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch.tFileList_11_error(IMDI_BB_Batch.java:139)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)&lt;BR /&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)&lt;BR /&gt; at java.lang.reflect.Method.invoke(Unknown Source)&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch$TalendException.printStackTrace(IMDI_BB_Batch.java:97)&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch$15.run(IMDI_BB_Batch.java:3658)&lt;BR /&gt;Job IMDI_BB_Batch ended at 17:05 01/04/2008. &lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Also, occasionally I'll get this set of errors, and the job won't end, I have to kill it to get it to stop. (image 6) 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;?&lt;BR /&gt;Exception in component tSendMail_13&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt; at javax.mail.internet.InternetAddress.parse(InternetAddress.java:595)&lt;BR /&gt; at javax.mail.internet.InternetAddress.parse(InternetAddress.java:555)&lt;BR /&gt; at javax.mail.internet.InternetAddress.&amp;lt;init&amp;gt;(InternetAddress.java:91)&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch.tSendMail_13Process(IMDI_BB_Batch.java:1315)&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch.tFileList_13_error(IMDI_BB_Batch.java:177)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)&lt;BR /&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)&lt;BR /&gt; at java.lang.reflect.Method.invoke(Unknown Source)&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch$TalendException.printStackTrace(IMDI_BB_Batch.java:97)&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch$17.run(IMDI_BB_Batch.java:3730)&lt;BR /&gt;Exception in component tSendMail_14&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt; at javax.mail.internet.InternetAddress.parse(InternetAddress.java:595)&lt;BR /&gt; at javax.mail.internet.InternetAddress.parse(InternetAddress.java:555)&lt;BR /&gt; at javax.mail.internet.InternetAddress.&amp;lt;init&amp;gt;(InternetAddress.java:91)&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch.tSendMail_14Process(IMDI_BB_Batch.java:1543)&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch.tFileList_14_error(IMDI_BB_Batch.java:196)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)&lt;BR /&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)&lt;BR /&gt; at java.lang.reflect.Method.invoke(Unknown Source)&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch$TalendException.printStackTrace(IMDI_BB_Batch.java:97)&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch$18.run(IMDI_BB_Batch.java:3766)&lt;BR /&gt;Exception in component tSendMail_10&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt; at javax.mail.internet.InternetAddress.parse(InternetAddress.java:595)&lt;BR /&gt; at javax.mail.internet.InternetAddress.parse(InternetAddress.java:555)&lt;BR /&gt; at javax.mail.internet.InternetAddress.&amp;lt;init&amp;gt;(InternetAddress.java:91)&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch.tSendMail_10Process(IMDI_BB_Batch.java:631)&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch.tFileList_10_error(IMDI_BB_Batch.java:120)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)&lt;BR /&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)&lt;BR /&gt; at java.lang.reflect.Method.invoke(Unknown Source)&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch$TalendException.printStackTrace(IMDI_BB_Batch.java:97)&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch$14.run(IMDI_BB_Batch.java:3622)&lt;BR /&gt;?&lt;BR /&gt;Exception in thread "Thread-11" java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch$25.run(IMDI_BB_Batch.java:4024)&lt;BR /&gt;Exception in thread "Thread-12" java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch$26.run(IMDI_BB_Batch.java:4060)&lt;BR /&gt;Exception in thread "Thread-0" java.lang.NullPointerException&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch$14.run(IMDI_BB_Batch.java:3636)&lt;BR /&gt;Exception in thread "Thread-4" Exception in thread "Thread-7" java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch$21.run(IMDI_BB_Batch.java:3880)&lt;BR /&gt;Exception in thread "Thread-10" java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch$24.run(IMDI_BB_Batch.java:3988)&lt;BR /&gt;Exception in thread "Thread-9" java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch$23.run(IMDI_BB_Batch.java:3952)&lt;BR /&gt;Exception in thread "Thread-8" java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch$22.run(IMDI_BB_Batch.java:3916)&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch$18.run(IMDI_BB_Batch.java:3780)&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;I will get both types of errors in sucessive runs, when no changes have been made to the job. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MC0y.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139767i2FDB25F3B7564CD1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MC0y.jpg" alt="0683p000009MC0y.jpg" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MC13.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156814i549931FA0352076B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MC13.jpg" alt="0683p000009MC13.jpg" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MC1D.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139531i431099D7B1A281F3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MC1D.jpg" alt="0683p000009MC1D.jpg" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MC1I.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155625i089DB642888DF4EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MC1I.jpg" alt="0683p000009MC1I.jpg" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MC1N.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142983i37537EA2FA84A2A0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MC1N.jpg" alt="0683p000009MC1N.jpg" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBgg.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139785i4309C4E6617D25C3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBgg.jpg" alt="0683p000009MBgg.jpg" /&gt;&lt;/span&gt;</description>
    <pubDate>Sat, 16 Nov 2024 14:24:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T14:24:29Z</dc:date>
    <item>
      <title>[resolved] error with multiple tSendMails running simultaneously</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-error-with-multiple-tSendMails-running-simultaneously/m-p/2203116#M4564</link>
      <description>Ok, I set all the variables in tSetGlobalVar_1 (image 4). And each tFileList_# &amp;amp; tSendMail_# pair are identical, except for the named enumerated variables (set in tSetGlobalVar_1) (images 3 and 5). 
&lt;BR /&gt; 
&lt;BR /&gt;I'm only getting emails, indicating failures, for 11 of the 13 activated tSendMails. Since I know that none of the files I'm looking for exist, right now, I know I should be getting 13 emails. 
&lt;BR /&gt;Also, it varies which tSendMail_# component throws the error - which makes me think that two of the tSendMail components are trying to run at the exact same time, which is causing one of them to fail. 
&lt;BR /&gt; 
&lt;BR /&gt;this is the error I'm getting (image 2), when the job actually completes: 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Exception in component tSendMail_11&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt; at javax.mail.internet.InternetAddress.parse(InternetAddress.java:595)&lt;BR /&gt; at javax.mail.internet.InternetAddress.parse(InternetAddress.java:555)&lt;BR /&gt; at javax.mail.internet.InternetAddress.&amp;lt;init&amp;gt;(InternetAddress.java:91)&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch.tSendMail_11Process(IMDI_BB_Batch.java:859)&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch.tFileList_11_error(IMDI_BB_Batch.java:139)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)&lt;BR /&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)&lt;BR /&gt; at java.lang.reflect.Method.invoke(Unknown Source)&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch$TalendException.printStackTrace(IMDI_BB_Batch.java:97)&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch$15.run(IMDI_BB_Batch.java:3658)&lt;BR /&gt;Job IMDI_BB_Batch ended at 17:05 01/04/2008. &lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Also, occasionally I'll get this set of errors, and the job won't end, I have to kill it to get it to stop. (image 6) 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;?&lt;BR /&gt;Exception in component tSendMail_13&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt; at javax.mail.internet.InternetAddress.parse(InternetAddress.java:595)&lt;BR /&gt; at javax.mail.internet.InternetAddress.parse(InternetAddress.java:555)&lt;BR /&gt; at javax.mail.internet.InternetAddress.&amp;lt;init&amp;gt;(InternetAddress.java:91)&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch.tSendMail_13Process(IMDI_BB_Batch.java:1315)&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch.tFileList_13_error(IMDI_BB_Batch.java:177)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)&lt;BR /&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)&lt;BR /&gt; at java.lang.reflect.Method.invoke(Unknown Source)&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch$TalendException.printStackTrace(IMDI_BB_Batch.java:97)&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch$17.run(IMDI_BB_Batch.java:3730)&lt;BR /&gt;Exception in component tSendMail_14&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt; at javax.mail.internet.InternetAddress.parse(InternetAddress.java:595)&lt;BR /&gt; at javax.mail.internet.InternetAddress.parse(InternetAddress.java:555)&lt;BR /&gt; at javax.mail.internet.InternetAddress.&amp;lt;init&amp;gt;(InternetAddress.java:91)&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch.tSendMail_14Process(IMDI_BB_Batch.java:1543)&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch.tFileList_14_error(IMDI_BB_Batch.java:196)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)&lt;BR /&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)&lt;BR /&gt; at java.lang.reflect.Method.invoke(Unknown Source)&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch$TalendException.printStackTrace(IMDI_BB_Batch.java:97)&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch$18.run(IMDI_BB_Batch.java:3766)&lt;BR /&gt;Exception in component tSendMail_10&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt; at javax.mail.internet.InternetAddress.parse(InternetAddress.java:595)&lt;BR /&gt; at javax.mail.internet.InternetAddress.parse(InternetAddress.java:555)&lt;BR /&gt; at javax.mail.internet.InternetAddress.&amp;lt;init&amp;gt;(InternetAddress.java:91)&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch.tSendMail_10Process(IMDI_BB_Batch.java:631)&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch.tFileList_10_error(IMDI_BB_Batch.java:120)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)&lt;BR /&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)&lt;BR /&gt; at java.lang.reflect.Method.invoke(Unknown Source)&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch$TalendException.printStackTrace(IMDI_BB_Batch.java:97)&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch$14.run(IMDI_BB_Batch.java:3622)&lt;BR /&gt;?&lt;BR /&gt;Exception in thread "Thread-11" java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch$25.run(IMDI_BB_Batch.java:4024)&lt;BR /&gt;Exception in thread "Thread-12" java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch$26.run(IMDI_BB_Batch.java:4060)&lt;BR /&gt;Exception in thread "Thread-0" java.lang.NullPointerException&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch$14.run(IMDI_BB_Batch.java:3636)&lt;BR /&gt;Exception in thread "Thread-4" Exception in thread "Thread-7" java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch$21.run(IMDI_BB_Batch.java:3880)&lt;BR /&gt;Exception in thread "Thread-10" java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch$24.run(IMDI_BB_Batch.java:3988)&lt;BR /&gt;Exception in thread "Thread-9" java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch$23.run(IMDI_BB_Batch.java:3952)&lt;BR /&gt;Exception in thread "Thread-8" java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch$22.run(IMDI_BB_Batch.java:3916)&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt; at notifications.imdi_bb_batch.IMDI_BB_Batch$18.run(IMDI_BB_Batch.java:3780)&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;I will get both types of errors in sucessive runs, when no changes have been made to the job. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MC0y.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139767i2FDB25F3B7564CD1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MC0y.jpg" alt="0683p000009MC0y.jpg" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MC13.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156814i549931FA0352076B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MC13.jpg" alt="0683p000009MC13.jpg" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MC1D.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139531i431099D7B1A281F3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MC1D.jpg" alt="0683p000009MC1D.jpg" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MC1I.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155625i089DB642888DF4EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MC1I.jpg" alt="0683p000009MC1I.jpg" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MC1N.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142983i37537EA2FA84A2A0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MC1N.jpg" alt="0683p000009MC1N.jpg" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBgg.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139785i4309C4E6617D25C3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBgg.jpg" alt="0683p000009MBgg.jpg" /&gt;&lt;/span&gt;</description>
      <pubDate>Sat, 16 Nov 2024 14:24:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-error-with-multiple-tSendMails-running-simultaneously/m-p/2203116#M4564</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] error with multiple tSendMails running simultaneously</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-error-with-multiple-tSendMails-running-simultaneously/m-p/2203117#M4565</link>
      <description>Hello
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Exception in component tSendMail_11&lt;BR /&gt;java.lang.NullPointerException&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;It should be a synchronous issue. Before running the tFileList, all the variables should be initialized.
&lt;BR /&gt;You can try tSetGlobalVar--onSubjobOK--&amp;gt;tFileList--&amp;gt;tSendMail
&lt;BR /&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt; shong</description>
      <pubDate>Wed, 02 Apr 2008 03:15:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-error-with-multiple-tSendMails-running-simultaneously/m-p/2203117#M4565</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-04-02T03:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] error with multiple tSendMails running simultaneously</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-error-with-multiple-tSendMails-running-simultaneously/m-p/2203118#M4566</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;It should be a synchronous issue. Before running the tFileList, all the variables should be initialized.&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;The weird thing about that error is that I get it after some of the other tFileList/tSendMail combos have been successful - which makes it seem, to me, like the variables are already initialized at that point, if the other components are running fine.
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;You can try tSetGlobalVar--onSubjobOK--&amp;gt;tFileList--&amp;gt;tSendMail&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;I tried that - the problem is that if one of the tFileList components fails, then all the others after it fail too. 
&lt;BR /&gt;SSIS has a component they call a "Sequence Container," is there anything like that in TOS? Because, if there was, I think it'd be easy to make sure the tSetGlobalVar was complete before anything else ran.</description>
      <pubDate>Wed, 02 Apr 2008 03:23:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-error-with-multiple-tSendMails-running-simultaneously/m-p/2203118#M4566</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-04-02T03:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] error with multiple tSendMails running simultaneously</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-error-with-multiple-tSendMails-running-simultaneously/m-p/2203119#M4567</link>
      <description>Hi 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;SSIS has a component they call a "Sequence Container," is there anything like that in TOS? Because, if there was, I think it'd be easy to make sure the tSetGlobalVar was complete before anything else ran.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Yes, you can run jobs in Sequence using tRunJob components and pass parameters from father job to child job in Talend. 
&lt;BR /&gt;Read this 1918 to learn how to pass a parameter from father job to child job. 
&lt;BR /&gt;In your case, you can try to define the global variables in context. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; shong</description>
      <pubDate>Wed, 02 Apr 2008 08:06:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-error-with-multiple-tSendMails-running-simultaneously/m-p/2203119#M4567</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-04-02T08:06:06Z</dc:date>
    </item>
  </channel>
</rss>

