Hi
I am getting below error while making a copy of the forms:
An unexpected error has occurred. [LFF502-UnexpectedError]
Details:
URL: /Forms/webapi/v1/businessprocess?sourceId=27
Error: UnexpectedError
Date: 4/29/2017 9:24:19 PM (Mauritius Standard Time)
HTTP Status Code: 500
Business Process ID: 0
User: Admin
IP: 172.16.132.195
Browser: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; BRI/2; .NET4.0C; InfoPath.3; .NET4.0E; Tablet PC 2.0)
Business Process Name:
Stack Trace:
Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException
Message: An unexpected error has occurred. [LFF502-UnexpectedError]
Inner exception: System.ArgumentException
Message: Not found.
Parameter name: description
at Laserfiche.Forms.CommonUtils.EnumUtility.GetValueFromDescription[T](String description)
at Laserfiche.Forms.Api.DataContract.Variable.GetDataFromDb(member member)
at Laserfiche.Forms.Api.DataContract.Process.GetAllDataFromDb(cf_bp_processes cf_p, String[] elementsSelected, Boolean PopulateInternal, List`1 CollectionofSteps, Boolean hasCredential, HashSet`1 NeededTeams, HashSet`1 NeededBusinessRules)
at Laserfiche.Forms.Api.DataContract.Process.GetDataFromDb(cf_bp_processes cf_p, Boolean IncludeSteps, List`1 CollectionofSteps, Boolean hasCredential, HashSet`1 NeededTeams, HashSet`1 NeededBusinessRules)
at Laserfiche.Forms.Api.DataContract.BusinessProcess.GetAllDataFromDb(cf_business_processes cf_bp, String[] elementsSelected, Boolean IncludeProcesses, Dictionary`2 CollectionofProcesses, Boolean hasCredential)
at Laserfiche.Forms.Api.DataContract.BusinessProcess.GetDataFromDb(cf_business_processes cf_bp, Boolean IncludeProcesses, Dictionary`2 CollectionofProcesses, Boolean hasCredential)
at Laserfiche.Forms.Api.DataContract.BusinessProcess.GetDataFromDb(Int32 bp_id, Boolean IncludeProcesses, Dictionary`2 CollectionofProcesses, Boolean hasCredential)
at E_Forms.WebApi.Version1.Controllers.BusinessProcessController.Post(BusinessProcessDC bpToCreate, Nullable`1 sourceId, String template)
at lambda_method(Closure , Object , Object[] )
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)
--- 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.ApiControllerActionInvoker.<InvokeActionAsyncCore>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.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
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.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
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()
Its really difficult to understand the errors in laserfiche froms.
Please advise on how to troubleshoot LF forms errors
Regards
Sweety