com.solarmetric.kodo.QueryCacheProperties: CacheSize=10000 And I'm getting the following exception: ORA-01400: cannot insert NULL into ("BOBCAT"."T_CONTRACTITEMPRICE"."ID_I")

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 3004, 1 year ago
CacheSize=10000 And I'm getting the following exception: ORA-01400: cannot insert NULL into ("BOBCAT"."T_CONTRACTITEMPRICE"."ID_I")
com.solarmetric.kodo.QueryCacheProperties: CacheSize=10000 And I'm getting the following exception: ORA-01400: cannot insert NULL into ("BOBCAT"."T_CONTRACTITEMPRICE"."ID_I")
at com.solarmetric.kodo.impl.jdbc.runtime.SQLExceptions.throwFatal(SQLExceptions.java:58)
at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.flush(JDBCStoreManager.java:559)
at com.solarmetric.kodo.runtime.datacache.DataCacheStoreManager.flush(DataCacheStoreManager.java:666)
at com.solarmetric.kodo.runtime.PersistenceManagerImpl.flushInternal(PersistenceManagerImpl.java:697)
at com.solarmetric.kodo.runtime.PersistenceManagerImpl.flush(PersistenceManagerImpl.java:666)
at com.solarmetric.kodo.query.QueryImpl.executeQueryWithMap(QueryImpl.java:666)
at com.solarmetric.kodo.query.QueryImpl.executeWithMap(QueryImpl.java:545)
at com.solarmetric.kodo.query.QueryImpl.executeWithArray(QueryImpl.java:531)
at com.solarmetric.kodo.query.QueryImpl.execute(QueryImpl.java:507)
at com.solarmetric.kodo.runtime.datacache.query.CacheAwareQuery.execute(CacheAwareQuery.java:298)
at com.bobcat.products.ItemPeer.findByContract(ItemPeer.java:39)
at com.bobcat.contract.Contract.getAllDiscountedItems(Contract.java:255)
at com.bobcat.contract.ContractDiscount.reGenerateContractItemPrices(ContractDiscount.java:78)
at com.bobcat.contract.swing.JContract$7.actionPerformed(JContract.java:202)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener..java:245)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.