<?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] tMsgBox type question, error when clic on cancel button in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-tMsgBox-type-question-error-when-clic-on-cancel-button/m-p/2231894#M22032</link>
    <description>Hi,&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;I'm using this condition : Relational.ISNULL(((String)globalMap.get("tMsgBox_1_RESULT")))&lt;BR /&gt;Regards</description>
    <pubDate>Wed, 12 Sep 2012 13:03:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-09-12T13:03:02Z</dc:date>
    <item>
      <title>[resolved] tMsgBox type question, error when clic on cancel button</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tMsgBox-type-question-error-when-clic-on-cancel-button/m-p/2231892#M22030</link>
      <description>Hi,&lt;BR /&gt;I'm using tMsgBox (button Question : Ok, Cancel) on TOS v5.0.1 and I would like to test the user's choice (which button was used).&lt;BR /&gt;My job is composed by 3 tMsgBox, one for the user's choice and 2 for testing choice (RunIf condition : ((String)globalMap.get("tMsgBox_1_RESULT")).equals("0") and !((String)globalMap.get("tMsgBox_1_RESULT")).equals("0"))&lt;BR /&gt;&lt;BR /&gt;When I'm click on the cancel button, I have this error :&lt;BR /&gt; connecting to socket on port 3971&lt;BR /&gt; connected&lt;BR /&gt;Exception in component tMsgBox_1&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt;at repli_kdi_mysql_vm.tests_msgbox_0_1.tests_msgbox.tMsgBox_1Process(tests_msgbox.java:299)&lt;BR /&gt;at repli_kdi_mysql_vm.tests_msgbox_0_1.tests_msgbox.runJobInTOS(tests_msgbox.java:679)&lt;BR /&gt;at repli_kdi_mysql_vm.tests_msgbox_0_1.tests_msgbox.main(tests_msgbox.java:550)&lt;BR /&gt; disconnected&lt;BR /&gt;See my screenshot for details.&lt;BR /&gt;Thank's in advance.&lt;BR /&gt;Regards</description>
      <pubDate>Tue, 11 Sep 2012 10:46:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tMsgBox-type-question-error-when-clic-on-cancel-button/m-p/2231892#M22030</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-11T10:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tMsgBox type question, error when clic on cancel button</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tMsgBox-type-question-error-when-clic-on-cancel-button/m-p/2231893#M22031</link>
      <description>Hi,&lt;BR /&gt;Since you click cancel the result will be no object. Therefor your if conditions run into error because ((String)globalMap.get("tMsgBox_1_RESULT")) is no object.&lt;BR /&gt;You could use "0".equals(((String)globalMap.get("tMsgBox_1_RESULT"))) and !"0".equals(((String)globalMap.get("tMsgBox_1_RESULT"))) instead.&lt;BR /&gt;Regards,&lt;BR /&gt;Arno</description>
      <pubDate>Tue, 11 Sep 2012 13:55:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tMsgBox-type-question-error-when-clic-on-cancel-button/m-p/2231893#M22031</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-11T13:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tMsgBox type question, error when clic on cancel button</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tMsgBox-type-question-error-when-clic-on-cancel-button/m-p/2231894#M22032</link>
      <description>Hi,&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;I'm using this condition : Relational.ISNULL(((String)globalMap.get("tMsgBox_1_RESULT")))&lt;BR /&gt;Regards</description>
      <pubDate>Wed, 12 Sep 2012 13:03:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tMsgBox-type-question-error-when-clic-on-cancel-button/m-p/2231894#M22032</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-12T13:03:02Z</dc:date>
    </item>
  </channel>
</rss>

