<?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 parsing and nullpointer exception error while loading CSV file into MySQL database table in Data Quality</title>
    <link>https://community.qlik.com/t5/Data-Quality/parsing-and-nullpointer-exception-error-while-loading-CSV-file/m-p/2258411#M1276</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to load multiple csv files into MySQL database( for now trying to load one single csv file ). For this, I'm using four components :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;tDBConnection--&amp;gt; tFileInputdelimited--&amp;gt;tConvertType--&amp;gt;tMap--&amp;gt;tDBoutput(MySQL)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOTE: I'm using tConvertType for retreving empty values as null values.&lt;/P&gt;
&lt;P&gt;So, when I run the job...I face the below error:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Starting job load_job_source_db at 17:19 19/07/2019.&lt;/P&gt;
&lt;P&gt;[statistics] connecting to socket on port 3618&lt;BR /&gt;[statistics] connected&lt;BR /&gt;Couldn't parse value for column 'Agglomerates' in 'row1', value is 'Carla Polson'. Details: java.lang.NumberFormatException: For input string: "Carla Polson"&lt;BR /&gt;Couldn't parse value for column 'Agglomerates' in 'row1', value is 'Carla Polson'. Details: java.lang.NumberFormatException: For input string: "Carla Polson"&lt;BR /&gt;Couldn't parse value for column 'Agglomerates' in 'row1', value is 'Dan'. Details: java.lang.NumberFormatException: For input string: "Dan"&lt;/P&gt;
&lt;P&gt;Exception in component tMap_1 (load_job_source_db)&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt;at java.text.SimpleDateFormat.parse(Unknown Source)&lt;BR /&gt;at java.text.DateFormat.parse(Unknown Source)&lt;BR /&gt;at routines.TalendDate.parseDate(TalendDate.java:928)&lt;BR /&gt;at routines.TalendDate.parseDate(TalendDate.java:886)&lt;BR /&gt;at testproject1.load_job_source_db_0_1.load_job_source_db.tFileInputDelimited_1Process(load_job_source_db.java:3530)&lt;BR /&gt;at testproject1.load_job_source_db_0_1.load_job_source_db.tDBConnection_1Process(load_job_source_db.java:453)&lt;BR /&gt;at testproject1.load_job_source_db_0_1.load_job_source_db.runJobInTOS(load_job_source_db.java:4295)&lt;BR /&gt;at testproject1.load_job_source_db_0_1.load_job_source_db.main(load_job_source_db.java:4145)&lt;BR /&gt;[statistics] disconnected&lt;/P&gt;
&lt;P&gt;Job load_job_source_db ended at 17:19 19/07/2019. [exit code=1]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm attaching screenshots:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) my design worksapce&lt;/P&gt;
&lt;P&gt;2) tFileImputdelimited component properties&lt;/P&gt;
&lt;P&gt;3)tmap mappings&lt;/P&gt;
&lt;P&gt;4)tDBOutput component properties&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please help me with this, also let me know if you guys need anything else.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;
&lt;P&gt;Praneeth Reddy&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 05:13:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T05:13:16Z</dc:date>
    <item>
      <title>parsing and nullpointer exception error while loading CSV file into MySQL database table</title>
      <link>https://community.qlik.com/t5/Data-Quality/parsing-and-nullpointer-exception-error-while-loading-CSV-file/m-p/2258411#M1276</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to load multiple csv files into MySQL database( for now trying to load one single csv file ). For this, I'm using four components :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;tDBConnection--&amp;gt; tFileInputdelimited--&amp;gt;tConvertType--&amp;gt;tMap--&amp;gt;tDBoutput(MySQL)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOTE: I'm using tConvertType for retreving empty values as null values.&lt;/P&gt;
&lt;P&gt;So, when I run the job...I face the below error:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Starting job load_job_source_db at 17:19 19/07/2019.&lt;/P&gt;
&lt;P&gt;[statistics] connecting to socket on port 3618&lt;BR /&gt;[statistics] connected&lt;BR /&gt;Couldn't parse value for column 'Agglomerates' in 'row1', value is 'Carla Polson'. Details: java.lang.NumberFormatException: For input string: "Carla Polson"&lt;BR /&gt;Couldn't parse value for column 'Agglomerates' in 'row1', value is 'Carla Polson'. Details: java.lang.NumberFormatException: For input string: "Carla Polson"&lt;BR /&gt;Couldn't parse value for column 'Agglomerates' in 'row1', value is 'Dan'. Details: java.lang.NumberFormatException: For input string: "Dan"&lt;/P&gt;
&lt;P&gt;Exception in component tMap_1 (load_job_source_db)&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt;at java.text.SimpleDateFormat.parse(Unknown Source)&lt;BR /&gt;at java.text.DateFormat.parse(Unknown Source)&lt;BR /&gt;at routines.TalendDate.parseDate(TalendDate.java:928)&lt;BR /&gt;at routines.TalendDate.parseDate(TalendDate.java:886)&lt;BR /&gt;at testproject1.load_job_source_db_0_1.load_job_source_db.tFileInputDelimited_1Process(load_job_source_db.java:3530)&lt;BR /&gt;at testproject1.load_job_source_db_0_1.load_job_source_db.tDBConnection_1Process(load_job_source_db.java:453)&lt;BR /&gt;at testproject1.load_job_source_db_0_1.load_job_source_db.runJobInTOS(load_job_source_db.java:4295)&lt;BR /&gt;at testproject1.load_job_source_db_0_1.load_job_source_db.main(load_job_source_db.java:4145)&lt;BR /&gt;[statistics] disconnected&lt;/P&gt;
&lt;P&gt;Job load_job_source_db ended at 17:19 19/07/2019. [exit code=1]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm attaching screenshots:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) my design worksapce&lt;/P&gt;
&lt;P&gt;2) tFileImputdelimited component properties&lt;/P&gt;
&lt;P&gt;3)tmap mappings&lt;/P&gt;
&lt;P&gt;4)tDBOutput component properties&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please help me with this, also let me know if you guys need anything else.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;
&lt;P&gt;Praneeth Reddy&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:13:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/parsing-and-nullpointer-exception-error-while-loading-CSV-file/m-p/2258411#M1276</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T05:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: parsing and nullpointer exception error while loading CSV file into MySQL database table</title>
      <link>https://community.qlik.com/t5/Data-Quality/parsing-and-nullpointer-exception-error-while-loading-CSV-file/m-p/2258412#M1277</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you have an error:&lt;/P&gt;
&lt;PRE&gt;Details: java.lang.NumberFormatException: For input string: "Carla Polson"&lt;/PRE&gt;
&lt;P&gt;which is means - you have a text data in the numeric column&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;first, what you need to do - compare real file schema and schema defined in the tFileInputDelimited&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;regards&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2019 07:44:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/parsing-and-nullpointer-exception-error-while-loading-CSV-file/m-p/2258412#M1277</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2019-07-23T07:44:19Z</dc:date>
    </item>
  </channel>
</rss>

