<?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: [resolved] tRESTClient to Mongo in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-tRESTClient-to-Mongo/m-p/2242708#M29443</link>
    <description>Hi,
&lt;BR /&gt;Yes, but not fileinput.
&lt;BR /&gt;I tried this way:
&lt;BR /&gt;Excel -&amp;gt; Map -&amp;gt; FileOutputJSON
&lt;BR /&gt;If I put logrow at the end, it works. If I put Mongooutput, fail. And always this error:
&lt;BR /&gt;Exception in component tMongoDBOutput_1
&lt;BR /&gt;java.lang.NullPointerException
&lt;BR /&gt;at test.integration_excel_0_1.integration_excel.tFileInputExcel_1Process(integration_excel.java:814)
&lt;BR /&gt;at test.integration_excel_0_1.integration_excel.runJobInTOS(integration_excel.java:1757)
&lt;BR /&gt;at test.integration_excel_0_1.integration_excel.main(integration_excel.java:1614)
&lt;BR /&gt;Am I missing something ? Excel headers, or chars, or whatever that could be problematic ?
&lt;BR /&gt;
&lt;BR /&gt;EDIT: the error is at this line:
&lt;BR /&gt;com.mongodb.DBCollection coll_tMongoDBOutput_1 = db_tMongoDBOutput_1
&lt;BR /&gt; .getCollection("buddytest");
&lt;BR /&gt;BUT this is present in the other jobs, and works fine.&amp;nbsp;</description>
    <pubDate>Thu, 02 Apr 2015 13:41:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-04-02T13:41:25Z</dc:date>
    <item>
      <title>[resolved] tRESTClient to Mongo</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tRESTClient-to-Mongo/m-p/2242702#M29437</link>
      <description>Hi everyone, 
&lt;BR /&gt;Please forgive me if I skipped something easy I'm new with Talend.&amp;nbsp; 
&lt;BR /&gt;I want to do something that sounds simple to me. I get JSON array by a RESTful API, and I want to insert all the datas in a mongo collection. 
&lt;BR /&gt;I've got already the plugins for mongo. 
&lt;BR /&gt;Thx !</description>
      <pubDate>Mon, 30 Mar 2015 16:00:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tRESTClient-to-Mongo/m-p/2242702#M29437</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-30T16:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tRESTClient to Mongo</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tRESTClient-to-Mongo/m-p/2242703#M29438</link>
      <description>Hi, 
&lt;BR /&gt;Have you already checked component&amp;nbsp; 
&lt;A href="https://help.talend.com/search/all?query=tMongoDBOutput&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;TalendHelpCenter:tMongoDBOutput&lt;/A&gt;&amp;nbsp;which i 
&lt;FONT size="2"&gt;&lt;FONT face="noto, Helvetica, Arial, sans-serif"&gt;nserts, updates, upserts or deletes documents in a MongoDB database collection based on the incoming flow from the preceding component in the Job.&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="noto, Helvetica, Arial, sans-serif"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="noto, Helvetica, Arial, sans-serif"&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Tue, 31 Mar 2015 09:07:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tRESTClient-to-Mongo/m-p/2242703#M29438</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-31T09:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tRESTClient to Mongo</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tRESTClient-to-Mongo/m-p/2242704#M29439</link>
      <description>hi, 
&lt;BR /&gt;Thx your reply. After some researches, I finally found the issue.&amp;nbsp; 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/275367/coche.jpg" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDFK.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140785iF0B3DFFFBFE98EF2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDFK.jpg" alt="0683p000009MDFK.jpg" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt;This was the main mistake I made. My job wasn't good at all too. This is what I do and now it works: 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/275367/rest.jpg.jpg" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDFP.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155395i6CCDD2F1DB5D516B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDFP.jpg" alt="0683p000009MDFP.jpg" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Everything works fine now.&amp;nbsp; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;But I'm facing another problem with Excel.&amp;nbsp; 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/275367/pb.jpg.jpg" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9yY.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143102i8EED52681460718C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9yY.jpg" alt="0683p000009M9yY.jpg" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/A&gt; 
&lt;BR /&gt;What's wrong ? It works if I replace mongoOutput with something like LogRow. 
&lt;BR /&gt;Edit: Oh and another question, are plugins (mongo) updated on the exchange ? I got a problem with authentication and it should be resolved: 
&lt;BR /&gt; 
&lt;A href="https://jira.talendforge.org/browse/TDI-22062" rel="nofollow noopener noreferrer"&gt;https://jira.talendforge.org/browse/TDI-22062&lt;/A&gt; 
&lt;BR /&gt;Thx</description>
      <pubDate>Tue, 31 Mar 2015 09:46:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tRESTClient-to-Mongo/m-p/2242704#M29439</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-31T09:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tRESTClient to Mongo</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tRESTClient-to-Mongo/m-p/2242705#M29440</link>
      <description>Hi,
&lt;BR /&gt;For your issue(java.lang.NullPointerException), could you please show us the component setting screenshot of tMongoDBoutput? Is DB connection OK with you?
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 01 Apr 2015 11:36:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tRESTClient-to-Mongo/m-p/2242705#M29440</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-01T11:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tRESTClient to Mongo</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tRESTClient-to-Mongo/m-p/2242706#M29441</link>
      <description>Connection to DB should be good, as I did the same config for the other jobs.&lt;BR /&gt;But I just can't do the same way with the Excel component. Maybe by putting JSON fields on the way ?</description>
      <pubDate>Wed, 01 Apr 2015 15:30:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tRESTClient-to-Mongo/m-p/2242706#M29441</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-01T15:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tRESTClient to Mongo</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tRESTClient-to-Mongo/m-p/2242707#M29442</link>
      <description>Hi,&lt;BR /&gt;Have you tried to use tfileinputjson component to see if it is OK with you?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Thu, 02 Apr 2015 11:34:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tRESTClient-to-Mongo/m-p/2242707#M29442</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-02T11:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tRESTClient to Mongo</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tRESTClient-to-Mongo/m-p/2242708#M29443</link>
      <description>Hi,
&lt;BR /&gt;Yes, but not fileinput.
&lt;BR /&gt;I tried this way:
&lt;BR /&gt;Excel -&amp;gt; Map -&amp;gt; FileOutputJSON
&lt;BR /&gt;If I put logrow at the end, it works. If I put Mongooutput, fail. And always this error:
&lt;BR /&gt;Exception in component tMongoDBOutput_1
&lt;BR /&gt;java.lang.NullPointerException
&lt;BR /&gt;at test.integration_excel_0_1.integration_excel.tFileInputExcel_1Process(integration_excel.java:814)
&lt;BR /&gt;at test.integration_excel_0_1.integration_excel.runJobInTOS(integration_excel.java:1757)
&lt;BR /&gt;at test.integration_excel_0_1.integration_excel.main(integration_excel.java:1614)
&lt;BR /&gt;Am I missing something ? Excel headers, or chars, or whatever that could be problematic ?
&lt;BR /&gt;
&lt;BR /&gt;EDIT: the error is at this line:
&lt;BR /&gt;com.mongodb.DBCollection coll_tMongoDBOutput_1 = db_tMongoDBOutput_1
&lt;BR /&gt; .getCollection("buddytest");
&lt;BR /&gt;BUT this is present in the other jobs, and works fine.&amp;nbsp;</description>
      <pubDate>Thu, 02 Apr 2015 13:41:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tRESTClient-to-Mongo/m-p/2242708#M29443</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-02T13:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tRESTClient to Mongo</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tRESTClient-to-Mongo/m-p/2242709#M29444</link>
      <description>Okay so I finally found the error. The connection to mongo wasn't established yet.
&lt;BR /&gt;In the other cases, it works because (I think) I placed a mongoInput before the table and in this case not
&lt;BR /&gt;Really sorry, sh***y mistake .....
&lt;BR /&gt;Thx for your time and implication by the way</description>
      <pubDate>Thu, 02 Apr 2015 14:15:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tRESTClient-to-Mongo/m-p/2242709#M29444</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-02T14:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tRESTClient to Mongo</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tRESTClient-to-Mongo/m-p/2242710#M29445</link>
      <description>Hi&amp;nbsp;
&lt;FONT color="#5b5b5d"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;brian.dechoux,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Okay so I finally found the error. The connection to mongo wasn't established yet.&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;In the other cases, it works because (I think) I placed a mongoInput before the table and in this case not&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#5b5b5d"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;
&lt;FONT color="#5b5b5d"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Thanks for your feedback. Can you use tMongoDBConnection to&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;FONT size="2"&gt;&lt;FONT face="noto, Helvetica, Arial, sans-serif"&gt;open a connection to a database in order that a transaction may be made?&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT color="#5b5b5d"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT color="#5b5b5d"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Fri, 03 Apr 2015 05:26:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tRESTClient-to-Mongo/m-p/2242710#M29445</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-03T05:26:58Z</dc:date>
    </item>
  </channel>
</rss>

