java.sql.BatchUpdateException: ORA-01400: cannot insert NULL into ("JOHNC"."BILL_PAYER_ACCOUNT"."ONLINE_BANK_KEY") FailedObjectArray: [au.com.bpay.ebpp.model.billpayeraccount.ejb.BillPayerAccountBean_1667511741_JDOState@a7bdcd]

Oracle Community | 807581 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    CMP find forces insert execution

    Oracle Community | 1 decade ago | 807581
    java.sql.BatchUpdateException: ORA-01400: cannot insert NULL into ("JOHNC"."BILL_PAYER_ACCOUNT"."ONLINE_BANK_KEY") FailedObjectArray: [au.com.bpay.ebpp.model.billpayeraccount.ejb.BillPayerAccountBean_1667511741_JDOState@a7bdcd]

    Root Cause Analysis

    1. java.sql.BatchUpdateException

      ORA-01400: cannot insert NULL into ("JOHNC"."BILL_PAYER_ACCOUNT"."ONLINE_BANK_KEY") FailedObjectArray: [au.com.bpay.ebpp.model.billpayeraccount.ejb.BillPayerAccountBean_1667511741_JDOState@a7bdcd]

      at com.sun.jdo.spi.persistence.support.sqlstore.SQLStoreManager.executeUpdateBatch()
    2. com.sun.jdo
      QueryImpl.execute
      1. com.sun.jdo.spi.persistence.support.sqlstore.SQLStoreManager.executeUpdateBatch(SQLStoreManager.java:1644)
      2. com.sun.jdo.spi.persistence.support.sqlstore.SQLStoreManager.executeBatch(SQLStoreManager.java:1559)
      3. com.sun.jdo.spi.persistence.support.sqlstore.SQLStateManager.updatePersistent(SQLStateManager.java:997)
      4. com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerImpl.beforeCompletion(PersistenceManagerImpl.java:1251)
      5. com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerImpl.internalFlush(PersistenceManagerImpl.java:1548)
      6. com.sun.jdo.spi.persistence.support.sqlstore.query.QueryImpl.flush(QueryImpl.java:678)
      7. com.sun.jdo.spi.persistence.support.sqlstore.query.QueryImpl.doExecute(QueryImpl.java:628)
      8. com.sun.jdo.spi.persistence.support.sqlstore.query.QueryImpl.execute(QueryImpl.java:455)
      8 frames
    3. au.com.bpay
      UnitTest.testCreate
      1. au.com.bpay.ebpp.model.onlinebank.ejb.OnlineBankBean1924225955_ConcreteImpl.ejbFindAll(OnlineBankBean1924225955_ConcreteImpl.java:1695)
      2. au.com.bpay.ebpp.model.onlinebank.ejb.OnlineBankBean1924225955_ConcreteImpl_LocalHomeImpl.findAll(OnlineBankBean1924225955_ConcreteImpl_LocalHomeImpl.java:102)
      3. au.com.bpay.ebpp.model.billpayeraccount.UnitTest.populate(UnitTest.java:138)
      4. au.com.bpay.ebpp.model.billpayeraccount.UnitTest.performCreate(UnitTest.java:116)
      5. au.com.bpay.ebpp.model.billpayeraccount.UnitTest.testCreate(UnitTest.java:53)
      5 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    5. JUnit
      TestSuite.run
      1. junit.framework.TestCase.runTest(TestCase.java:154)
      2. junit.framework.TestCase.runBare(TestCase.java:127)
      3. junit.framework.TestResult$1.protect(TestResult.java:106)
      4. junit.framework.TestResult.runProtected(TestResult.java:124)
      5. junit.framework.TestResult.run(TestResult.java:109)
      6. junit.framework.TestCase.run(TestCase.java:118)
      7. junit.framework.TestSuite.runTest(TestSuite.java:208)
      8. junit.framework.TestSuite.run(TestSuite.java:203)
      9. junit.framework.TestSuite.runTest(TestSuite.java:208)
      10. junit.framework.TestSuite.run(TestSuite.java:203)
      11. junit.framework.TestSuite.runTest(TestSuite.java:208)
      12. junit.framework.TestSuite.run(TestSuite.java:203)
      12 frames
    6. au.com.bpay
      TestSuiteProxy.run
      1. au.com.bpay.ebpp.junit.ejb.UnitTestServiceBean.runTestSuite(UnitTestServiceBean.java:131)
      2. au.com.bpay.ebpp.junit.ejb.UnitTestServiceBean.runTest(UnitTestServiceBean.java:118)
      3. au.com.bpay.ebpp.junit.ejb.UnitTestServiceBean_EJBObjectImpl.runTest(UnitTestServiceBean_EJBObjectImpl.java:26)
      4. au.com.bpay.ebpp.junit.ejb._UnitTestService_Stub.runTest(Unknown Source)
      5. au.com.bpay.ebpp.junit.UnitTestEjbClient.proxy(UnitTestEjbClient.java:77)
      6. au.com.bpay.ebpp.junit.EjbProxy.proxy(EjbProxy.java:47)
      7. au.com.bpay.ebpp.junit.TestSuiteProxy.run(TestSuiteProxy.java:50)
      7 frames
    7. JUnit
      TestSuite.run
      1. junit.framework.TestSuite.runTest(TestSuite.java:208)
      2. junit.framework.TestSuite.run(TestSuite.java:203)
      2 frames
    8. au.com.bpay
      UnitTestServlet.doPost
      1. au.com.bpay.ebpp.junit.UnitTestServlet.doPost(UnitTestServlet.java:255)
      1 frame
    9. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      2 frames
    10. Glassfish Core
      StandardWrapperValve.access$000
      1. org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
      2. org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
      2 frames