<?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: error Ljava.lang.String; cannot be cast to [Ljava.lang.String] in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/error-Ljava-lang-String-cannot-be-cast-to-Ljava-lang-String/m-p/2293320#M66308</link>
    <description>Sabrina, 
&lt;BR /&gt;Let me be more specific. I want to make a RPC call to a service. The input are parameters: Userid,Pwd,Array of string. The return from this call comes back as Array. 
&lt;BR /&gt;That seems simple to me but so far I have not been able to make successful call. 
&lt;BR /&gt;When I change as following: 
&lt;BR /&gt;Name= "PARM-IN-ARRAY" 
&lt;BR /&gt;Value= globalMap.get("matchCodeArray") 
&lt;BR /&gt;class= java.lang.String.class 
&lt;BR /&gt;The job runs without error but all I get in the csv file is 
&lt;BR /&gt;[Ljava.lang.Object;@687bc899; 
&lt;BR /&gt;May be you can suggest me a better to do this. 
&lt;BR /&gt;Thanks in advance.</description>
    <pubDate>Fri, 21 Jun 2013 15:26:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-06-21T15:26:12Z</dc:date>
    <item>
      <title>error Ljava.lang.String; cannot be cast to [Ljava.lang.String]</title>
      <link>https://community.qlik.com/t5/Talend-Studio/error-Ljava-lang-String-cannot-be-cast-to-Ljava-lang-String/m-p/2293317#M66305</link>
      <description>I am trying to something which I think its plain vanilla but its throwing error. 
&lt;BR /&gt;My job is calling a RPC call, the input has three parameters UID, PWD, array. 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;ERROR: 
&lt;BR /&gt; connecting to socket on port 3542 
&lt;BR /&gt;Exception in component tXMLRPCInput_1 
&lt;BR /&gt;java.lang.ClassCastException: connected 
&lt;BR /&gt; disconnected 
&lt;BR /&gt;Job giTest2 ended at 16:44 20/06/2013.</description>
      <pubDate>Thu, 20 Jun 2013 21:48:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/error-Ljava-lang-String-cannot-be-cast-to-Ljava-lang-String/m-p/2293317#M66305</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-20T21:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: error Ljava.lang.String; cannot be cast to [Ljava.lang.String]</title>
      <link>https://community.qlik.com/t5/Talend-Studio/error-Ljava-lang-String-cannot-be-cast-to-Ljava-lang-String/m-p/2293318#M66306</link>
      <description>Hi, 
&lt;BR /&gt;From the error, something wrong with your convert. The schema of "PARM-INT-ARRAY" return string and you want convert it to object for your Array? 
&lt;BR /&gt;Please see the component reference 
&lt;A href="https://help.talend.com/search/all?query=tXMLRPCInput&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;tXMLRPCInput&lt;/A&gt; to verify that you are using it correctly. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
      <pubDate>Fri, 21 Jun 2013 04:34:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/error-Ljava-lang-String-cannot-be-cast-to-Ljava-lang-String/m-p/2293318#M66306</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-21T04:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: error Ljava.lang.String; cannot be cast to [Ljava.lang.String]</title>
      <link>https://community.qlik.com/t5/Talend-Studio/error-Ljava-lang-String-cannot-be-cast-to-Ljava-lang-String/m-p/2293319#M66307</link>
      <description>Sabrina, 
&lt;BR /&gt;thanks for the quick response. 
&lt;BR /&gt; The PARM-INT-ARRAY is a Array for input parameter and the Method return is also an array. 
&lt;BR /&gt;hope that clarifies why I am using String[]. 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hi, &lt;BR /&gt;From the error, something wrong with your convert. The schema of "PARM-INT-ARRAY" return string and you want convert it to object for your Array?&lt;BR /&gt;Please see the component reference &lt;A href="https://help.talend.com/search/all?query=tXMLRPCInput&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;tXMLRPCInput&lt;/A&gt; to verify that you are using it correctly. &lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Fri, 21 Jun 2013 15:18:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/error-Ljava-lang-String-cannot-be-cast-to-Ljava-lang-String/m-p/2293319#M66307</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-21T15:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: error Ljava.lang.String; cannot be cast to [Ljava.lang.String]</title>
      <link>https://community.qlik.com/t5/Talend-Studio/error-Ljava-lang-String-cannot-be-cast-to-Ljava-lang-String/m-p/2293320#M66308</link>
      <description>Sabrina, 
&lt;BR /&gt;Let me be more specific. I want to make a RPC call to a service. The input are parameters: Userid,Pwd,Array of string. The return from this call comes back as Array. 
&lt;BR /&gt;That seems simple to me but so far I have not been able to make successful call. 
&lt;BR /&gt;When I change as following: 
&lt;BR /&gt;Name= "PARM-IN-ARRAY" 
&lt;BR /&gt;Value= globalMap.get("matchCodeArray") 
&lt;BR /&gt;class= java.lang.String.class 
&lt;BR /&gt;The job runs without error but all I get in the csv file is 
&lt;BR /&gt;[Ljava.lang.Object;@687bc899; 
&lt;BR /&gt;May be you can suggest me a better to do this. 
&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Fri, 21 Jun 2013 15:26:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/error-Ljava-lang-String-cannot-be-cast-to-Ljava-lang-String/m-p/2293320#M66308</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-21T15:26:12Z</dc:date>
    </item>
  </channel>
</rss>

