<?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: NullPointerException while running .bat file after job export in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/NullPointerException-while-running-bat-file-after-job-export/m-p/2218508#M13683</link>
    <description>Hi Laurent, 
&lt;BR /&gt;The tMSSqlInput_2 is just an input MS SQL input connection. I've attached the screenshot of the component. 
&lt;BR /&gt;The NullpointerException seems to be arising from the line 
&lt;BR /&gt;talendToDBList_tMSSqlInput_2.addAll(MetaDataTalendType.getTalendToDBList("mssql_id","id_Double")); 
&lt;BR /&gt;(Line #3 in the code below) 
&lt;BR /&gt; 
&lt;BR /&gt;if (tmpContent_tMSSqlInput_2 != null) { 
&lt;BR /&gt; java.util.List&amp;lt;String&amp;gt; talendToDBList_tMSSqlInput_2 = new java.util.ArrayList(); 
&lt;BR /&gt; talendToDBList_tMSSqlInput_2 
&lt;BR /&gt; .addAll(MetadataTalendType 
&lt;BR /&gt; .getTalendToDBList("mssql_id", 
&lt;BR /&gt; "id_Double")); 
&lt;BR /&gt; talendToDBList_tMSSqlInput_2 
&lt;BR /&gt; .addAll(MetadataTalendType 
&lt;BR /&gt; .getTalendToDBList("mssql_id", 
&lt;BR /&gt; "id_Float")); 
&lt;BR /&gt; if (talendToDBList_tMSSqlInput_2 
&lt;BR /&gt; .contains(rsmd_tMSSqlInput_2 
&lt;BR /&gt; .getColumnTypeName(2).toUpperCase( 
&lt;BR /&gt; java.util.Locale.ENGLISH))) { 
&lt;BR /&gt; row2.DEPT_NAME = FormatterUtils 
&lt;BR /&gt; .formatUnwithE(Double 
&lt;BR /&gt; .valueOf(tmpContent_tMSSqlInput_2)); 
&lt;BR /&gt; } else { 
&lt;BR /&gt; row2.DEPT_NAME = tmpContent_tMSSqlInput_2; 
&lt;BR /&gt; } 
&lt;BR /&gt; } else { 
&lt;BR /&gt; row2.DEPT_NAME = null; 
&lt;BR /&gt; } 
&lt;BR /&gt; 
&lt;BR /&gt;Really appreciate any help. 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;Paulina. 
&lt;BR /&gt;/Users/paulina/Desktop/mssql_input_2.png</description>
    <pubDate>Tue, 18 Jan 2011 14:58:24 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2011-01-18T14:58:24Z</dc:date>
    <item>
      <title>NullPointerException while running .bat file after job export</title>
      <link>https://community.qlik.com/t5/Talend-Studio/NullPointerException-while-running-bat-file-after-job-export/m-p/2218506#M13681</link>
      <description>Hi All, 
&lt;BR /&gt;I created a simple Sql server connection job in Talend. It works fine inside TOS. I exported the job, copied the zip file to a windows machine and tried to run the .bat file. I get a nullpointerexception. 
&lt;BR /&gt;The nullpointerexception is as follows: 
&lt;BR /&gt;C:\Users\Administrator\Desktop\test_mssql_proc_1_0.1\test_mssql_proc_1&amp;gt;java -Xms256M -Xmx1024M -cp classpath.jar; test_schedule.test_mssql_proc_1_0_1.test_mssql_proc_1 --context=Default 
&lt;BR /&gt;Exception in component tMSSqlInput_2 
&lt;BR /&gt;java.lang.NullPointerException 
&lt;BR /&gt; at java.util.ArrayList.addAll(ArrayList.java:472) 
&lt;BR /&gt; at test_schedule.test_mssql_proc_1_0_1.test_mssql_proc_1.tMSSqlInput_2Process(test_mssql_proc_1.java:2000) 
&lt;BR /&gt; at test_schedule.test_mssql_proc_1_0_1.test_mssql_proc_1.tMSSqlInput_1Process(test_mssql_proc_1.java:980) 
&lt;BR /&gt; at test_schedule.test_mssql_proc_1_0_1.test_mssql_proc_1.runJobInTOS(test_mssql_proc_1.java:2297) 
&lt;BR /&gt; at test_schedule.test_mssql_proc_1_0_1.test_mssql_proc_1.main(test_mssql_proc_1.java:2192) 
&lt;BR /&gt;While exporting the job, I selected all the checkboxes (ie, shell launcher, system &amp;amp;user routines, required talend modules, java classes, source files, export dependencies, context scripts. 
&lt;BR /&gt;Can anyone tell me if I'm missing something. 
&lt;BR /&gt;Thanks in advance. 
&lt;BR /&gt;Paulina.</description>
      <pubDate>Sat, 16 Nov 2024 13:08:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/NullPointerException-while-running-bat-file-after-job-export/m-p/2218506#M13681</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T13:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: NullPointerException while running .bat file after job export</title>
      <link>https://community.qlik.com/t5/Talend-Studio/NullPointerException-while-running-bat-file-after-job-export/m-p/2218507#M13682</link>
      <description>hi paulina
&lt;BR /&gt;can we have more details about this 
&lt;B&gt;tMSSqlInput_2&lt;/B&gt; that to be "guilty" !?
&lt;BR /&gt;regards
&lt;BR /&gt;laurent</description>
      <pubDate>Mon, 17 Jan 2011 22:25:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/NullPointerException-while-running-bat-file-after-job-export/m-p/2218507#M13682</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-01-17T22:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: NullPointerException while running .bat file after job export</title>
      <link>https://community.qlik.com/t5/Talend-Studio/NullPointerException-while-running-bat-file-after-job-export/m-p/2218508#M13683</link>
      <description>Hi Laurent, 
&lt;BR /&gt;The tMSSqlInput_2 is just an input MS SQL input connection. I've attached the screenshot of the component. 
&lt;BR /&gt;The NullpointerException seems to be arising from the line 
&lt;BR /&gt;talendToDBList_tMSSqlInput_2.addAll(MetaDataTalendType.getTalendToDBList("mssql_id","id_Double")); 
&lt;BR /&gt;(Line #3 in the code below) 
&lt;BR /&gt; 
&lt;BR /&gt;if (tmpContent_tMSSqlInput_2 != null) { 
&lt;BR /&gt; java.util.List&amp;lt;String&amp;gt; talendToDBList_tMSSqlInput_2 = new java.util.ArrayList(); 
&lt;BR /&gt; talendToDBList_tMSSqlInput_2 
&lt;BR /&gt; .addAll(MetadataTalendType 
&lt;BR /&gt; .getTalendToDBList("mssql_id", 
&lt;BR /&gt; "id_Double")); 
&lt;BR /&gt; talendToDBList_tMSSqlInput_2 
&lt;BR /&gt; .addAll(MetadataTalendType 
&lt;BR /&gt; .getTalendToDBList("mssql_id", 
&lt;BR /&gt; "id_Float")); 
&lt;BR /&gt; if (talendToDBList_tMSSqlInput_2 
&lt;BR /&gt; .contains(rsmd_tMSSqlInput_2 
&lt;BR /&gt; .getColumnTypeName(2).toUpperCase( 
&lt;BR /&gt; java.util.Locale.ENGLISH))) { 
&lt;BR /&gt; row2.DEPT_NAME = FormatterUtils 
&lt;BR /&gt; .formatUnwithE(Double 
&lt;BR /&gt; .valueOf(tmpContent_tMSSqlInput_2)); 
&lt;BR /&gt; } else { 
&lt;BR /&gt; row2.DEPT_NAME = tmpContent_tMSSqlInput_2; 
&lt;BR /&gt; } 
&lt;BR /&gt; } else { 
&lt;BR /&gt; row2.DEPT_NAME = null; 
&lt;BR /&gt; } 
&lt;BR /&gt; 
&lt;BR /&gt;Really appreciate any help. 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;Paulina. 
&lt;BR /&gt;/Users/paulina/Desktop/mssql_input_2.png</description>
      <pubDate>Tue, 18 Jan 2011 14:58:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/NullPointerException-while-running-bat-file-after-job-export/m-p/2218508#M13683</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2011-01-18T14:58:24Z</dc:date>
    </item>
  </channel>
</rss>

