You are viewing limited content. For full access, please sign in.

Question

Question

Forms - ThrowOperationCanceledException

asked on March 9, 2017 Show version history

Any idea what this one means? Usually there is some mention of a an invalid field or something, its just gibberish to me.

 

Stack Trace:
Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException
Message: An unexpected error has occurred. [LFF502-UnexpectedError]


Inner exception: System.OperationCanceledException
Message: The operation was canceled.
   at System.Threading.CancellationToken.ThrowOperationCanceledException()
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()

0 0

Replies

replied on March 9, 2017

There are only two places called CancellationToken inside Forms: one is in the WebAPI internal functions, one is in the Laserfiche Forms Routing Service process overflow submissions.  Did you know in which situation you ran into this error?

0 0
replied on March 10, 2017

The user says when clicking the Approve button for certain but also at other random times.

What are overflow submissions?

0 0
replied on March 12, 2017

The overflow submissions is a mechanism for Laserfiche Forms Routing Service  to process the submissions later after user submit the form if it is busy at processing submissions now. Did the user see this error several times? Is the workload high for their Forms server?

0 0
replied on March 13, 2017

Oh, I didn't know the server might be overloaded. Which resource should I put a counter on, CPU? Doesn't it queue the request and continue when resources are available?

The user just started getting it on a regular basis, mostly while approving.

0 0
replied on March 13, 2017

You can check the CPU usage on that machine. It does queue the request and continue.  When user run into this error when approving, can the task be processed successfully?

0 0
replied on March 14, 2017

They can still use the product but about 35 times a day they run into this and it takes them out of the forms product to the generic unexpected error page. They must go back in and try again. I put a CPU counter on but they do have a quad core CPU, it should be plenty of power.

0 0
replied on March 14, 2017

Can you open a support case with detail information of the process and a video that record the issue so that we can do further trouble shooting? Thanks.

0 0
replied on March 27, 2017

hey Chad, quick question, what version of Laserfiche are you running?

The issue you're having sounds very similar to the one we are having, we've found out it happens when the user clicks the "Assign to me" button, can you confirm the same thing on your end?

0 0
replied on March 27, 2017

They are running 10.2. From what she showed me, it happens after they click assign to me, open the task, then click approve.

0 0
replied on March 28, 2017

Can you please paste the full error log from event log? The previous one missed the parts above the Stack Trace and we can't tell where the error is thrown out.

0 0
replied on January 23, 2018

I am running into the same issue with Forms 10.2.1.246. Is this fixed in 10.3? 

[502]: An unexpected error has occurred. [LFF502-UnexpectedError]

Details:
URL: /Forms/webapi/v1/Data?instanceId=1153&mode=variable&onlySummaryVariables=true
Error: UnexpectedError
Date: 1/23/2018 2:55:59 PM (Central Standard Time)
HTTP Status Code: 500
Business Process ID: 0
User: 
IP: 10.151.76.21
Browser: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Business Process Name: 

Stack Trace:
Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException
Message: An unexpected error has occurred. [LFF502-UnexpectedError]


Inner exception: System.OperationCanceledException
Message: The operation was canceled.
   at System.Threading.CancellationToken.ThrowOperationCanceledException()
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()

0 0
replied on June 8, 2018

Hi, We do see these errors consistently on our customers event log. What does processing overflow submissions mean?

1 0
replied on May 12, 2017

Was this ever resolved? Is it an issue with Forms 10.2?

0 0
replied on May 14, 2017

We were not able to reduce this issue internally so we haven't provide a fix yet. If you see this error, can you provide the detail stack trace from the error log and provide the steps you did when you ran into it?

0 0
replied on May 15, 2017

We haven't upgraded production yet - trying to find any issues that would be crippling to us before doing so.  But if I come across it - I'll let you know. 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.