[jira] [Created] (TORQUE-349) Runtime Exception during server startup - java.lang.RuntimeException (org.apache.torque.TorqueException: java.lang.ArrayIndexOutOfBoundsException)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[jira] [Created] (TORQUE-349) Runtime Exception during server startup - java.lang.RuntimeException (org.apache.torque.TorqueException: java.lang.ArrayIndexOutOfBoundsException)

JIRA jira@apache.org
Ramesh Uppalapati created TORQUE-349:
----------------------------------------

             Summary: Runtime Exception during server startup - java.lang.RuntimeException (org.apache.torque.TorqueException: java.lang.ArrayIndexOutOfBoundsException)
                 Key: TORQUE-349
                 URL: https://issues.apache.org/jira/browse/TORQUE-349
             Project: Torque
          Issue Type: Bug
          Components: Runtime
    Affects Versions: 3.3-RC2
         Environment: Tomcat 8/jdk 8 - Production environment
            Reporter: Ramesh Uppalapati


Getting ArrayIndexOutOfBoundsException on initial server startup in all instances. Below is the stack trace of the logs. Please help me I was unable to solve the issue after various debugs.

Maven Config
------------------------
<dependency>
      <groupId>org.apache.db.torque</groupId>
      <artifactId>runtime</artifactId>
      <version>3.3-RC2</version>
    </dependency>


08/30/16 11:35:20 [ConfigReinitDaemon] ERROR com.exostar.config.DbConfigLoader:Reload() excp:
java.lang.RuntimeException: org.apache.torque.TorqueException: java.lang.ArrayIndexOutOfBoundsException: 122
               at com.exostar.config.DbConfigLoader.buildMaps(DbConfigLoader.java:184)
               at com.exostar.config.DbConfigLoader.Reload(DbConfigLoader.java:136)
               at com.evincible.config.ConfigLoader.reloadAll(ConfigLoader.java:284)
               at com.evincible.config.ConfigLoader.reloadAllAndReinit(ConfigLoader.java:374)
               at com.evincible.config.ConfigLoader.checkReload(ConfigLoader.java:381)
               at com.evincible.config.ConfigReinitDaemon$ReloadWorker.run(ConfigReinitDaemon.java:74)
               at java.util.TimerThread.mainLoop(Timer.java:555)
               at java.util.TimerThread.run(Timer.java:505)
Caused by: org.apache.torque.TorqueException: java.lang.ArrayIndexOutOfBoundsException: 122
               at org.apache.torque.util.BasePeer.throwTorqueException(BasePeer.java:105)
               at org.apache.torque.util.BasePeer.getSelectResults(BasePeer.java:1024)
               at org.apache.torque.util.BasePeer.executeQuery(BasePeer.java:887)
               at org.apache.torque.util.BasePeer.doSelect(BasePeer.java:734)
               at org.apache.torque.util.BasePeer.doSelect(BasePeer.java:707)
               at com.exostar.config.om.base.BaseConfigItemPeer.doSelectVillageRecords(BaseConfigItemPeer.java:396)
               at com.exostar.config.om.base.BaseConfigItemPeer.doSelectVillageRecords(BaseConfigItemPeer.java:369)
               at com.exostar.config.om.base.BaseConfigItemPeer.doSelect(BaseConfigItemPeer.java:337)
               at com.exostar.config.om.base.BaseConfigBean.getConfigItems(BaseConfigBean.java:386)
               at com.exostar.config.om.base.BaseConfigBean.getConfigItems(BaseConfigBean.java:359)
               at com.exostar.config.DbConfigLoader.buildMaps(DbConfigLoader.java:177)
               ... 7 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 122
               at net.sourceforge.jtds.jdbc.TdsData.readData(TdsData.java:825)
               at net.sourceforge.jtds.jdbc.TdsCore.tdsRowToken(TdsCore.java:3175)
               at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2433)
               at net.sourceforge.jtds.jdbc.TdsCore.getNextRow(TdsCore.java:805)
               at net.sourceforge.jtds.jdbc.JtdsResultSet.next(JtdsResultSet.java:611)
               at com.workingdogs.village.DataSet.fetchRecords(DataSet.java:604)
               at com.workingdogs.village.DataSet.fetchRecords(DataSet.java:540)
               at com.workingdogs.village.DataSet.fetchRecords(DataSet.java:524)
               at org.apache.torque.util.BasePeer.getSelectResults(BasePeer.java:994)
               ... 16 more



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...