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

Question

Question

Caught exception ArgumentNullException, Message: Value cannot be null in WebLink

asked on August 13, 2024

I am seeing the following warning message a lot in the WebLink Operational logs on all of my WebLink servers.

Log Name:      Laserfiche-Portal-Server/Operational
Source:        Laserfiche-Portal-Server
Date:          8/13/2024 2:50:05 AM
Event ID:      14
Task Category: ImportantWarning
Level:         Warning
Keywords:      Session0,Session1,Session2,Session3
User:          IIS APPPOOL\WebLinkAppPool
Computer:      XXXX
Description:
Operation: /WebLink/Helper/TileData.aspx?repo=XXXX&docID=9815443&x=3&y=3&pageNum=4&scale=3368&ro=0&time=1723542556660&showAnn=1&pageID=16693928&search=90c12c8c-4c1e-4bfc-9493-341bc457e03d
  Message: Exception encountered, stack trace:
  WebLinkControls.Tiling.<ExtractImage>d__8.MoveNext
  System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start
  WebLinkControls.Tiling.TileRequestHandler.ExtractImage
  WebLinkControls.Tiling.<ProcessRequestAsync>d__7.MoveNext
  System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start
  WebLinkControls.Tiling.TileRequestHandler.ProcessRequestAsync
  System.Web.TaskAsyncHelper.BeginTask
  System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute
  System.Web.HttpApplication.ExecuteStepImpl
  System.Web.HttpApplication.ExecuteStep
  System.Web.PipelineStepManager.ResumeSteps
  System.Web.HttpApplication.BeginProcessRequestNotification
  System.Web.HttpRuntime.ProcessRequestNotificationPrivate
  System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper
  System.Web.Hosting.PipelineRuntime.ProcessRequestNotification
  System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion
  System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion
  System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper
  System.Web.Hosting.PipelineRuntime.ProcessRequestNotification
Exception details:
  Caught exception ArgumentNullException, Message: Value cannot be null.
Parameter name: session
  Stack trace:    at Laserfiche.RepositoryAccess.Volume.GetEffectiveRights(String volumeName, ISession session)
   at WebLinkControls.Tiling.ImageCache.<GetBitmapCacheEntryPath>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at WebLinkControls.Tiling.TileRequestHandler.<ExtractImage>d__8.MoveNext()

  Session: mtoc0nrz

Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Laserfiche-Portal-Server" Guid="{7DCFE07A-D2F9-5FCB-2720-8B35AC94BD41}" />
    <EventID>14</EventID>
    <Version>0</Version>
    <Level>3</Level>
    <Task>65520</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000f00000000000</Keywords>
    <TimeCreated SystemTime="2024-08-13T09:50:05.713773100Z" />
    <EventRecordID>240383</EventRecordID>
    <Correlation />
    <Execution ProcessID="6752" ThreadID="7096" />
    <Channel>Laserfiche-Portal-Server/Operational</Channel>
    <Computer>XXXX</Computer>
    <Security UserID="XXXX" />
  </System>
  <EventData>
    <Data Name="message">Operation: /WebLink/Helper/TileData.aspx?repo=XXXX&amp;docID=9815443&amp;x=3&amp;y=3&amp;pageNum=4&amp;scale=3368&amp;ro=0&amp;time=1723542556660&amp;showAnn=1&amp;pageID=16693928&amp;search=90c12c8c-4c1e-4bfc-9493-341bc457e03d
  Message: Exception encountered, stack trace:
  WebLinkControls.Tiling.&lt;ExtractImage&gt;d__8.MoveNext
  System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start
  WebLinkControls.Tiling.TileRequestHandler.ExtractImage
  WebLinkControls.Tiling.&lt;ProcessRequestAsync&gt;d__7.MoveNext
  System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start
  WebLinkControls.Tiling.TileRequestHandler.ProcessRequestAsync
  System.Web.TaskAsyncHelper.BeginTask
  System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute
  System.Web.HttpApplication.ExecuteStepImpl
  System.Web.HttpApplication.ExecuteStep
  System.Web.PipelineStepManager.ResumeSteps
  System.Web.HttpApplication.BeginProcessRequestNotification
  System.Web.HttpRuntime.ProcessRequestNotificationPrivate
  System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper
  System.Web.Hosting.PipelineRuntime.ProcessRequestNotification
  System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion
  System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion
  System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper
  System.Web.Hosting.PipelineRuntime.ProcessRequestNotification
Exception details:
  Caught exception ArgumentNullException, Message: Value cannot be null.
Parameter name: session
  Stack trace:    at Laserfiche.RepositoryAccess.Volume.GetEffectiveRights(String volumeName, ISession session)
   at WebLinkControls.Tiling.ImageCache.&lt;GetBitmapCacheEntryPath&gt;d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at WebLinkControls.Tiling.TileRequestHandler.&lt;ExtractImage&gt;d__8.MoveNext()

  Session: mtoc0nrz
</Data>
  </EventData>
</Event>

There is a one in the logs that is similar. The message part is the same but the entry itself is slightly different and happens at the same time as the one above.

Log Name:      Laserfiche-Portal-Server/Operational
Source:        Laserfiche-Portal-Server
Date:          8/13/2024 2:50:05 AM
Event ID:      14
Task Category: ImportantWarning
Level:         Warning
Keywords:      Session0,Session1,Session2,Session3
User:          IIS APPPOOL\WebLinkAppPool
Computer:      XXXX
Description:
Operation: /WebLink/Helper/TileData.aspx?repo=XXXX&docID=9815443&x=1&y=0&pageNum=4&scale=3368&ro=0&time=1723542556660&showAnn=1&pageID=16693928&search=90c12c8c-4c1e-4bfc-9493-341bc457e03d
  Message: Exception encountered, stack trace:
  WebLinkControls.Tiling.<ProcessRequestAsync>d__7.MoveNext
  System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start
  WebLinkControls.Tiling.TileRequestHandler.ProcessRequestAsync
  System.Web.TaskAsyncHelper.BeginTask
  System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute
  System.Web.HttpApplication.ExecuteStepImpl
  System.Web.HttpApplication.ExecuteStep
  System.Web.PipelineStepManager.ResumeSteps
  System.Web.HttpApplication.BeginProcessRequestNotification
  System.Web.HttpRuntime.ProcessRequestNotificationPrivate
  System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper
  System.Web.Hosting.PipelineRuntime.ProcessRequestNotification
  System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion
  System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion
  System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper
  System.Web.Hosting.PipelineRuntime.ProcessRequestNotification
Exception details:
  Caught exception ArgumentNullException, Message: Value cannot be null.
Parameter name: session
  Stack trace:    at Laserfiche.RepositoryAccess.Volume.GetEffectiveRights(String volumeName, ISession session)
   at WebLinkControls.Tiling.ImageCache.<GetBitmapCacheEntryPath>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at WebLinkControls.Tiling.TileRequestHandler.<ExtractImage>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at WebLinkControls.Tiling.TileRequestHandler.<ProcessRequestAsync>d__7.MoveNext()

  Session: mtoc0nrz

Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Laserfiche-Portal-Server" Guid="{7DCFE07A-D2F9-5FCB-2720-8B35AC94BD41}" />
    <EventID>14</EventID>
    <Version>0</Version>
    <Level>3</Level>
    <Task>65520</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000f00000000000</Keywords>
    <TimeCreated SystemTime="2024-08-13T09:50:05.713484000Z" />
    <EventRecordID>240382</EventRecordID>
    <Correlation />
    <Execution ProcessID="6752" ThreadID="6580" />
    <Channel>Laserfiche-Portal-Server/Operational</Channel>
    <Computer>XXXX</Computer>
    <Security UserID="XXXX" />
  </System>
  <EventData>
    <Data Name="message">Operation: /WebLink/Helper/TileData.aspx?repo=XXXX&amp;docID=9815443&amp;x=1&amp;y=0&amp;pageNum=4&amp;scale=3368&amp;ro=0&amp;time=1723542556660&amp;showAnn=1&amp;pageID=16693928&amp;search=90c12c8c-4c1e-4bfc-9493-341bc457e03d
  Message: Exception encountered, stack trace:
  WebLinkControls.Tiling.&lt;ProcessRequestAsync&gt;d__7.MoveNext
  System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start
  WebLinkControls.Tiling.TileRequestHandler.ProcessRequestAsync
  System.Web.TaskAsyncHelper.BeginTask
  System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute
  System.Web.HttpApplication.ExecuteStepImpl
  System.Web.HttpApplication.ExecuteStep
  System.Web.PipelineStepManager.ResumeSteps
  System.Web.HttpApplication.BeginProcessRequestNotification
  System.Web.HttpRuntime.ProcessRequestNotificationPrivate
  System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper
  System.Web.Hosting.PipelineRuntime.ProcessRequestNotification
  System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion
  System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion
  System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper
  System.Web.Hosting.PipelineRuntime.ProcessRequestNotification
Exception details:
  Caught exception ArgumentNullException, Message: Value cannot be null.
Parameter name: session
  Stack trace:    at Laserfiche.RepositoryAccess.Volume.GetEffectiveRights(String volumeName, ISession session)
   at WebLinkControls.Tiling.ImageCache.&lt;GetBitmapCacheEntryPath&gt;d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at WebLinkControls.Tiling.TileRequestHandler.&lt;ExtractImage&gt;d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at WebLinkControls.Tiling.TileRequestHandler.&lt;ProcessRequestAsync&gt;d__7.MoveNext()

  Session: mtoc0nrz
</Data>
  </EventData>
</Event>

Any idea what would cause these messages? These errors are happening after applying the hotfix KB1014527. I do not know if they were happening before the hotfix was applied.

We are running WebLink version 11.0.2307.136.

0 0

Replies

replied on August 13, 2024 Show version history

Since it was the first question I was going to ask, re:

These errors are happening after applying the hotfix KB1014527. I do not know if they were happening before the hotfix was applied.

Assuming you don't know because the logs rolled over too quickly, I'd highly recommend increasing the size of your Laserfiche event logs by 10-100x (add one or two zeroes). That'll bump most of them from 1 MB to 10 or 100 MB, which isn't much storage usage on a modern system vs the utility of longer event log histories in cases like this.

Ex.:

0 0
replied on August 22, 2024

I have opened a support ticket with our Solution Provider. I will update this post as I learn more.

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

Sign in to reply to this post.