RFD8500 throwing ObjectDisposedException

D Deanna Delapasse 3 years ago
1 0 0

Hi,
 
Apologies if this isn't the correct area to post, but I'm in a bit of a rush.  We have a hastily deployed app that uses the serial port to communicate to the Zebra RFD8500 scanner (not using SDK).  We are seeing very frequent exceptions thrown in the field with a stack trace of:
 
Exception info: System.ObjectDisposedException
     at System.Runtime.InteropServices.SafeHandle.DangerouAddRef(Boolean ByRef)
      at System.StubHelpers.StubHelpers.SafeHandleAddRef9System.Runtime.InteropServices.SafeHandle, Boolean ByRef)
     at Microsoft.Win32.UnsafeNativeMethods.GetOverlappedResult(Microsoft.Win32.SafeHandles.SafeFileHandle, System.Threading.NativeOverlapped*, Int32 ByRef Boolean)
     at System.IO.Ports.SerialStream+EventLooperRunner.WaitForCommEvent()
     at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
     ...
 
We are awaiting our second scanner to arrive so we can try and reproduce this, but thought I would post for any ideas you may have?
 
thanks in advance!

CONTACT
Can’t find what you’re looking for?