java.lang.ArrayIndexOutOfBoundsException: -1

Oracle Community | 3004 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.ArrayIndexOutOfBoundsException

    -1

    at kodo.util.ApplicationIds.toPKValues()
  2. kodo.util
    ApplicationIds.toPKValues
    1. kodo.util.ApplicationIds.toPKValues(ApplicationIds.java:42)
    1 frame
  3. kodo.jdbc.sql
    Select.whereForeignKey
    1. kodo.jdbc.sql.Select.where(Select.java:1000)
    2. kodo.jdbc.sql.Select.wherePrimaryKey(Select.java:942)
    3. kodo.jdbc.sql.Select.whereForeignKey(Select.java:977)
    4. kodo.jdbc.sql.Select.whereForeignKey(Select.java:955)
    4 frames
  4. kodo.jdbc.meta
    OneToOneFieldMapping.load
    1. kodo.jdbc.meta.ReferenceFieldMapping.wherePrimaryKey(ReferenceFieldMapping.java:239)
    2. kodo.jdbc.meta.OneToOneFieldMapping.load(OneToOneFieldMapping.java:617)
    2 frames
  5. kodo.jdbc.runtime
    JDBCStoreManager.load
    1. kodo.jdbc.runtime.JDBCStoreManager.load(JDBCStoreManager.java:535)
    1 frame
  6. kodo.runtime
    StateManagerImpl.isLoaded
    1. kodo.runtime.DelegatingStoreManager.load(DelegatingStoreManager.java:133)
    2. kodo.runtime.ROPStoreManager.load(ROPStoreManager.java:79)
    3. kodo.runtime.StateManagerImpl.loadFields(StateManagerImpl.java:3000)
    4. kodo.runtime.StateManagerImpl.loadField(StateManagerImpl.java:3099)
    5. kodo.runtime.StateManagerImpl.isLoaded(StateManagerImpl.java:1294)
    5 frames
  7. com.abc.cosac
    CargoOperation.getReleaseParty
    1. com.abc.cosac.bs.cargooperation.domain.CargoOperation.jdoGetreleaseParty(CargoOperation.java)
    2. com.abc.cosac.bs.cargooperation.domain.CargoOperation.getReleaseParty(CargoOperation.java:362)
    2 frames
  8. com.abc.philip
    CargoOperationJdoTest.main
    1. com.abc.philip.CargoOperationJdoTest.testRetreieveCargoOperation(CargoOperationJdoTest.java:134)
    2. com.abc.philip.CargoOperationJdoTest.main(CargoOperationJdoTest.java:52)
    2 frames