Not able to raise an order from Mobile app, and getting an error,
Like
Hello,
To process the error you get while creating the order or synchronizing the mobile app, please click on Send report button so that we will be able to get a mobile bug report and analyze it.
Best regards,
Lily
Model Name: Redmi Note 4
Platform: Android
Platform Version: 7.0
Resolution: 360x640
IsOnlineMode: true
SyncInService: false
UIVersion: UIV2
ApplicationVersion: 7.12.2
ApplicationMajorVersion: 7.12
BackgroundSyncMode: Always
ServerUrl: https://017897-sales-enterprise.bpmonline.com/
ContactId: 76929f8c-7e15-4c64-bdb0-adc62d383727
CultureName: en-US
ApplicationRevision: 3
WorkplaceCode: FieldForceWorkplace
ProductInfo: {"ProductName":"bpm'online sales","ProductEdition":"enterprise","CustomerId":"303","Version":{"Major":7,"Minor":12,"Build":0,"Revision":2702,"MajorRevision":0,"MinorRevision":2702}}
CurrentDateTime: Fri Apr 06 2018 17:53:46 GMT+0530 (IST)
Type: Terrasoft.ODataException
Message: An error occurred while processing this request.
AdditionalInfo: {"error":{"code":"","message":{"lang":"en-US","value":"An error occurred while processing this request."},"innererror":{"message":"Object reference not set to an instance of an object.","type":"System.NullReferenceException","stacktrace":" at Terrasoft.Core.Entities.Services.ServiceContext.SaveChanges()\r\n at System.Data.Services.DataService`1.BatchDataService.HandleBatchContent(Stream responseStream)"}}}
Stack trace:
at Class.showException (file:///android_asset/www/appV2/Common/Terrasoft.Mobile.Combined.js:54762:42)
at Class.defaultExceptionHandler (file:///android_asset/www/appV2/MobileApp/app/controller/BaseConfigurationPageController.js:509:24)
at Class.onDataSavingFailed (file:///android_asset/www/appV2/MobileApp/app/controller/BaseRecordPageController.js:413:8)
at Object.callback (file:///android_asset/www/appV2/Common/lib/SenchaTouch/sencha-touch-all-debug.js:10397:26)
at Class.failure (file:///android_asset/www/appV2/Common/Terrasoft.Mobile.Combined.js:32658:9)
at Object.callback (file:///android_asset/www/appV2/Common/lib/SenchaTouch/sencha-touch-all-debug.js:10397:26)
at Class.callback (file:///android_asset/www/appV2/Common/lib/SenchaTouch/sencha-touch-all-debug.js:60355:21)
at Object.callback (file:///android_asset/www/appV2/Common/lib/SenchaTouch/sencha-touch-all-debug.js:10397:26)
at Class.processFailedResponse (file:///android_asset/www/appV2/Common/Terrasoft.Mobile.Combined.js:19582:7)
at Class.failure (file:///android_asset/www/appV2/Common/Terrasoft.Mobile.Combined.js:19713:10)
at Object.callback (file:///android_asset/www/appV2/Common/lib/SenchaTouch/sencha-touch-all-debug.js:10397:26)
at Object.requestItemFailure (file:///android_asset/www/appV2/Common/Terrasoft.Mobile.Combined.js:35748:12)
at Class.onRequestFailure (file:///android_asset/www/appV2/Common/Terrasoft.Mobile.Combined.js:35516:12)
at Object.callback (file:///android_asset/www/appV2/Common/lib/SenchaTouch/sencha-touch-all-debug.js:10397:26)
at Class.<anonymous> (file:///android_asset/www/appV2/Common/Terrasoft.Mobile.Combined.js:35752:10)
at Object.callback (file:///android_asset/www/appV2/Common/lib/SenchaTouch/sencha-touch-all-debug.js:10397:26)
at Class.callFailure (file:///android_asset/www/appV2/Common/Terrasoft.Mobile.Combined.js:36673:7)
at Class.<anonymous> (file:///android_asset/www/appV2/Common/Terrasoft.Mobile.Combined.js:36660:12)
at file:///android_asset/www/appV2/Common/lib/datajs/datajs-1.0.3.js:282:13
at XMLHttpRequest.xhr.onreadystatechange (file:///android_asset/www/appV2/Common/lib/datajs/datajs-1.0.3.js:1053:25)
Hello,
It seems that there are some errors in configuration. I recommend you to go to System designer -> Advanced settings -> Configuration and Compile all items. Then fix the errors if some occur. We also recommend to make sure that the details you added in the Mobile application wizard are added correctly.
Best regards,
Lily