<?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: tmap java.lang.nullpointerexception in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tmap-java-lang-nullpointerexception/m-p/2299333#M71688</link>
    <description>Hi,
&lt;BR /&gt;I am using tELTmysqlMap for my query and since currently there is no result for the query, tELTmysqloutput gives me an error:Exception in component tELTMysqlOutput_1
&lt;BR /&gt;java.lang.NullPointerException, I am not sure why is tht. Could you help me.</description>
    <pubDate>Wed, 17 Feb 2010 20:07:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-02-17T20:07:33Z</dc:date>
    <item>
      <title>tmap java.lang.nullpointerexception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-java-lang-nullpointerexception/m-p/2299328#M71683</link>
      <description>Hi, 
&lt;BR /&gt;I encountered java.lang.nullpointerexception error in my tmap. I discovered that in my tmap, I added the following expression 
&lt;BR /&gt;==&amp;gt; row1.promo_start_date.getTime()&amp;lt;0?null:row1.promo_start_date 
&lt;BR /&gt;The above expression works fine if the promo_start_date contains 0000-00-00; however, it will fail with java.lang.nullpointerexception error when the promo_start_date contains NULL. 
&lt;BR /&gt;I tried to define the following expression to transform the data to NULL if the promo_start_date = 0000-00-00 or promo_start_date = NULL; however, it doesn't work with error "the operator == is undefined for the argument type(s) long, null" message: 
&lt;BR /&gt;==&amp;gt; row1.promo_start_date.getTime()&amp;lt;0||row1.promo_start_date.getTime()==null?null:row1.promo_start_date 
&lt;BR /&gt;Can you please help how should I define the expression in my tmap so that it will transfer the date to NULL if the date = 0000-00-00 or NULL 
&lt;BR /&gt;Thanks! Any help is really appreciated!</description>
      <pubDate>Sat, 16 Nov 2024 13:37:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-java-lang-nullpointerexception/m-p/2299328#M71683</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: tmap java.lang.nullpointerexception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-java-lang-nullpointerexception/m-p/2299329#M71684</link>
      <description>Hello guy 
&lt;BR /&gt;try 
&lt;BR /&gt; 
&lt;PRE&gt;row1.promo_start_date==null||row1.promo_start_date.getTime()&amp;lt;0l?null:row1.promo_start_date&lt;/PRE&gt; 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Tue, 05 Jan 2010 02:03:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-java-lang-nullpointerexception/m-p/2299329#M71684</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-01-05T02:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: tmap java.lang.nullpointerexception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-java-lang-nullpointerexception/m-p/2299330#M71685</link>
      <description>Hi Shong, 
&lt;BR /&gt;Thanks for your help, it works great now! 
&lt;BR /&gt;Can you please clarify the following: 
&lt;BR /&gt;1) What does row1.promo_start_date.getTime() &amp;lt; 01 means? 
&lt;BR /&gt;2) What is the difference between row1.promo_start_date.getTime() &amp;lt; 0 &amp;amp; row1.promo_start_date.getTime() &amp;lt; 01? 
&lt;BR /&gt;Thanks again!</description>
      <pubDate>Wed, 06 Jan 2010 18:07:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-java-lang-nullpointerexception/m-p/2299330#M71685</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-01-06T18:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: tmap java.lang.nullpointerexception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-java-lang-nullpointerexception/m-p/2299331#M71686</link>
      <description>Hello 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Can you please clarify the following:&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Oh, sorry, this is my wrong spell here. It should be: 
&lt;BR /&gt;row1.promo_start_date==null||row1.promo_start_date.getTime()&amp;lt;0?null:row1.promo_start_date 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; shong</description>
      <pubDate>Thu, 07 Jan 2010 03:46:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-java-lang-nullpointerexception/m-p/2299331#M71686</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-01-07T03:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: tmap java.lang.nullpointerexception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-java-lang-nullpointerexception/m-p/2299332#M71687</link>
      <description>Hi Shong,
&lt;BR /&gt;Thanks for the clarification and your help!!
&lt;BR /&gt;have a nice day!</description>
      <pubDate>Thu, 07 Jan 2010 18:05:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-java-lang-nullpointerexception/m-p/2299332#M71687</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-01-07T18:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: tmap java.lang.nullpointerexception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-java-lang-nullpointerexception/m-p/2299333#M71688</link>
      <description>Hi,
&lt;BR /&gt;I am using tELTmysqlMap for my query and since currently there is no result for the query, tELTmysqloutput gives me an error:Exception in component tELTMysqlOutput_1
&lt;BR /&gt;java.lang.NullPointerException, I am not sure why is tht. Could you help me.</description>
      <pubDate>Wed, 17 Feb 2010 20:07:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-java-lang-nullpointerexception/m-p/2299333#M71688</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-17T20:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: tmap java.lang.nullpointerexception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-java-lang-nullpointerexception/m-p/2299334#M71689</link>
      <description>xception in component tFileInputExcel_2
&lt;BR /&gt;java.lang.IllegalStateException: Bad cell type (3)
&lt;BR /&gt; at org.apache.poi.xssf.usermodel.XSSFFormulaEvaluator.evaluate(XSSFFormulaEvaluator.java:102)
&lt;BR /&gt;
&lt;BR /&gt;what does this error mean?</description>
      <pubDate>Thu, 18 Feb 2010 21:51:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-java-lang-nullpointerexception/m-p/2299334#M71689</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-18T21:51:33Z</dc:date>
    </item>
  </channel>
</rss>

