<?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: getCurrentDate() throwing an error in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/getCurrentDate-throwing-an-error/m-p/2301212#M73355</link>
    <description>I would be surprised if this is coming from getCurrentDate(). Are you sure it's not from some other logic in your Job. Have you got the full stack trace?
&lt;BR /&gt;If your Job won't compile, you should be taking a look at the code window to see where the issue lies.</description>
    <pubDate>Thu, 07 Jul 2016 19:28:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-07-07T19:28:08Z</dc:date>
    <item>
      <title>getCurrentDate() throwing an error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/getCurrentDate-throwing-an-error/m-p/2301211#M73354</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;using TalendDate.getCurrentDate() &amp;nbsp;and it throws this error:&lt;BR /&gt;Exception in thread "main" java.lang.IllegalArgumentException: Illegal pattern character 'T'&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.text.SimpleDateFormat.compile(SimpleDateFormat.java:826)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.text.SimpleDateFormat.initialize(SimpleDateFormat.java:634)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.text.SimpleDateFormat.&amp;lt;init&amp;gt;(SimpleDateFormat.java:605)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.text.SimpleDateFormat.&amp;lt;init&amp;gt;(SimpleDateFormat.java:580)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at ingestionpipeline.testflow_0_1.TestFlow.runJobInTOS(TestFlow.java:1912)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at ingestionpipeline.testflow_0_1.TestFlow.main(TestFlow.java:1759)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Can't even get it to compile, and yes this is in a date field.&lt;BR /&gt;thanks,&lt;BR /&gt;Bob&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2016 19:18:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/getCurrentDate-throwing-an-error/m-p/2301211#M73354</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-07T19:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: getCurrentDate() throwing an error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/getCurrentDate-throwing-an-error/m-p/2301212#M73355</link>
      <description>I would be surprised if this is coming from getCurrentDate(). Are you sure it's not from some other logic in your Job. Have you got the full stack trace?
&lt;BR /&gt;If your Job won't compile, you should be taking a look at the code window to see where the issue lies.</description>
      <pubDate>Thu, 07 Jul 2016 19:28:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/getCurrentDate-throwing-an-error/m-p/2301212#M73355</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-07T19:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: getCurrentDate() throwing an error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/getCurrentDate-throwing-an-error/m-p/2301213#M73356</link>
      <description>I recreated in a job, that does nothing but sticks the date and a pk into MySQL table using a tfixedFlowinput and tMysqlOutput.&lt;BR /&gt;The schema was imported, and the field is datetime on mysql.&amp;nbsp;&lt;BR /&gt;If I use this:&amp;nbsp;TalendDate.parseDate("yyyy-MM-dd hh:mm:ss","9999-01-01 12:12:12");&lt;BR /&gt;Then it works.</description>
      <pubDate>Thu, 07 Jul 2016 19:52:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/getCurrentDate-throwing-an-error/m-p/2301213#M73356</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-07T19:52:51Z</dc:date>
    </item>
  </channel>
</rss>

