java.lang.ArrayIndexOutOfBoundsException: 1

Hibernate JIRA | Colin Wilson-Salt | 1 decade ago
  1. 0

    running "ant eg" on Hibernate 3.0 beta 1 gives an ArrayIndexOutOfBoundsException when generating the test data. The tables were created fine, it's the insertion of the test data that breaks. [java] Setting up some test data [java] 12:20:08,341 INFO DriverManagerConnectionProvider:147 - cleaning up connection pool: jdbc:oracle:thin:@xxx:1521:xxx [java] 12:20:08,697 ERROR AbstractBatcher:71 - Exception executing batch: [java] java.lang.ArrayIndexOutOfBoundsException: 1 [java] Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1 [java] at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:56) [java] at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:56) [java] at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:148) [java] at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:148) [java] at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:69) [java] at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:69) [java] at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:65) [java] at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:65) [java] at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:125) [java] at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:125) [java] at org.hibernate.persister.BasicEntityPersister.insert(BasicEntityPersister.java:1653) [java] at org.hibernate.persister.BasicEntityPersister.insert(BasicEntityPersister.java:1653) [java] at org.hibernate.persister.BasicEntityPersister.insert(BasicEntityPersister.java:2012) [java] at org.hibernate.persister.BasicEntityPersister.insert(BasicEntityPersister.java:2012) [java] at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:42) [java] at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:42) [java] at org.hibernate.impl.ActionQueue.executeActions(ActionQueue.java:232) [java] at org.hibernate.impl.ActionQueue.executeActions(ActionQueue.java:232) [java] at org.hibernate.impl.ActionQueue.executeActions(ActionQueue.java:137) [java] at org.hibernate.impl.ActionQueue.executeActions(ActionQueue.java:137) [java] at org.hibernate.event.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:255) [java] at org.hibernate.event.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:255) [java] at org.hibernate.event.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:26) [java] at org.hibernate.event.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:26) [java] at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:814) [java] at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:814) [java] at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:75) [java] at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:75) [java] at org.hibernate.auction.Main.createTestAuctions(Main.java:345) [java] at org.hibernate.auction.Main.createTestAuctions(Main.java:345) [java] at org.hibernate.auction.Main.main(Main.java:366) [java] at org.hibernate.auction.Main.main(Main.java:366) BUILD FAILED file:/home/colin/downloads/hibernate-3.0/build.xml:619: Java returned: 1 Total time: 4 seconds

    Hibernate JIRA | 1 decade ago | Colin Wilson-Salt
    java.lang.ArrayIndexOutOfBoundsException: 1
  2. 0

    running "ant eg" on Hibernate 3.0 beta 1 gives an ArrayIndexOutOfBoundsException when generating the test data. The tables were created fine, it's the insertion of the test data that breaks. [java] Setting up some test data [java] 12:20:08,341 INFO DriverManagerConnectionProvider:147 - cleaning up connection pool: jdbc:oracle:thin:@xxx:1521:xxx [java] 12:20:08,697 ERROR AbstractBatcher:71 - Exception executing batch: [java] java.lang.ArrayIndexOutOfBoundsException: 1 [java] Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1 [java] at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:56) [java] at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:56) [java] at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:148) [java] at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:148) [java] at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:69) [java] at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:69) [java] at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:65) [java] at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:65) [java] at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:125) [java] at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:125) [java] at org.hibernate.persister.BasicEntityPersister.insert(BasicEntityPersister.java:1653) [java] at org.hibernate.persister.BasicEntityPersister.insert(BasicEntityPersister.java:1653) [java] at org.hibernate.persister.BasicEntityPersister.insert(BasicEntityPersister.java:2012) [java] at org.hibernate.persister.BasicEntityPersister.insert(BasicEntityPersister.java:2012) [java] at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:42) [java] at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:42) [java] at org.hibernate.impl.ActionQueue.executeActions(ActionQueue.java:232) [java] at org.hibernate.impl.ActionQueue.executeActions(ActionQueue.java:232) [java] at org.hibernate.impl.ActionQueue.executeActions(ActionQueue.java:137) [java] at org.hibernate.impl.ActionQueue.executeActions(ActionQueue.java:137) [java] at org.hibernate.event.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:255) [java] at org.hibernate.event.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:255) [java] at org.hibernate.event.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:26) [java] at org.hibernate.event.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:26) [java] at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:814) [java] at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:814) [java] at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:75) [java] at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:75) [java] at org.hibernate.auction.Main.createTestAuctions(Main.java:345) [java] at org.hibernate.auction.Main.createTestAuctions(Main.java:345) [java] at org.hibernate.auction.Main.main(Main.java:366) [java] at org.hibernate.auction.Main.main(Main.java:366) BUILD FAILED file:/home/colin/downloads/hibernate-3.0/build.xml:619: Java returned: 1 Total time: 4 seconds

    Hibernate JIRA | 1 decade ago | Colin Wilson-Salt
    java.lang.ArrayIndexOutOfBoundsException: 1
  3. 0

    ArrayIndexOutOfBounds When Splitting String

    Stack Overflow | 4 years ago | n0shadow
    java.lang.ArrayIndexOutOfBoundsException: 1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ArrayIndexOutOfBoundsException occurring when program running

    Stack Overflow | 4 years ago | dharma
    java.lang.ArrayIndexOutOfBoundsException: 1
  6. 0

    Parsing Data from CSV to Array in Java

    Stack Overflow | 5 years ago
    java.lang.ArrayIndexOutOfBoundsException: 1

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      1

      at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch()
    2. Hibernate
      AbstractBatcher.prepareBatchStatement
      1. org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:56)
      2. org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:56)
      3. org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:148)
      4. org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:148)
      5. org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:69)
      6. org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:69)
      7. org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:65)
      8. org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:65)
      9. org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:125)
      10. org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:125)
      10 frames
    3. Hibernate
      SessionImpl.flush
      1. org.hibernate.persister.BasicEntityPersister.insert(BasicEntityPersister.java:1653)
      2. org.hibernate.persister.BasicEntityPersister.insert(BasicEntityPersister.java:1653)
      3. org.hibernate.persister.BasicEntityPersister.insert(BasicEntityPersister.java:2012)
      4. org.hibernate.persister.BasicEntityPersister.insert(BasicEntityPersister.java:2012)
      5. org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:42)
      6. org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:42)
      7. org.hibernate.impl.ActionQueue.executeActions(ActionQueue.java:232)
      8. org.hibernate.impl.ActionQueue.executeActions(ActionQueue.java:232)
      9. org.hibernate.impl.ActionQueue.executeActions(ActionQueue.java:137)
      10. org.hibernate.impl.ActionQueue.executeActions(ActionQueue.java:137)
      11. org.hibernate.event.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:255)
      12. org.hibernate.event.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:255)
      13. org.hibernate.event.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:26)
      14. org.hibernate.event.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:26)
      15. org.hibernate.impl.SessionImpl.flush(SessionImpl.java:814)
      16. org.hibernate.impl.SessionImpl.flush(SessionImpl.java:814)
      16 frames
    4. Hibernate
      JDBCTransaction.commit
      1. org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:75)
      2. org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:75)
      2 frames
    5. org.hibernate.auction
      Main.main
      1. org.hibernate.auction.Main.createTestAuctions(Main.java:345)
      2. org.hibernate.auction.Main.createTestAuctions(Main.java:345)
      3. org.hibernate.auction.Main.main(Main.java:366)
      4. org.hibernate.auction.Main.main(Main.java:366)
      4 frames