<?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: [TOS] &amp;quot;invocation target exception&amp;quot; with odbc connection in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/TOS-quot-invocation-target-exception-quot-with-odbc-connection/m-p/2336015#M104506</link>
    <description>reading this issue 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCjEXCA0" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Installing-and-Upgrading/resolved-failed-to-generate/td-p/1723&lt;/A&gt; , I found more information even if the problem isn't solved yet... 
&lt;BR /&gt;in my workspace/metadata/.log, the last error in stack trace is this : 
&lt;BR /&gt;Caused by: java.lang.ArrayIndexOutOfBoundsException: 1 
&lt;BR /&gt; at org.talend.designer.codegen.translators.databases.db_generic.TDBInputBeginJava$1DBInputBeginUtil.getDirverClassName(TDBInputBeginJava.java:562) 
&lt;BR /&gt; at org.talend.designer.codegen.translators.databases.db_generic.TDBInputBeginJava$1DefaultDBInputUtil.createConnection(TDBInputBeginJava.java:260) 
&lt;BR /&gt; at org.talend.designer.codegen.translators.databases.db_generic.TDBInputBeginJava.generate(TDBInputBeginJava.java:715) 
&lt;BR /&gt; ... 49 more 
&lt;BR /&gt;if I understand well, the problem is due to the size of my dbinput ? 
&lt;BR /&gt;Actually, my table has about 380 colums (!). I tried both : 
&lt;BR /&gt;- to select all the colums in my connection and then put it as a dbinput in a job 
&lt;BR /&gt;and 
&lt;BR /&gt;- to select just a few colums (about 20) and then put it as a dbinput in a job 
&lt;BR /&gt;But both gave me the same error... 
&lt;BR /&gt;Please help me ! I don't know what to do...</description>
    <pubDate>Wed, 16 Jun 2010 11:53:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-06-16T11:53:32Z</dc:date>
    <item>
      <title>[TOS] "invocation target exception" with odbc connection</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TOS-quot-invocation-target-exception-quot-with-odbc-connection/m-p/2336014#M104505</link>
      <description>Dear friends, 
&lt;BR /&gt;I have been using TOS 4.0 for 2 months now and I regularly encounter an annoying exception. 
&lt;BR /&gt;This time I don't know how to get rid of this... 
&lt;BR /&gt;I am using an odbc connection to connect to my database. I've registered it in my repository to make it easy. When I check the connection, it works. 
&lt;BR /&gt;I have selected the tables I want to work with (2 tables). 
&lt;BR /&gt;Then I created a new job, taking one of the two tables and linking it to a tlogRow (just to check it still works). 
&lt;BR /&gt;BUT at this time, I got this exception (in french) : 
&lt;BR /&gt;execution en erreur. Echec de la génération du code 
&lt;BR /&gt;I really don't know where it comes from... 
&lt;BR /&gt;So I really need your help ! 
&lt;BR /&gt;I don't know if it can help but here is the image of the problem 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt;</description>
      <pubDate>Sat, 16 Nov 2024 13:23:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TOS-quot-invocation-target-exception-quot-with-odbc-connection/m-p/2336014#M104505</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: [TOS] "invocation target exception" with odbc connection</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TOS-quot-invocation-target-exception-quot-with-odbc-connection/m-p/2336015#M104506</link>
      <description>reading this issue 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCjEXCA0" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Installing-and-Upgrading/resolved-failed-to-generate/td-p/1723&lt;/A&gt; , I found more information even if the problem isn't solved yet... 
&lt;BR /&gt;in my workspace/metadata/.log, the last error in stack trace is this : 
&lt;BR /&gt;Caused by: java.lang.ArrayIndexOutOfBoundsException: 1 
&lt;BR /&gt; at org.talend.designer.codegen.translators.databases.db_generic.TDBInputBeginJava$1DBInputBeginUtil.getDirverClassName(TDBInputBeginJava.java:562) 
&lt;BR /&gt; at org.talend.designer.codegen.translators.databases.db_generic.TDBInputBeginJava$1DefaultDBInputUtil.createConnection(TDBInputBeginJava.java:260) 
&lt;BR /&gt; at org.talend.designer.codegen.translators.databases.db_generic.TDBInputBeginJava.generate(TDBInputBeginJava.java:715) 
&lt;BR /&gt; ... 49 more 
&lt;BR /&gt;if I understand well, the problem is due to the size of my dbinput ? 
&lt;BR /&gt;Actually, my table has about 380 colums (!). I tried both : 
&lt;BR /&gt;- to select all the colums in my connection and then put it as a dbinput in a job 
&lt;BR /&gt;and 
&lt;BR /&gt;- to select just a few colums (about 20) and then put it as a dbinput in a job 
&lt;BR /&gt;But both gave me the same error... 
&lt;BR /&gt;Please help me ! I don't know what to do...</description>
      <pubDate>Wed, 16 Jun 2010 11:53:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TOS-quot-invocation-target-exception-quot-with-odbc-connection/m-p/2336015#M104506</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-06-16T11:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: [TOS] "invocation target exception" with odbc connection</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TOS-quot-invocation-target-exception-quot-with-odbc-connection/m-p/2336016#M104507</link>
      <description>Here I am (again) with a bit more information : 
&lt;BR /&gt;I was curious to see if my problem occured in a previous version of Talend : actually NO ! 
&lt;BR /&gt;If I try the same work on TOS V3.2.3 it works with both tables selected (with about 20 columns each) 
&lt;BR /&gt;If I bring this project (which was working on TOS V3.2.3) on TOS 4.0, it works for one table. 
&lt;BR /&gt;- if I try the other table with the same job (tdbinput + tlogrow) it gives me the error "execution en erreur. Echec de la génération du code " 
&lt;BR /&gt;Why does it work in a previous version and not on TOS 4.0 ? 
&lt;BR /&gt;Is it a BUG ? 
&lt;BR /&gt;The problem is : I use functions that seem to work only on TOS 4.0. (ex : StringHandling.EREPLACE(row1.DOC_AUTMORAL,"\f","") 
&lt;BR /&gt;What can I do ? 
&lt;BR /&gt;Thanks for your help</description>
      <pubDate>Wed, 16 Jun 2010 15:45:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TOS-quot-invocation-target-exception-quot-with-odbc-connection/m-p/2336016#M104507</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-06-16T15:45:54Z</dc:date>
    </item>
  </channel>
</rss>

