<?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: tOracleInput: ArrayIndexOutOfBoundsException in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tOracleInput-ArrayIndexOutOfBoundsException/m-p/2251095#M35134</link>
    <description>The Unknown Source message comes from the missing source code (or better not linked source code) in the studio.&lt;BR /&gt;You can change it be setting up the JRE in the Preferences of the studio:&lt;BR /&gt;Preferences-&amp;gt;Java-Installed JRE (do net be confused be "JRE" you need a JDK!)&lt;BR /&gt;Choose here the JDK 7 and after this setting you should see the source code.&lt;BR /&gt;But this will not help because you will only see in this case the code from an interface.&lt;BR /&gt;I suggest you add to your job a tJava and here we check some things:&lt;BR /&gt;1. The real Java version you use:&lt;BR /&gt;System.out.println(System.getProperty("java.version"));&lt;BR /&gt;2. I suggest you set the attributes from the database connection in context variables.&amp;nbsp;&lt;BR /&gt;I suggest you print them out here (only an example, it depends on you names):&lt;BR /&gt;System.out.println("Server:" + context.DB_Host);&amp;nbsp;</description>
    <pubDate>Thu, 05 Mar 2015 10:49:07 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-03-05T10:49:07Z</dc:date>
    <item>
      <title>tOracleInput: ArrayIndexOutOfBoundsException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleInput-ArrayIndexOutOfBoundsException/m-p/2251089#M35128</link>
      <description>My job (DMI) is OK in Talend, but when I call it in Linux or Windows (java -jar ...), I have this error:
&lt;BR /&gt;
&lt;PRE&gt;java.lang.ArrayIndexOutOfBoundsException: -1&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at oracle.jdbc.driver.T4CTTIoauthenticate.setSessionFields(T4CTTIoauthenticate.java:1019)&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at oracle.jdbc.driver.T4CTTIoauthenticate.&amp;lt;init&amp;gt;(T4CTTIoauthenticate.java:186)&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:354)&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at oracle.jdbc.driver.PhysicalConnection.&amp;lt;init&amp;gt;(PhysicalConnection.java:454)&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at oracle.jdbc.driver.T4CConnection.&amp;lt;init&amp;gt;(T4CConnection.java:165)&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:802)&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at java.sql.DriverManager.getConnection(Unknown Source)&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at java.sql.DriverManager.getConnection(Unknown Source)&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at dmi.dmi_1_2.DMI.tOracleInput_1Process(DMI.java:1996)&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at dmi.dmi_1_2.DMI.tOracleInput_2Process(DMI.java:5682)&lt;/PRE&gt;
&lt;BR /&gt;DMI.java: 1996 :
&lt;BR /&gt;
&lt;PRE&gt;conn_tOracleInput_1 = java.sql.DriverManager.getConnection(&lt;BR /&gt;				url_tOracleInput_1, dbUser_tOracleInput_1,&lt;BR /&gt;				dbPwd_tOracleInput_1);&lt;/PRE&gt;
&lt;BR /&gt;Previous lines:
&lt;BR /&gt;
&lt;PRE&gt;int nb_line_tOracleInput_1 = 0;&lt;BR /&gt;java.sql.Connection conn_tOracleInput_1 = null;&lt;BR /&gt;String driverClass_tOracleInput_1 = "oracle.jdbc.driver.OracleDriver";&lt;BR /&gt;java.lang.Class.forName(driverClass_tOracleInput_1);&lt;BR /&gt;String url_tOracleInput_1 = null;&lt;BR /&gt;url_tOracleInput_1 = "jdbc:oracle:thin:@" + "myserver" + ":"&lt;BR /&gt;		+ "7777" + ":" + "mySID";&lt;BR /&gt;String dbUser_tOracleInput_1 = "mylogin";&lt;BR /&gt;final String decryptedPassword_tOracleInput_1 = routines.system.PasswordEncryptUtil&lt;BR /&gt;		.decryptPassword("501385eghf5dd32bb02570r0ee181318");&lt;BR /&gt;String dbPwd_tOracleInput_1 = decryptedPassword_tOracleInput_1;&lt;/PRE&gt;
&lt;BR /&gt;I think it's correct. The line 5682 is like the 1996.
&lt;BR /&gt;Is it normal the "Unknown Source" in 
&lt;I&gt;getConnection&lt;/I&gt;?
&lt;BR /&gt;Edit: I use ojdbc14.jar and TOS 5.6.0.</description>
      <pubDate>Thu, 05 Mar 2015 08:59:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleInput-ArrayIndexOutOfBoundsException/m-p/2251089#M35128</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-05T08:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleInput: ArrayIndexOutOfBoundsException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleInput-ArrayIndexOutOfBoundsException/m-p/2251090#M35129</link>
      <description>Strange thing. Could you please check if you can use a more recent JDBC driver like ojdbc6.jar. The ojdbc14.jar is very out dated!
&lt;BR /&gt;The only possible difference between running in Studio and running as standalone job could be a different Java runtime.</description>
      <pubDate>Thu, 05 Mar 2015 09:39:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleInput-ArrayIndexOutOfBoundsException/m-p/2251090#M35129</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-05T09:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleInput: ArrayIndexOutOfBoundsException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleInput-ArrayIndexOutOfBoundsException/m-p/2251091#M35130</link>
      <description>It's the same error with ojdbc6.jar:
&lt;BR /&gt;
&lt;PRE&gt;Exception in component tOracleInput_1&lt;BR /&gt;java.lang.ArrayIndexOutOfBoundsException: -1&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at oracle.jdbc.driver.T4CTTIoauthenticate.setSessionFields(T4CTTIoauthenticate.java:1015)&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at oracle.jdbc.driver.T4CTTIoauthenticate.&amp;lt;init&amp;gt;(T4CTTIoauthenticate.java:238)&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:401)&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at oracle.jdbc.driver.PhysicalConnection.&amp;lt;init&amp;gt;(PhysicalConnection.java:553)&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at oracle.jdbc.driver.T4CConnection.&amp;lt;init&amp;gt;(T4CConnection.java:254)&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:528)&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at java.sql.DriverManager.getConnection(Unknown Source)&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at java.sql.DriverManager.getConnection(Unknown Source)&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at dmi.dmi_1_2.DMI.tOracleInput_1Process(DMI.java:1996)&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at dmi.dmi_1_2.DMI.tOracleInput_2Process(DMI.java:5682)&lt;/PRE&gt;
&lt;BR /&gt;The Java version is the same : 1.7.0_51.</description>
      <pubDate>Thu, 05 Mar 2015 10:03:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleInput-ArrayIndexOutOfBoundsException/m-p/2251091#M35130</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-05T10:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleInput: ArrayIndexOutOfBoundsException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleInput-ArrayIndexOutOfBoundsException/m-p/2251092#M35131</link>
      <description>Could you please check which Java version do you use for the standalone job?
&lt;BR /&gt;I guess the default release installed on machines is Java 8 but there are some issues. I would suggest Java 7 for now.</description>
      <pubDate>Thu, 05 Mar 2015 10:21:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleInput-ArrayIndexOutOfBoundsException/m-p/2251092#M35131</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-05T10:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleInput: ArrayIndexOutOfBoundsException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleInput-ArrayIndexOutOfBoundsException/m-p/2251093#M35132</link>
      <description>The Java version is the same : 1.7.0_51.</description>
      <pubDate>Thu, 05 Mar 2015 10:29:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleInput-ArrayIndexOutOfBoundsException/m-p/2251093#M35132</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-05T10:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleInput: ArrayIndexOutOfBoundsException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleInput-ArrayIndexOutOfBoundsException/m-p/2251094#M35133</link>
      <description>The export generate warnings. Where can I see the warnings ?</description>
      <pubDate>Thu, 05 Mar 2015 10:33:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleInput-ArrayIndexOutOfBoundsException/m-p/2251094#M35133</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-05T10:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleInput: ArrayIndexOutOfBoundsException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleInput-ArrayIndexOutOfBoundsException/m-p/2251095#M35134</link>
      <description>The Unknown Source message comes from the missing source code (or better not linked source code) in the studio.&lt;BR /&gt;You can change it be setting up the JRE in the Preferences of the studio:&lt;BR /&gt;Preferences-&amp;gt;Java-Installed JRE (do net be confused be "JRE" you need a JDK!)&lt;BR /&gt;Choose here the JDK 7 and after this setting you should see the source code.&lt;BR /&gt;But this will not help because you will only see in this case the code from an interface.&lt;BR /&gt;I suggest you add to your job a tJava and here we check some things:&lt;BR /&gt;1. The real Java version you use:&lt;BR /&gt;System.out.println(System.getProperty("java.version"));&lt;BR /&gt;2. I suggest you set the attributes from the database connection in context variables.&amp;nbsp;&lt;BR /&gt;I suggest you print them out here (only an example, it depends on you names):&lt;BR /&gt;System.out.println("Server:" + context.DB_Host);&amp;nbsp;</description>
      <pubDate>Thu, 05 Mar 2015 10:49:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleInput-ArrayIndexOutOfBoundsException/m-p/2251095#M35134</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-05T10:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleInput: ArrayIndexOutOfBoundsException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleInput-ArrayIndexOutOfBoundsException/m-p/2251096#M35135</link>
      <description>My TOS use a JRE. When it use a JDK, the job can't run : impossible to find or load the main class DMI.&lt;BR /&gt;The tjava in TOS, Linux and Windows write 1.7.0_51&lt;BR /&gt;The DB host is OK in the Java code. The job use 2 Oracle databases.</description>
      <pubDate>Thu, 05 Mar 2015 13:03:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleInput-ArrayIndexOutOfBoundsException/m-p/2251096#M35135</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-05T13:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleInput: ArrayIndexOutOfBoundsException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleInput-ArrayIndexOutOfBoundsException/m-p/2251097#M35136</link>
      <description>This looks like a problem in your Java installation. You can run the exported job also with the same JRE as the studio.
&lt;BR /&gt;To do this take care the JRE java binary is the one available over the PATH variable.
&lt;BR /&gt;I use Linux as normal job server and OSX as development workstation. No such problems so far.</description>
      <pubDate>Thu, 05 Mar 2015 13:07:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleInput-ArrayIndexOutOfBoundsException/m-p/2251097#M35136</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-05T13:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleInput: ArrayIndexOutOfBoundsException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleInput-ArrayIndexOutOfBoundsException/m-p/2251098#M35137</link>
      <description>Thank you Jlolling. I don't have the control on my Java installation, I will try to change this.</description>
      <pubDate>Thu, 05 Mar 2015 13:23:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleInput-ArrayIndexOutOfBoundsException/m-p/2251098#M35137</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-05T13:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleInput: ArrayIndexOutOfBoundsException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleInput-ArrayIndexOutOfBoundsException/m-p/2251099#M35138</link>
      <description>The start scripts in the standalone jobs usually only use java without path. You can change this by set the full path to the JRE java in the scripts.</description>
      <pubDate>Thu, 05 Mar 2015 13:32:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleInput-ArrayIndexOutOfBoundsException/m-p/2251099#M35138</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-05T13:32:42Z</dc:date>
    </item>
  </channel>
</rss>

