Not sure why this happens - What version of Forms are you currently using? And have you done any customisation of any kind, which could have this side effect?
Also I'm wondering if perhaps the log file can provide some more insight? Do you see anything marked with "ERROR", which is related to this issue? You find the log file in /App_Data/Logs
Hi,
Umrbaco 7.10.4. Forms 7.02. This only happened for about a day, the new ones are approving. This has happened before too.
errors were:
The red error in Umbraco is:
Excuted Action: Failed to excute action Approve due to error: [object Object]
In web developer console:
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
/umbraco/backoffice/UmbracoForms/Record/PostExecuteRecordSetAction
The log error is:
System.NullReferenceException: Object reference not set to an instance of an object.
at Umbraco.Forms.Web.Services.RecordService.
2018-07-04 13:34:07,610 [P3920/D2/T26] ERROR Umbraco.Forms.Web.Editors.RecordController - Unhandled controller exception occurred
System.NullReferenceException: Object reference not set to an instance of an object.
at Umbraco.Forms.Web.Services.RecordService.
I am trying to approve form entries manually using a scheduler using "RecurringHostedServiceBase" but its throwing "Object reference not set to an instance of an object. " on approve method. Here is the method I am using
_recordService.Approve(record, form);
I confirm that _recordService, record and from parameters are not null.
What is this error that sometimes occurs when authorising form entries?
Hi, here is the red error:
Excuted Action: Failed to excute action Approve due to error: [object Object]
Does anyone know what this is?
Thanks
Hi Damon
Not sure why this happens - What version of Forms are you currently using? And have you done any customisation of any kind, which could have this side effect?
Also I'm wondering if perhaps the log file can provide some more insight? Do you see anything marked with "ERROR", which is related to this issue? You find the log file in /App_Data/Logs
Looking forward to hearing from you.
/Jan
Hi, Umrbaco 7.10.4. Forms 7.02. This only happened for about a day, the new ones are approving. This has happened before too. errors were:
The red error in Umbraco is:
Excuted Action: Failed to excute action Approve due to error: [object Object]
In web developer console: Failed to load resource: the server responded with a status of 500 (Internal Server Error) /umbraco/backoffice/UmbracoForms/Record/PostExecuteRecordSetAction
The log error is:
System.NullReferenceException: Object reference not set to an instance of an object. at Umbraco.Forms.Web.Services.RecordService.
Can you see the full log error? Not sure if it is showing.
2018-07-04 13:34:07,610 [P3920/D2/T26] ERROR Umbraco.Forms.Web.Editors.RecordController - Unhandled controller exception occurred System.NullReferenceException: Object reference not set to an instance of an object. at Umbraco.Forms.Web.Services.RecordService.
Any Update on this as I am facing same issue.
I am trying to approve form entries manually using a scheduler using "RecurringHostedServiceBase" but its throwing "Object reference not set to an instance of an object. " on approve method. Here is the method I am using
_recordService.Approve(record, form);
I confirm that _recordService, record and from parameters are not null.
waiting for quick response.
is working on a reply...