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

Question

Question

LFS crashing if dynamic field (Text) value is NULL

asked on September 10, 2020

I have an interesting situation and I don't know if it is version specific or something in my environment.  I just upgraded to LFS 10.4.3.106 and then edited an existing template to add dynamic fields.  It is an HR Template and I have the last name as the first field, so we select the Last Name and then the First Name list is filtered on the Last Name.  The EmployeeID list is filtered on the Last and First names and usually will auto populate but when there are duplicate names, the user will have to select the correct EmployeeID.  Then the Hire, Term, and Birth Dates, along with Status and Job Title fields are filtered on the EmployeeID.

After adding the Dynamic Fields, I started testing and any time I selected an Employee that had a Null Job Title in the DB, the Server crashes with no entries into any event logs.  If I create a view and do use a case statement to return '' (blank) when Null, then it works without crashing the LFS.

Has anybody else seen this?  Is this a bug in 10.4.3 or is it expected behavior?  Or maybe it is just something with my environment?

0 0

Replies

replied on September 10, 2020

Could you get a dump file from the crash and open a support case, please?

0 0
replied on September 21, 2020

Just to chime in here.

We upgraded Laserfiche over the weekend and ran into the exact same issue, but with existing external tables.

It should be pretty easy to reproduce to be honest. Just create a template with a single dynamic field that points to a table with null values in it. Then create a new document in the repository, open the metadata and assign the newly created template. The service immediately crashes at that time.

This happens with both clients, web and desktop.

Changing the null values in the database to blank values instead fixes (alleviates) the problem.

 

Below is the message in the event log:

-------------------------------------------------------------------------------------------

Faulting application name: lfs.exe, version: 10.4.3.106, time stamp: 0x5f36d838
Faulting module name: lfs.exe, version: 10.4.3.106, time stamp: 0x5f36d838
Exception code: 0xc0000005
Fault offset: 0x00000000000e18e3
Faulting process id: 0x165c
Faulting application start time: 0x01d6902ef41eff8d
Faulting application path: C:\Program Files\Laserfiche\Server\lfs.exe
Faulting module path: C:\Program Files\Laserfiche\Server\lfs.exe
Report Id: 23d2a99d-296b-4b07-8970-c62a192094a2
Faulting package full name: 
Faulting package-relative application ID: 

 

 

0 0
replied on September 24, 2020

We have seen this issue in a couple of support cases. Tech Support has a temporary fix they can provide. We are looking at patching the issue and rolling a fix into the 10.4.3 download package on next Patch Tuesday (Oct 13) so it automatically gets applied to new installs. We'll have a KB article up as soon as the patch is ready.

Reference ID # 268866.

0 0
replied on December 17, 2020

Hello Miruna,

Can you provide the KB Link please. 

I believe we have a customer hitting the same issue and they are also on version 10.4.3.106, which I see Boris is on, with same issue.

Thanks,
Jeff Curtis

0 0
replied on December 17, 2020 Show version history

https://support.laserfiche.com/kb/1014229

The fix is also included in the Laserfiche 10.4.3 package download as of October 13, 2020, so new installations will apply it automatically.

0 0
replied on December 17, 2020

Thanks Miruna!!

Jeff

0 0
replied on February 8, 2021

@████████I just upgraded a customer to version of 10.4.3.106 and this was still an issue.  I had to change any dynamic table with the possibility of returning NULL to a view that replaced the NULL with Blank to prevent the server from crashing whenever a document was opened that had dynamic field(s) with NULL as a possible value.

You are not allowed to follow up in this post.

Sign in to reply to this post.