<?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] Null password error when running job from command line. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Null-password-error-when-running-job-from-command-line/m-p/2280667#M55451</link>
    <description>Hi Srikanth,&lt;BR /&gt;The issue is not using the the "String". The issue is this feature was working fine in older version.&amp;nbsp;&lt;BR /&gt;When you have a password field as a context variable and if you build the job, the Default.properties file will show the password in plain text. Suddenly in this version the password changed to some binary. Now if you want to run this job from command line and want to change that context variable, it will fail and giving the null password error.&lt;BR /&gt;Thanks,&lt;BR /&gt;Sanket.</description>
    <pubDate>Thu, 20 Nov 2014 23:34:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-11-20T23:34:31Z</dc:date>
    <item>
      <title>[resolved] Null password error when running job from command line.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Null-password-error-when-running-job-from-command-line/m-p/2280662#M55446</link>
      <description>Hi , 
&lt;BR /&gt;I have imported a Talend job from 
&lt;BR /&gt;(Version: 5.6.0M1 Build id: r118307-20140604-0708) to Talend 5.6 (Released version). 
&lt;BR /&gt;Now when I run this job from Talend studio it works fine. but, when I Build the job and run the same from command line. It gives me null password error.&amp;nbsp; 
&lt;BR /&gt;When I checked the Default.properties file , the password is not in plain text. This is creating issue when I change my database connection parameters in context file. 
&lt;BR /&gt;I have noticed the previous version of Talend used to generate password in paling text.&amp;nbsp; 
&lt;BR /&gt;The issue can be reproduced even creating a simple job in Talend 5.6 (Attached screenshot). 
&lt;BR /&gt;Request you to look into this issue. 
&lt;BR /&gt;Sincere thanks, 
&lt;BR /&gt;Sanket.</description>
      <pubDate>Sat, 16 Nov 2024 11:25:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Null-password-error-when-running-job-from-command-line/m-p/2280662#M55446</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T11:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Null password error when running job from command line.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Null-password-error-when-running-job-from-command-line/m-p/2280663#M55447</link>
      <description>Hi 
&lt;A href="http://www.talendforge.org/forum/profile.php?id=158639" target="_blank" rel="nofollow noopener noreferrer"&gt;snaketmistry&lt;/A&gt;,
&lt;BR /&gt;Your screenshot is missing. Could you please check it? How did you build job and run from commandline?
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 18 Nov 2014 07:32:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Null-password-error-when-running-job-from-command-line/m-p/2280663#M55447</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-18T07:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Null password error when running job from command line.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Null-password-error-when-running-job-from-command-line/m-p/2280664#M55448</link>
      <description>&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/158639/Job.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAxW.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151484iE2187C9C9134E0A8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAxW.png" alt="0683p000009MAxW.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/A&gt; 
&lt;BR /&gt;Sorry missed the screenshot.&amp;nbsp; 
&lt;BR /&gt;1.)I have created a new job in Talend.&amp;nbsp; 
&lt;BR /&gt;2.) Right click on Job--&amp;gt;Build Job. Selected all options. It created the zip file. 
&lt;BR /&gt;3.) Extract the zip file. Modified the Default.properties. &amp;nbsp;What I have found that in the file, the password was not in plain text. I just changed it to plain text. (The older version of talend treats Password as plain text in Default.properties file.) 
&lt;BR /&gt;Run the batch file which is created by Talend. It throws the error&amp;nbsp; 
&lt;BR /&gt;context.db_Password::null 
&lt;BR /&gt;context.db_ServiceName::VSND 
&lt;BR /&gt;context.db_Login::hudda 
&lt;BR /&gt;Exception in component tOracleConnection_1 
&lt;BR /&gt;java.lang.NullPointerException 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.util.Hashtable.put(Unknown Source) 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at snts_loader.test_0_1.test.tOracleConnection_1Process(test.java:563) 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at snts_loader.test_0_1.test.tJava_1Process(test.java:464) 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at snts_loader.test_0_1.test.runJobInTOS(test.java:978) 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at snts_loader.test_0_1.test.main(test.java:805)</description>
      <pubDate>Tue, 18 Nov 2014 23:17:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Null-password-error-when-running-job-from-command-line/m-p/2280664#M55448</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-18T23:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Null password error when running job from command line.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Null-password-error-when-running-job-from-command-line/m-p/2280665#M55449</link>
      <description>Any update on this request?
&lt;BR /&gt;Thanks,
&lt;BR /&gt;Sanket.</description>
      <pubDate>Thu, 20 Nov 2014 06:13:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Null-password-error-when-running-job-from-command-line/m-p/2280665#M55449</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-20T06:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Null password error when running job from command line.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Null-password-error-when-running-job-from-command-line/m-p/2280666#M55450</link>
      <description>Hi Sanket,&lt;BR /&gt;Can you please change the datatype of password in context from "password" to "String" and try once? Thank you.&lt;BR /&gt;Regards&lt;BR /&gt;Srikanth</description>
      <pubDate>Thu, 20 Nov 2014 10:28:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Null-password-error-when-running-job-from-command-line/m-p/2280666#M55450</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-20T10:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Null password error when running job from command line.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Null-password-error-when-running-job-from-command-line/m-p/2280667#M55451</link>
      <description>Hi Srikanth,&lt;BR /&gt;The issue is not using the the "String". The issue is this feature was working fine in older version.&amp;nbsp;&lt;BR /&gt;When you have a password field as a context variable and if you build the job, the Default.properties file will show the password in plain text. Suddenly in this version the password changed to some binary. Now if you want to run this job from command line and want to change that context variable, it will fail and giving the null password error.&lt;BR /&gt;Thanks,&lt;BR /&gt;Sanket.</description>
      <pubDate>Thu, 20 Nov 2014 23:34:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Null-password-error-when-running-job-from-command-line/m-p/2280667#M55451</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-20T23:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Null password error when running job from command line.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Null-password-error-when-running-job-from-command-line/m-p/2280668#M55452</link>
      <description>I have checked this behaviour in older version. It is totally different in 5.6.&amp;nbsp;</description>
      <pubDate>Sun, 23 Nov 2014 23:20:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Null-password-error-when-running-job-from-command-line/m-p/2280668#M55452</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-23T23:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Null password error when running job from command line.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Null-password-error-when-running-job-from-command-line/m-p/2280669#M55453</link>
      <description>Can you please share what are the differences you have seen?</description>
      <pubDate>Mon, 24 Nov 2014 05:45:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Null-password-error-when-running-job-from-command-line/m-p/2280669#M55453</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-24T05:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Null password error when running job from command line.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Null-password-error-when-running-job-from-command-line/m-p/2280670#M55454</link>
      <description>Let's say you have a context variable "db_password" with Password type. Assign the value (say "test" to that variable. It will be masked in talend and displayed as ***&lt;BR /&gt;db_apssword = "test"&lt;BR /&gt;When you build the job and look into Default.properties.&amp;nbsp;&lt;BR /&gt;In older version: You will see the value in plain text (as above).&lt;BR /&gt;In 5.6: You will see the value in in binary (db_apssword = 4e7f142620180eb6)&amp;nbsp;&lt;BR /&gt;I have raised the bug from where you can download the sample job which I have attached.</description>
      <pubDate>Mon, 24 Nov 2014 06:32:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Null-password-error-when-running-job-from-command-line/m-p/2280670#M55454</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-24T06:32:32Z</dc:date>
    </item>
  </channel>
</rss>

