<?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 tJava Error in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tJava-Error/m-p/2248732#M33495</link>
    <description>I'm receiving the following error when assigning values to globalMap variables.
&lt;BR /&gt;Error Message
&lt;BR /&gt;"Exception in component tJava_7
&lt;BR /&gt;java.lang.NullPointerException
&lt;BR /&gt; at talenddemosjava.lawexpediaftp_0_1.LAWExpediaFTP.tMSSqlInput_2Process(LAWExpediaFTP.java:965)"
&lt;BR /&gt;Below is the tJava code:
&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
&lt;BR /&gt;List&amp;lt;row8Struct&amp;gt; Law = (List&amp;lt;row8Struct&amp;gt;)globalMap.get("Law_Metadata");
&lt;BR /&gt;globalMap.put("ExpediaFileShare", Law.get(0).TheValue);
&lt;BR /&gt;globalMap.put("ExpediaFileShareArchive", Law.get(1).TheValue);
&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</description>
    <pubDate>Sat, 16 Nov 2024 13:02:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T13:02:15Z</dc:date>
    <item>
      <title>tJava Error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJava-Error/m-p/2248732#M33495</link>
      <description>I'm receiving the following error when assigning values to globalMap variables.
&lt;BR /&gt;Error Message
&lt;BR /&gt;"Exception in component tJava_7
&lt;BR /&gt;java.lang.NullPointerException
&lt;BR /&gt; at talenddemosjava.lawexpediaftp_0_1.LAWExpediaFTP.tMSSqlInput_2Process(LAWExpediaFTP.java:965)"
&lt;BR /&gt;Below is the tJava code:
&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
&lt;BR /&gt;List&amp;lt;row8Struct&amp;gt; Law = (List&amp;lt;row8Struct&amp;gt;)globalMap.get("Law_Metadata");
&lt;BR /&gt;globalMap.put("ExpediaFileShare", Law.get(0).TheValue);
&lt;BR /&gt;globalMap.put("ExpediaFileShareArchive", Law.get(1).TheValue);
&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</description>
      <pubDate>Sat, 16 Nov 2024 13:02:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJava-Error/m-p/2248732#M33495</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: tJava Error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJava-Error/m-p/2248733#M33496</link>
      <description>Very weird, as I expect value returned.  &lt;BR /&gt;I did another test from tMSSqlInput to tJava.&lt;BR /&gt;simple query "select TheValue from vFileShare" with row7 connecting to tJava.&lt;BR /&gt;In tJava, I just type the following, but context.FileShare=null (no error).&lt;BR /&gt;context.FileShare=row7.TheValue;&lt;BR /&gt;Any idea?&lt;BR /&gt;Help is appreciated!</description>
      <pubDate>Tue, 15 Mar 2011 16:02:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJava-Error/m-p/2248733#M33496</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-15T16:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: tJava Error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJava-Error/m-p/2248734#M33497</link>
      <description>u need to use tJavaRow</description>
      <pubDate>Tue, 15 Mar 2011 17:53:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJava-Error/m-p/2248734#M33497</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-15T17:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: tJava Error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJava-Error/m-p/2248735#M33498</link>
      <description>I don't think you can put List&amp;lt;row3Struct&amp;gt; construct in JavaRow.  Let me know if I am wrong. &lt;BR /&gt;I keep getting "NullPointerException" errors.  Any reason???  Very fraustration error...</description>
      <pubDate>Wed, 16 Mar 2011 18:52:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJava-Error/m-p/2248735#M33498</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-16T18:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: tJava Error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJava-Error/m-p/2248736#M33499</link>
      <description>in a tJavaRow you can use "special" variable names that will get re-written by the code generator.&lt;BR /&gt;instead of writing row7.TheValue, try: input_row.TheValue&lt;BR /&gt;also ensure that your Talend schema has the column "TheValue" defined</description>
      <pubDate>Thu, 17 Mar 2011 15:44:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJava-Error/m-p/2248736#M33499</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-17T15:44:44Z</dc:date>
    </item>
  </channel>
</rss>

