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

Discussion

Discussion

Forms 12 - Unexpected Error

posted on November 6, 2024 Show version history

Today we upgraded to the new Forms 12 on our Forms Dev server. All the forms and workflows run well except for one. 

Basically, the form goes through several user tasks as part of an onboarding process. The first user task, Onboarding, completes as expected. Then the process waits for a workflow to complete. This signals the staff members probation date being reached and starts the second user task. Probation Review (x days), filling in the form fails upon submission. 

This is the Event Viewer log ..

An unexpected error has occurred. [LFF502-UnexpectedError]

Details:
URL: /Forms/form/submit?IsTriggerPublic=True
Error: UnexpectedError
Date: 7/11/2024 3:44:59 PM (W. Australia Standard Time)
HTTP Status Code: 500
Business Process ID: 139
User: RAAFAWA\jonathan.roberts
IP: 192.168.107.2
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0
Business Process Name: Onboarding & Probation Review(1)

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


Inner exception: System.ArgumentNullException
Message: Value cannot be null.
Parameter name: source
   at System.Linq.Enumerable.Where[TSource](IEnumerable`1 source, Func`2 predicate)
   at E_Forms.Models.ViewModels.Form.Submit.getLatestSubmissionData(cf_bp_worker_instnc_to_resume current)
   at E_Forms.Models.ViewModels.Form.Submit.ValidateForm(HttpRequestBase request, cf_forms form, Dictionary`2 Lookupdata, FormDataSet formdata, Dictionary`2 FieldsToIgnore, NameValueCollection formFields, Dictionary`2 ItemsInSection, Dictionary`2 submissionChoices, Mode mode)
   at E_Forms.Models.ViewModels.Form.Submit.RetrieveDataFromForm(HttpRequestBase request, FormDataSet formdata, List`1& NoChangedElements, Boolean SaveAll)
   at E_Forms.Controllers.FormController.Submit(FormCollection collection)
   at lambda_method(Closure , ControllerBase , Object[] )
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c.<BeginInvokeSynchronousActionMethod>b__9_0(IAsyncResult asyncResult, ActionInvocation innerInvokeState)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_0.<InvokeActionMethodFilterAsynchronouslyRecursive>b__0()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass3_6.<BeginInvokeAction>b__4()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass3_1.<BeginInvokeAction>b__1(IAsyncResult asyncResult)
 

 

The same form process works fine on our Prod Forms 11 server.

LFDS, Workflow, Repository and Forms (DEV) are all on LF12. 

1 0
replied on November 7, 2024

Hi Jonathan,

Can you please open a support ticket about this issue? Thanks.

1 0
replied on November 7, 2024

Thanks Rui,

I have reached out to our VAR to raise a support ticket :)

0 0
replied on November 7, 2024

The Laserfiche 12 package at https://support.laserfiche.com/download/4209/laserfiche-12 has been updated with a new build of Forms that contains a fix which should address this reported issue. Please download it and update the Forms application and confirm it resolves the matter for you.

2 0
replied on November 7, 2024

i am having the same error 
downloaded the new laserfihce 12 and now i am getting this error

0 0
replied on November 7, 2024

After mounting the ISO, copy the installation files from there to a local folder and rerun the setup. See if that is successful for you.

4 0
replied on November 7, 2024

Thanks for the help that worked ! :)

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

Sign in to reply to this post.