Failed to commit

0
I have some Objects already committed to Our Database. After some time I am changing some values and committed in Database but got this error(Sometimes it is coming ). This is not happening in the Local system. Mendix verson : 9.12.5   14:17:25APPERRORConnector: An error has occurred while handling the request. [User 'AE106' with session id '87365206-XXXX-XXXX-XXXX-XXXXXXXX606d' and roles 'CRO'] 14:17:25APPERRORConnector: com.mendix.modules.microflowengine.MicroflowException: Failed to commit 14:17:25APPINFOat SharedMaster.SUB_FinalInvoice (Change : 'Change 'QuickBilling' (isEdit, FE_IsInvoiceGenerated, AccountType, BillingDate, BillingNum)') 14:17:25APPINFOAdvanced stacktrace: 14:17:25APPINFOat com.mendix.modules.microflowengine.MicroflowUtil.processException(MicroflowUtil.java:83) 14:17:25APPINFOCaused by: com.mendix.core.CoreRuntimeException: Failed to commit 14:17:25APPINFOat com.mendix.basis.component.TransactionCore.commit(TransactionCore.scala:149) 14:17:25APPINFOCaused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.NullPointerException 14:17:25APPINFOat com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.scala:110) 14:17:25APPINFOCaused by: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.NullPointerException 14:17:25APPINFOat com.mendix.util.classloading.Runner$.withContextClassLoader(Runner.scala:23) 14:17:25APPINFOCaused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.NullPointerException 14:17:25APPINFOat com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.scala:110) 14:17:25APPINFOCaused by: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.NullPointerException 14:17:25APPINFOat com.mendix.util.classloading.Runner$.withContextClassLoader(Runner.scala:23) 14:17:25APPINFOCaused by: java.lang.NullPointerException: null
asked
1 answers
0

In SUB_FinalInvoice you’re changing your object, but the object is empty. Maybe you retrieved it earlier with constraints or over an association and didn’t check if there was a result.

answered