Hello. Keyocera FS-1020MFP. I immediately get an error in WIA. In all TWAIN modes, scanning works, but NAPS freezes when transferring data from the scanner. I tried Windows 7 32 and Windows 11 6
7 32
NAPS2.Wia.WiaException: WIA error code 80004005
at bool NAPS2.Wia.WiaTransfer.Download()
at void NAPS2.Scan.Internal.Wia.WiaScanDriver+WiaScanContext.DoTransfer(WiaDevice device, WiaItem item)
at async Task NAPS2.Scan.Internal.Wia.WiaScanDriver+WiaScanContext.Scan(WiaVersion wiaVersion)
at async Task NAPS2.Scan.Internal.Wia.WiaScanDriver.Scan(ScanOptions options, CancellationToken cancelToken, IScanEvents scanEvents, Action<imemoryimage> callback)+(?) => { }
11 64
NAPS2.Wia.WiaException: WIA error code 80004005
at void NAPS2.Wia.WiaException.Check(uint hresult)
at bool NAPS2.Wia.WiaTransfer.Download()
at void NAPS2.Scan.Internal.Wia.WiaScanDriver+WiaScanContext.DoTransfer(WiaDevice device, WiaItem item)
at async Task NAPS2.Scan.Internal.Wia.WiaScanDriver+WiaScanContext.Scan(WiaVersion wiaVersion)
at async Task NAPS2.Scan.Internal.Wia.WiaScanDriver.Scan(ScanOptions options, CancellationToken cancelToken, IScanEvents scanEvents, Action<imemoryimage> callback)+(?) => { }</imemoryimage></imemoryimage>
2026-03-03 14:44:21.9949 7196 Ошибка драйвера сканирования. NAPS2.Wia.WiaException: WIA error code 80004005
at void NAPS2.Wia.WiaException.Check(uint hresult)
at bool NAPS2.Wia.WiaTransfer.Download()
at void NAPS2.Scan.Internal.Wia.WiaScanDriver+WiaScanContext.DoTransfer(WiaDevice device, WiaItem item)
at async Task NAPS2.Scan.Internal.Wia.WiaScanDriver+WiaScanContext.Scan(WiaVersion wiaVersion)
at async Task NAPS2.Scan.Internal.Wia.WiaScanDriver.Scan(ScanOptions options, CancellationToken cancelToken, IScanEvents scanEvents, Action<imemoryimage> callback)+(?) => { }
2026-03-03 14:45:32.3819 11664 Error in invoked action System.NullReferenceException: Object reference not set to an instance of an object.
at ReturnCode NTwain.Triplets.PendingXfers.EndXfer(TWPendingXfers pendingXfers)
at void NTwain.Internals.TransferLogic.DoTransferRoutine(ITwainSessionInternal session)
at void NTwain.TwainSession.HandleSourceMsg(Message msg)
at ReturnCode NTwain.TwainSession.HandleCallback(TWIdentity origin, TWIdentity destination, DataGroups dg, DataArgumentType dat, Message msg, IntPtr data)+() => { } [1]
at void NAPS2.Platform.Windows.Win32MessagePump.RunQueuedActions()
2026-03-03 14:46:26.0286 7776 Error in invoked action System.NullReferenceException: Object reference not set to an instance of an object.
at ReturnCode NTwain.Triplets.PendingXfers.EndXfer(TWPendingXfers pendingXfers)
at void NTwain.Internals.TransferLogic.DoTransferRoutine(ITwainSessionInternal session)
at void NTwain.TwainSession.HandleSourceMsg(Message msg)
at ReturnCode NTwain.TwainSession.HandleCallback(TWIdentity origin, TWIdentity destination, DataGroups dg, DataArgumentType dat, Message msg, IntPtr data)+() => { } [1]
at void NAPS2.Platform.Windows.Win32MessagePump.RunQueuedActions()
2026-03-03 14:49:21.6190 17228 Error in invoked action System.NullReferenceException: Object reference not set to an instance of an object.
at ReturnCode NTwain.Triplets.PendingXfers.EndXfer(TWPendingXfers pendingXfers)
at void NTwain.Internals.TransferLogic.DoTransferRoutine(ITwainSessionInternal session)
at void NTwain.TwainSession.HandleSourceMsg(Message msg)
at ReturnCode NTwain.TwainSession.HandleCallback(TWIdentity origin, TWIdentity destination, DataGroups dg, DataArgumentType dat, Message msg, IntPtr data)+() => { } [1]
at void NAPS2.Platform.Windows.Win32MessagePump.RunQueuedActions()
2026-03-03 14:49:58.3237 11880 Error in invoked action System.NullReferenceException: Object reference not set to an instance of an object.
at ReturnCode NTwain.Triplets.PendingXfers.EndXfer(TWPendingXfers pendingXfers)
at void NTwain.Internals.TransferLogic.DoTransferRoutine(ITwainSessionInternal session)
at void NTwain.TwainSession.HandleSourceMsg(Message msg)
at ReturnCode NTwain.TwainSession.HandleCallback(TWIdentity origin, TWIdentity destination, DataGroups dg, DataArgumentType dat, Message msg, IntPtr data)+() => { } [1]
at void NAPS2.Platform.Windows.Win32MessagePump.RunQueuedActions()
2026-03-03 14:50:30.2772 12500 Error in invoked action System.NullReferenceException: Object reference not set to an instance of an object.
at ReturnCode NTwain.Triplets.PendingXfers.EndXfer(TWPendingXfers pendingXfers)
at void NTwain.Internals.TransferLogic.DoTransferRoutine(ITwainSessionInternal session)
at void NTwain.TwainSession.HandleSourceMsg(Message msg)
at ReturnCode NTwain.TwainSession.HandleCallback(TWIdentity origin, TWIdentity destination, DataGroups dg, DataArgumentType dat, Message msg, IntPtr data)+() => { } [1]
at void NAPS2.Platform.Windows.Win32MessagePump.RunQueuedActions()
2026-03-03 14:51:13.0269 14324 Error in message loop System.NullReferenceException: Object reference not set to an instance of an object.
at ReturnCode NTwain.Triplets.PendingXfers.EndXfer(TWPendingXfers pendingXfers)
at void NTwain.Internals.TransferLogic.DoTransferRoutine(ITwainSessionInternal session)
at void NTwain.TwainSession.HandleSourceMsg(Message msg)
at bool NTwain.TwainSession.IsTwainMessage(IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam)
at void NAPS2.Platform.Windows.Win32MessagePump.RunMessageLoop()</imemoryimage>
2026-03-03 13:26:18.0432 6708 Debug: Using new dsm.
2026-03-03 13:26:18.1718 6708 Debug: Thread 1: OpenManager.
2026-03-03 13:26:18.7325 6708 Debug: Using TWAIN2 memory functions.
2026-03-03 13:26:18.7325 6708 Debug: Source id = 1
2026-03-03 13:26:18.7325 6708 Debug: Source id = 2
2026-03-03 13:26:18.7325 6708 Debug: Thread 1: CloseManager.
2026-03-03 14:38:50.1116 8772 Debug: Using new dsm.
2026-03-03 14:38:50.2433 8772 Debug: Thread 1: OpenManager.
2026-03-03 14:38:50.2804 8772 Debug: Using TWAIN2 memory functions.
2026-03-03 14:38:50.2804 8772 Debug: Source id = 1
2026-03-03 14:38:50.2804 8772 Debug: Source id = 2
2026-03-03 14:38:50.2804 8772 Debug: Thread 1: CloseManager.
2026-03-03 14:41:17.6573 15716 Debug: Using new dsm.
2026-03-03 14:41:17.7947 15716 Debug: Thread 1: OpenManager.
2026-03-03 14:41:17.8900 15716 Debug: Using TWAIN2 memory functions.
2026-03-03 14:41:17.8938 15716 Debug: Source id = 1
2026-03-03 14:41:17.8938 15716 Debug: Source id = 2
2026-03-03 14:41:17.8938 15716 Debug: Source id = 3
2026-03-03 14:41:17.8938 15716 Debug: Thread 1: CloseManager.
2026-03-03 14:41:22.8521 17336 Debug: Using new dsm.
2026-03-03 14:41:22.9946 17336 Debug: Thread 1: OpenManager.
2026-03-03 14:41:23.0389 17336 Debug: Using TWAIN2 memory functions.
2026-03-03 14:41:23.0415 17336 Debug: Source id = 1
2026-03-03 14:41:23.0415 17336 Debug: Source id = 2
2026-03-03 14:41:23.0415 17336 Debug: Thread 1: OpenSource.
2026-03-03 14:41:23.0744 17336 Debug: Registered callback2 OK.
2026-03-03 14:41:23.1599 17336 Debug: Thread 1: CloseSource.
2026-03-03 14:41:23.1599 17336 Debug: Thread 1: CloseManager.
2026-03-03 14:41:25.8387 15944 Debug: Using new dsm.
2026-03-03 14:41:25.9642 15944 Using TWAIN DSM: C:\Program Files\NAPS2\lib_win32\twaindsm.dll
2026-03-03 14:41:25.9642 15944 NAPS2.TW - Opening session
2026-03-03 14:41:25.9788 15944 Debug: Thread 1: OpenManager.
2026-03-03 14:41:26.0159 15944 NAPS2.TW - StateChanged (to 3)
2026-03-03 14:41:26.0159 15944 Debug: Using TWAIN2 memory functions.
2026-03-03 14:41:26.0159 15944 NAPS2.TW - Finding source
2026-03-03 14:41:26.0159 15944 Debug: Source id = 1
2026-03-03 14:41:26.0159 15944 Debug: Source id = 2
2026-03-03 14:41:26.0159 15944 NAPS2.TW - Opening source
2026-03-03 14:41:26.0543 15944 NAPS2.TW - Name: Kyocera FS-1020MFP TWAIN; Manu: TWAIN Working Group; Family: KYOCERA CORPORATION; Version: 3.0 Version 2.000; Protocol: 1.8
2026-03-03 14:41:26.0543 15944 Debug: Thread 1: OpenSource.
2026-03-03 14:41:26.0646 15944 NAPS2.TW - StateChanged (to 4)
2026-03-03 14:41:26.0646 15944 Debug: Registered callback2 OK.
2026-03-03 14:41:26.0646 15944 NAPS2.TW - Configuring source
2026-03-03 14:41:26.0739 15944 Defaulting to Memory transfer mode.
2026-03-03 14:41:26.0739 15944 Transfer mode: Memory
2026-03-03 14:41:26.1255 15944 NAPS2.TW - Enabling source
2026-03-03 14:41:26.1255 15944 Debug: Thread 1: EnableSource with NoUI.
2026-03-03 14:41:27.4899 15944 NAPS2.TW - StateChanged (to 5)
2026-03-03 14:41:40.6975 15944 Debug: Thread 1: CallbackHandler at state 5 with MSG=XferReady.
2026-03-03 14:41:40.6975 15944 Debug: Got TWAIN msg XferReady
2026-03-03 14:41:40.6975 15944 NAPS2.TW - StateChanged (to 6)
2026-03-03 14:42:06.7204 15944 NAPS2.TW - Finishing with cancellation
2026-03-03 14:42:06.7204 15944 Debug: Thread 1: ForceStepDown.
2026-03-03 14:42:07.2636 15944 Debug: Thread 1: DisableSource.
2026-03-03 14:42:07.7898 15944 Debug: Thread 1: CallbackHandler at state 6 with MSG=CloseDSReq.
2026-03-03 14:42:07.7898 15944 NAPS2.TW - StateChanged (to 4)
2026-03-03 14:42:07.7907 15944 NAPS2.TW - SourceDisabled
2026-03-03 14:42:07.7907 15944 Debug: Thread 1: CloseSource.
2026-03-03 14:42:07.7907 15944 NAPS2.TW - StateChanged (to 3)
2026-03-03 14:42:07.7907 15944 Debug: Thread 1: CloseManager.
2026-03-03 14:42:07.7907 15944 NAPS2.TW - StateChanged (to 2)
2026-03-03 14:44:15.8775 12260 Debug: Using new dsm.
2026-03-03 14:44:16.0089 12260 Debug: Thread 1: OpenManager.
2026-03-03 14:44:16.0519 12260 Debug: Using TWAIN2 memory functions.
2026-03-03 14:44:16.0573 12260 Debug: Source id = 1
2026-03-03 14:44:16.0573 12260 Debug: Source id = 2
2026-03-03 14:44:16.0573 12260 Debug: Source id = 3
2026-03-03 14:44:16.0573 12260 Debug: Thread 1: CloseManager.
2026-03-03 14:44:16.8776 15240 Debug: Using new dsm.
2026-03-03 14:44:17.0030 15240 Debug: Thread 1: OpenManager.
2026-03-03 14:44:17.0442 15240 Debug: Using TWAIN2 memory functions.
2026-03-03 14:44:17.0442 15240 Debug: Source id = 1
2026-03-03 14:44:17.0442 15240 Debug: Source id = 2
2026-03-03 14:44:17.0442 15240 Debug: Source id = 3
2026-03-03 14:44:17.0442 15240 Debug: Thread 1: CloseManager.
2026-03-03 14:45:01.2136 16616 Debug: Using new dsm.
2026-03-03 14:45:01.3340 16616 Debug: Thread 1: OpenManager.
2026-03-03 14:45:01.3720 16616 Debug: Using TWAIN2 memory functions.
2026-03-03 14:45:01.3720 16616 Debug: Source id = 1
2026-03-03 14:45:01.3720 16616 Debug: Source id = 2
2026-03-03 14:45:01.3720 16616 Debug: Source id = 3
2026-03-03 14:45:01.3720 16616 Debug: Thread 1: CloseManager.
2026-03-03 14:45:04.9041 4360 Debug: Using new dsm.
2026-03-03 14:45:05.0340 4360 Debug: Thread 1: OpenManager.
2026-03-03 14:45:05.0719 4360 Debug: Using TWAIN2 memory functions.
2026-03-03 14:45:05.0745 4360 Debug: Source id = 1
2026-03-03 14:45:05.0745 4360 Debug: Source id = 2
2026-03-03 14:45:05.0745 4360 Debug: Thread 1: OpenSource.
2026-03-03 14:45:05.0745 4360 Debug: Registered callback2 OK.
2026-03-03 14:45:05.1446 4360 Debug: Thread 1: CloseSource.
2026-03-03 14:45:05.1446 4360 Debug: Thread 1: CloseManager.
2026-03-03 14:45:07.8293 11664 Debug: Using new dsm.
2026-03-03 14:45:07.9460 11664 Using TWAIN DSM: C:\Program Files\NAPS2\lib_win32\twaindsm.dll
2026-03-03 14:45:07.9522 11664 NAPS2.TW - Opening session
2026-03-03 14:45:07.9522 11664 Debug: Thread 1: OpenManager.
2026-03-03 14:45:07.9929 11664 NAPS2.TW - StateChanged (to 3)
2026-03-03 14:45:07.9972 11664 Debug: Using TWAIN2 memory functions.
2026-03-03 14:45:07.9972 11664 NAPS2.TW - Finding source
2026-03-03 14:45:07.9972 11664 Debug: Source id = 1
2026-03-03 14:45:07.9972 11664 Debug: Source id = 2
2026-03-03 14:45:07.9972 11664 NAPS2.TW - Opening source
2026-03-03 14:45:08.0254 11664 NAPS2.TW - Name: Kyocera FS-1020MFP TWAIN; Manu: TWAIN Working Group; Family: KYOCERA CORPORATION; Version: 3.0 Version 2.000; Protocol: 1.8
2026-03-03 14:45:08.0254 11664 Debug: Thread 1: OpenSource.
2026-03-03 14:45:08.0254 11664 NAPS2.TW - StateChanged (to 4)
2026-03-03 14:45:08.0254 11664 Debug: Registered callback2 OK.
2026-03-03 14:45:08.0254 11664 NAPS2.TW - Configuring source
2026-03-03 14:45:08.0454 11664 Defaulting to Memory transfer mode.
2026-03-03 14:45:08.0454 11664 Transfer mode: Memory
2026-03-03 14:45:08.0902 11664 NAPS2.TW - Enabling source
2026-03-03 14:45:08.0902 11664 Debug: Thread 1: EnableSource with NoUI.
2026-03-03 14:45:09.3797 11664 NAPS2.TW - StateChanged (to 5)
2026-03-03 14:45:22.6579 11664 Debug: Thread 1: CallbackHandler at state 5 with MSG=XferReady.
2026-03-03 14:45:22.6579 11664 Debug: Got TWAIN msg XferReady
2026-03-03 14:45:22.6579 11664 NAPS2.TW - StateChanged (to 6)
2026-03-03 14:45:31.4302 11664 Debug: Trying to raise event TransferReadyEventArgs on thread 1 without sync.
2026-03-03 14:45:31.4302 11664 NAPS2.TW - TransferReady
2026-03-03 14:45:31.4475 11664 Debug: Trying to raise event TransferErrorEventArgs on thread 1 without sync.
2026-03-03 14:45:31.4475 11664 NAPS2.TW - TransferError
2026-03-03 14:45:31.4475 11664 NAPS2.TW - Finishing with error NAPS2.Scan.Exceptions.AlreadyHandledDriverException: Exception of type 'NAPS2.Scan.Exceptions.AlreadyHandledDriverException' was thrown.
2026-03-03 14:45:31.4747 11664 Debug: Thread 1: ForceStepDown.
2026-03-03 14:45:31.9837 11664 Debug: Thread 1: DisableSource.
2026-03-03 14:45:32.3819 11664 Debug: Thread 1: CallbackHandler at state 6 with MSG=CloseDSReq.
2026-03-03 14:45:32.3819 11664 NAPS2.TW - StateChanged (to 4)
2026-03-03 14:45:32.3819 11664 NAPS2.TW - SourceDisabled
2026-03-03 14:45:32.3819 11664 Debug: Thread 1: CloseSource.
2026-03-03 14:45:32.3819 11664 NAPS2.TW - StateChanged (to 3)
2026-03-03 14:45:32.3819 11664 Debug: Thread 1: CloseManager.
2026-03-03 14:45:32.3819 11664 NAPS2.TW - StateChanged (to 2)
2026-03-03 14:45:32.3819 11664 NAPS2.TW - StateChanged (to 6)
2026-03-03 14:45:32.3819 11664 Error in invoked action System.NullReferenceException: Object reference not set to an instance of an object.
at ReturnCode NTwain.Triplets.PendingXfers.EndXfer(TWPendingXfers pendingXfers)
at void NTwain.Internals.TransferLogic.DoTransferRoutine(ITwainSessionInternal session)
at void NTwain.TwainSession.HandleSourceMsg(Message msg)
at ReturnCode NTwain.TwainSession.HandleCallback(TWIdentity origin, TWIdentity destination, DataGroups dg, DataArgumentType dat, Message msg, IntPtr data)+() => { } [1]
at void NAPS2.Platform.Windows.Win32MessagePump.RunQueuedActions()
2026-03-03 14:45:32.4721 11664 Debug: Got TWAIN msg CloseDSReq
2026-03-03 14:45:32.4721 11664 NAPS2.TW - Finishing with completion
2026-03-03 14:45:32.4721 11664 Debug: Thread 1: ForceStepDown.
2026-03-03 14:46:01.6761 7776 Debug: Using new dsm.
2026-03-03 14:46:01.7959 7776 Using TWAIN DSM: C:\Program Files\NAPS2\lib_win32\twaindsm.dll
2026-03-03 14:46:01.7959 7776 NAPS2.TW - Opening session
2026-03-03 14:46:01.8096 7776 Debug: Thread 1: OpenManager.
2026-03-03 14:46:01.8467 7776 NAPS2.TW - StateChanged (to 3)
2026-03-03 14:46:01.8467 7776 Debug: Using TWAIN2 memory functions.
2026-03-03 14:46:01.8467 7776 NAPS2.TW - Finding source
2026-03-03 14:46:01.8539 7776 Debug: Source id = 1
2026-03-03 14:46:01.8539 7776 Debug: Source id = 2
2026-03-03 14:46:01.8539 7776 NAPS2.TW - Opening source
2026-03-03 14:46:01.8783 7776 NAPS2.TW - Name: Kyocera FS-1020MFP TWAIN; Manu: TWAIN Working Group; Family: KYOCERA CORPORATION; Version: 3.0 Version 2.000; Protocol: 1.8
2026-03-03 14:46:01.8783 7776 Debug: Thread 1: OpenSource.
2026-03-03 14:46:01.8890 7776 NAPS2.TW - StateChanged (to 4)
2026-03-03 14:46:01.8890 7776 Debug: Registered callback2 OK.
2026-03-03 14:46:01.8890 7776 NAPS2.TW - Configuring source
2026-03-03 14:46:01.8890 7776 Defaulting to Memory transfer mode.
2026-03-03 14:46:01.8890 7776 Transfer mode: Memory
2026-03-03 14:46:01.9403 7776 NAPS2.TW - Enabling source
2026-03-03 14:46:01.9403 7776 Debug: Thread 1: EnableSource with NoUI.
2026-03-03 14:46:02.6871 7776 NAPS2.TW - StateChanged (to 5)
2026-03-03 14:46:16.0558 7776 Debug: Thread 1: CallbackHandler at state 5 with MSG=XferReady.
2026-03-03 14:46:16.0616 7776 Debug: Got TWAIN msg XferReady
2026-03-03 14:46:16.0616 7776 NAPS2.TW - StateChanged (to 6)
2026-03-03 14:46:25.3060 7776 Debug: Trying to raise event TransferReadyEventArgs on thread 1 without sync.
2026-03-03 14:46:25.3065 7776 NAPS2.TW - TransferReady
2026-03-03 14:46:25.3065 7776 Debug: Trying to raise event TransferErrorEventArgs on thread 1 without sync.
2026-03-03 14:46:25.3065 7776 NAPS2.TW - TransferError
2026-03-03 14:46:25.3065 7776 NAPS2.TW - Finishing with error NAPS2.Scan.Exceptions.AlreadyHandledDriverException: Exception of type 'NAPS2.Scan.Exceptions.AlreadyHandledDriverException' was thrown.
2026-03-03 14:46:25.3519 7776 Debug: Thread 1: ForceStepDown.
2026-03-03 14:46:25.8609 7776 Debug: Thread 1: DisableSource.
2026-03-03 14:46:26.0263 7776 Debug: Thread 1: CallbackHandler at state 6 with MSG=CloseDSReq.
2026-03-03 14:46:26.0263 7776 NAPS2.TW - StateChanged (to 4)
2026-03-03 14:46:26.0263 7776 NAPS2.TW - SourceDisabled
2026-03-03 14:46:26.0263 7776 Debug: Thread 1: CloseSource.
2026-03-03 14:46:26.0263 7776 NAPS2.TW - StateChanged (to 3)
2026-03-03 14:46:26.0286 7776 Debug: Thread 1: CloseManager.
2026-03-03 14:46:26.0286 7776 NAPS2.TW - StateChanged (to 2)
2026-03-03 14:46:26.0286 7776 NAPS2.TW - StateChanged (to 6)
2026-03-03 14:46:26.0286 7776 Error in invoked action System.NullReferenceException: Object reference not set to an instance of an object.
at ReturnCode NTwain.Triplets.PendingXfers.EndXfer(TWPendingXfers pendingXfers)
at void NTwain.Internals.TransferLogic.DoTransferRoutine(ITwainSessionInternal session)
at void NTwain.TwainSession.HandleSourceMsg(Message msg)
at ReturnCode NTwain.TwainSession.HandleCallback(TWIdentity origin, TWIdentity destination, DataGroups dg, DataArgumentType dat, Message msg, IntPtr data)+() => { } [1]
at void NAPS2.Platform.Windows.Win32MessagePump.RunQueuedActions()
2026-03-03 14:46:26.1163 7776 Debug: Got TWAIN msg CloseDSReq
2026-03-03 14:46:26.1163 7776 NAPS2.TW - Finishing with completion
2026-03-03 14:46:26.1163 7776 Debug: Thread 1: ForceStepDown.
2026-03-03 14:46:56.2775 17228 Debug: Using new dsm.
2026-03-03 14:46:56.4003 17228 Using TWAIN DSM: C:\Program Files\NAPS2\lib_win32\twaindsm.dll
2026-03-03 14:46:56.4003 17228 NAPS2.TW - Opening session
2026-03-03 14:46:56.4003 17228 Debug: Thread 1: OpenManager.
2026-03-03 14:46:56.4475 17228 NAPS2.TW - StateChanged (to 3)
2026-03-03 14:46:56.4475 17228 Debug: Using TWAIN2 memory functions.
2026-03-03 14:46:56.4475 17228 NAPS2.TW - Finding source
2026-03-03 14:46:56.4475 17228 Debug: Source id = 1
2026-03-03 14:46:56.4475 17228 Debug: Source id = 2
2026-03-03 14:46:56.4475 17228 NAPS2.TW - Opening source
2026-03-03 14:46:56.4809 17228 NAPS2.TW - Name: Kyocera FS-1020MFP TWAIN; Manu: TWAIN Working Group; Family: KYOCERA CORPORATION; Version: 3.0 Version 2.000; Protocol: 1.8
2026-03-03 14:46:56.4809 17228 Debug: Thread 1: OpenSource.
2026-03-03 14:46:56.4809 17228 NAPS2.TW - StateChanged (to 4)
2026-03-03 14:46:56.4942 17228 Debug: Registered callback2 OK.
2026-03-03 14:46:56.4942 17228 NAPS2.TW - Configuring source
2026-03-03 14:46:56.4942 17228 Defaulting to Memory transfer mode.
2026-03-03 14:46:56.4942 17228 Transfer mode: Memory
2026-03-03 14:46:56.5440 17228 NAPS2.TW - Enabling source
2026-03-03 14:46:56.5440 17228 Debug: Thread 1: EnableSource with NoUI.
2026-03-03 14:46:57.2908 17228 NAPS2.TW - StateChanged (to 5)
2026-03-03 14:47:10.5932 17228 Debug: Thread 1: CallbackHandler at state 5 with MSG=XferReady.
2026-03-03 14:47:10.5932 17228 Debug: Got TWAIN msg XferReady
2026-03-03 14:47:10.5932 17228 NAPS2.TW - StateChanged (to 6)
2026-03-03 14:49:20.7395 17228 Debug: Trying to raise event TransferReadyEventArgs on thread 1 without sync.
2026-03-03 14:49:20.7395 17228 NAPS2.TW - TransferReady
2026-03-03 14:49:20.7571 17228 Debug: Trying to raise event TransferErrorEventArgs on thread 1 without sync.
2026-03-03 14:49:20.7571 17228 NAPS2.TW - TransferError
2026-03-03 14:49:20.7571 17228 NAPS2.TW - Finishing with error NAPS2.Scan.Exceptions.AlreadyHandledDriverException: Exception of type 'NAPS2.Scan.Exceptions.AlreadyHandledDriverException' was thrown.
2026-03-03 14:49:20.7834 17228 Debug: Thread 1: ForceStepDown.
2026-03-03 14:49:21.2861 17228 Debug: Thread 1: DisableSource.
2026-03-03 14:49:21.6113 17228 Debug: Thread 1: CallbackHandler at state 6 with MSG=CloseDSReq.
2026-03-03 14:49:21.6113 17228 NAPS2.TW - StateChanged (to 4)
2026-03-03 14:49:21.6113 17228 NAPS2.TW - SourceDisabled
2026-03-03 14:49:21.6113 17228 Debug: Thread 1: CloseSource.
2026-03-03 14:49:21.6113 17228 NAPS2.TW - StateChanged (to 3)
2026-03-03 14:49:21.6113 17228 Debug: Thread 1: CloseManager.
2026-03-03 14:49:21.6113 17228 NAPS2.TW - StateChanged (to 2)
2026-03-03 14:49:21.6113 17228 NAPS2.TW - StateChanged (to 6)
2026-03-03 14:49:21.6190 17228 Error in invoked action System.NullReferenceException: Object reference not set to an instance of an object.
at ReturnCode NTwain.Triplets.PendingXfers.EndXfer(TWPendingXfers pendingXfers)
at void NTwain.Internals.TransferLogic.DoTransferRoutine(ITwainSessionInternal session)
at void NTwain.TwainSession.HandleSourceMsg(Message msg)
at ReturnCode NTwain.TwainSession.HandleCallback(TWIdentity origin, TWIdentity destination, DataGroups dg, DataArgumentType dat, Message msg, IntPtr data)+() => { } [1]
at void NAPS2.Platform.Windows.Win32MessagePump.RunQueuedActions()
2026-03-03 14:49:21.7011 17228 Debug: Got TWAIN msg CloseDSReq
2026-03-03 14:49:21.7011 17228 NAPS2.TW - Finishing with completion
2026-03-03 14:49:21.7011 17228 Debug: Thread 1: ForceStepDown.
2026-03-03 14:49:37.3862 11880 Debug: Using new dsm.
2026-03-03 14:49:37.5082 11880 Using TWAIN DSM: C:\Program Files\NAPS2\lib_win32\twaindsm.dll
2026-03-03 14:49:37.5147 11880 NAPS2.TW - Opening session
2026-03-03 14:49:37.5147 11880 Debug: Thread 1: OpenManager.
2026-03-03 14:49:37.5565 11880 NAPS2.TW - StateChanged (to 3)
2026-03-03 14:49:37.5565 11880 Debug: Using TWAIN2 memory functions.
2026-03-03 14:49:37.5565 11880 NAPS2.TW - Finding source
2026-03-03 14:49:37.5565 11880 Debug: Source id = 1
2026-03-03 14:49:37.5565 11880 Debug: Source id = 2
2026-03-03 14:49:37.5565 11880 NAPS2.TW - Opening source
2026-03-03 14:49:37.5917 11880 NAPS2.TW - Name: Kyocera FS-1020MFP TWAIN; Manu: TWAIN Working Group; Family: KYOCERA CORPORATION; Version: 3.0 Version 2.000; Protocol: 1.8
2026-03-03 14:49:37.5917 11880 Debug: Thread 1: OpenSource.
2026-03-03 14:49:37.5917 11880 NAPS2.TW - StateChanged (to 4)
2026-03-03 14:49:37.6047 11880 Debug: Registered callback2 OK.
2026-03-03 14:49:37.6047 11880 NAPS2.TW - Configuring source
2026-03-03 14:49:37.6047 11880 Transfer mode: Native
2026-03-03 14:49:37.6478 11880 NAPS2.TW - Enabling source
2026-03-03 14:49:37.6478 11880 Debug: Thread 1: EnableSource with NoUI.
2026-03-03 14:49:38.4366 11880 NAPS2.TW - StateChanged (to 5)
2026-03-03 14:49:51.7734 11880 Debug: Thread 1: CallbackHandler at state 5 with MSG=XferReady.
2026-03-03 14:49:51.7791 11880 Debug: Got TWAIN msg XferReady
2026-03-03 14:49:51.7791 11880 NAPS2.TW - StateChanged (to 6)
2026-03-03 14:49:57.4680 11880 Debug: Trying to raise event TransferReadyEventArgs on thread 1 without sync.
2026-03-03 14:49:57.4680 11880 NAPS2.TW - TransferReady
2026-03-03 14:49:57.4825 11880 Debug: Trying to raise event TransferErrorEventArgs on thread 1 without sync.
2026-03-03 14:49:57.4825 11880 NAPS2.TW - TransferError
2026-03-03 14:49:57.4825 11880 NAPS2.TW - Finishing with error NAPS2.Scan.Exceptions.AlreadyHandledDriverException: Exception of type 'NAPS2.Scan.Exceptions.AlreadyHandledDriverException' was thrown.
2026-03-03 14:49:57.5105 11880 Debug: Thread 1: ForceStepDown.
2026-03-03 14:49:58.0183 11880 Debug: Thread 1: DisableSource.
2026-03-03 14:49:58.3158 11880 Debug: Thread 1: CallbackHandler at state 6 with MSG=CloseDSReq.
2026-03-03 14:49:58.3158 11880 NAPS2.TW - StateChanged (to 4)
2026-03-03 14:49:58.3158 11880 NAPS2.TW - SourceDisabled
2026-03-03 14:49:58.3158 11880 Debug: Thread 1: CloseSource.
2026-03-03 14:49:58.3158 11880 NAPS2.TW - StateChanged (to 3)
2026-03-03 14:49:58.3158 11880 Debug: Thread 1: CloseManager.
2026-03-03 14:49:58.3158 11880 NAPS2.TW - StateChanged (to 2)
2026-03-03 14:49:58.3158 11880 NAPS2.TW - StateChanged (to 6)
2026-03-03 14:49:58.3237 11880 Error in invoked action System.NullReferenceException: Object reference not set to an instance of an object.
at ReturnCode NTwain.Triplets.PendingXfers.EndXfer(TWPendingXfers pendingXfers)
at void NTwain.Internals.TransferLogic.DoTransferRoutine(ITwainSessionInternal session)
at void NTwain.TwainSession.HandleSourceMsg(Message msg)
at ReturnCode NTwain.TwainSession.HandleCallback(TWIdentity origin, TWIdentity destination, DataGroups dg, DataArgumentType dat, Message msg, IntPtr data)+() => { } [1]
at void NAPS2.Platform.Windows.Win32MessagePump.RunQueuedActions()
2026-03-03 14:49:58.3971 11880 Debug: Got TWAIN msg CloseDSReq
2026-03-03 14:49:58.3971 11880 NAPS2.TW - Finishing with completion
2026-03-03 14:49:58.3971 11880 Debug: Thread 1: ForceStepDown.
2026-03-03 14:50:06.9068 12500 Debug: Using new dsm.
2026-03-03 14:50:07.0412 12500 Using TWAIN DSM: C:\Program Files\NAPS2\lib_win32\twaindsm.dll
2026-03-03 14:50:07.0412 12500 NAPS2.TW - Opening session
2026-03-03 14:50:07.0412 12500 Debug: Thread 1: OpenManager.
2026-03-03 14:50:07.0901 12500 NAPS2.TW - StateChanged (to 3)
2026-03-03 14:50:07.0901 12500 Debug: Using TWAIN2 memory functions.
2026-03-03 14:50:07.0901 12500 NAPS2.TW - Finding source
2026-03-03 14:50:07.0901 12500 Debug: Source id = 1
2026-03-03 14:50:07.0901 12500 Debug: Source id = 2
2026-03-03 14:50:07.0901 12500 NAPS2.TW - Opening source
2026-03-03 14:50:07.1231 12500 NAPS2.TW - Name: Kyocera FS-1020MFP TWAIN; Manu: TWAIN Working Group; Family: KYOCERA CORPORATION; Version: 3.0 Version 2.000; Protocol: 1.8
2026-03-03 14:50:07.1231 12500 Debug: Thread 1: OpenSource.
2026-03-03 14:50:07.1231 12500 NAPS2.TW - StateChanged (to 4)
2026-03-03 14:50:07.1366 12500 Debug: Registered callback2 OK.
2026-03-03 14:50:07.1366 12500 NAPS2.TW - Configuring source
2026-03-03 14:50:07.1366 12500 Transfer mode: Memory
2026-03-03 14:50:07.1808 12500 NAPS2.TW - Enabling source
2026-03-03 14:50:07.1816 12500 Debug: Thread 1: EnableSource with NoUI.
2026-03-03 14:50:07.9158 12500 NAPS2.TW - StateChanged (to 5)
2026-03-03 14:50:21.2363 12500 Debug: Thread 1: CallbackHandler at state 5 with MSG=XferReady.
2026-03-03 14:50:21.2363 12500 Debug: Got TWAIN msg XferReady
2026-03-03 14:50:21.2363 12500 NAPS2.TW - StateChanged (to 6)
2026-03-03 14:50:29.4040 12500 Debug: Trying to raise event TransferReadyEventArgs on thread 1 without sync.
2026-03-03 14:50:29.4040 12500 NAPS2.TW - TransferReady
2026-03-03 14:50:29.4234 12500 Debug: Trying to raise event TransferErrorEventArgs on thread 1 without sync.
2026-03-03 14:50:29.4234 12500 NAPS2.TW - TransferError
2026-03-03 14:50:29.4234 12500 NAPS2.TW - Finishing with error NAPS2.Scan.Exceptions.AlreadyHandledDriverException: Exception of type 'NAPS2.Scan.Exceptions.AlreadyHandledDriverException' was thrown.
2026-03-03 14:50:29.4507 12500 Debug: Thread 1: ForceStepDown.
2026-03-03 14:50:29.9609 12500 Debug: Thread 1: DisableSource.
2026-03-03 14:50:30.2772 12500 Debug: Thread 1: CallbackHandler at state 6 with MSG=CloseDSReq.
2026-03-03 14:50:30.2772 12500 NAPS2.TW - StateChanged (to 4)
2026-03-03 14:50:30.2772 12500 NAPS2.TW - SourceDisabled
2026-03-03 14:50:30.2772 12500 Debug: Thread 1: CloseSource.
2026-03-03 14:50:30.2772 12500 NAPS2.TW - StateChanged (to 3)
2026-03-03 14:50:30.2772 12500 Debug: Thread 1: CloseManager.
2026-03-03 14:50:30.2772 12500 NAPS2.TW - StateChanged (to 2)
2026-03-03 14:50:30.2772 12500 NAPS2.TW - StateChanged (to 6)
2026-03-03 14:50:30.2772 12500 Error in invoked action System.NullReferenceException: Object reference not set to an instance of an object.
at ReturnCode NTwain.Triplets.PendingXfers.EndXfer(TWPendingXfers pendingXfers)
at void NTwain.Internals.TransferLogic.DoTransferRoutine(ITwainSessionInternal session)
at void NTwain.TwainSession.HandleSourceMsg(Message msg)
at ReturnCode NTwain.TwainSession.HandleCallback(TWIdentity origin, TWIdentity destination, DataGroups dg, DataArgumentType dat, Message msg, IntPtr data)+() => { } [1]
at void NAPS2.Platform.Windows.Win32MessagePump.RunQueuedActions()
2026-03-03 14:50:30.3585 12500 Debug: Got TWAIN msg CloseDSReq
2026-03-03 14:50:30.3585 12500 NAPS2.TW - Finishing with completion
2026-03-03 14:50:30.3585 12500 Debug: Thread 1: ForceStepDown.
2026-03-03 14:50:46.6910 14324 Debug: Using old dsm in windows. not C:\WINDOWS\system32\twaindsm.dll
2026-03-03 14:50:46.8187 14324 Using TWAIN DSM: C:\WINDOWS\twain_32.dll
2026-03-03 14:50:46.8250 14324 NAPS2.TW - Opening session
2026-03-03 14:50:46.8250 14324 Debug: Thread 1: OpenManager.
2026-03-03 14:50:46.8495 14324 NAPS2.TW - StateChanged (to 3)
2026-03-03 14:50:46.8495 14324 NAPS2.TW - Finding source
2026-03-03 14:50:46.9774 14324 Debug: Source id = 3
2026-03-03 14:50:46.9814 14324 Debug: Source id = 4
2026-03-03 14:50:46.9814 14324 NAPS2.TW - Opening source
2026-03-03 14:50:47.0069 14324 NAPS2.TW - Name: Kyocera FS-1020MFP TWAIN; Manu: TWAIN Working Group; Family: KYOCERA CORPORATION; Version: 3.0 Version 2.000; Protocol: 1.8
2026-03-03 14:50:47.0069 14324 Debug: Thread 1: OpenSource.
2026-03-03 14:50:47.0147 14324 NAPS2.TW - StateChanged (to 4)
2026-03-03 14:50:47.0271 14324 NAPS2.TW - Configuring source
2026-03-03 14:50:47.0271 14324 Transfer mode: Native
2026-03-03 14:50:47.1798 14324 NAPS2.TW - Enabling source
2026-03-03 14:50:47.1815 14324 Debug: Thread 1: EnableSource with NoUI.
2026-03-03 14:50:47.8814 14324 NAPS2.TW - StateChanged (to 5)
2026-03-03 14:51:01.2396 14324 Debug: Thread 1: HandleWndProcMessage at state 5 with MSG=XferReady.
2026-03-03 14:51:01.2396 14324 Debug: Got TWAIN msg XferReady
2026-03-03 14:51:01.2396 14324 NAPS2.TW - StateChanged (to 6)
2026-03-03 14:51:12.0085 14324 Debug: Trying to raise event TransferReadyEventArgs on thread 1 without sync.
2026-03-03 14:51:12.0085 14324 NAPS2.TW - TransferReady
2026-03-03 14:51:12.0306 14324 Debug: Trying to raise event TransferErrorEventArgs on thread 1 without sync.
2026-03-03 14:51:12.0306 14324 NAPS2.TW - TransferError
2026-03-03 14:51:12.0306 14324 NAPS2.TW - Finishing with error NAPS2.Scan.Exceptions.AlreadyHandledDriverException: Exception of type 'NAPS2.Scan.Exceptions.AlreadyHandledDriverException' was thrown.
2026-03-03 14:51:12.0596 14324 Debug: Thread 1: ForceStepDown.
2026-03-03 14:51:12.5772 14324 Debug: Thread 1: DisableSource.
2026-03-03 14:51:13.0215 14324 NAPS2.TW - StateChanged (to 4)
2026-03-03 14:51:13.0215 14324 NAPS2.TW - SourceDisabled
2026-03-03 14:51:13.0215 14324 Debug: Thread 1: CloseSource.
2026-03-03 14:51:13.0269 14324 NAPS2.TW - StateChanged (to 3)
2026-03-03 14:51:13.0269 14324 Debug: Thread 1: CloseManager.
2026-03-03 14:51:13.0269 14324 NAPS2.TW - StateChanged (to 2)
2026-03-03 14:51:13.0269 14324 NAPS2.TW - StateChanged (to 6)
2026-03-03 14:51:13.0269 14324 Error in message loop System.NullReferenceException: Object reference not set to an instance of an object.
at ReturnCode NTwain.Triplets.PendingXfers.EndXfer(TWPendingXfers pendingXfers)
at void NTwain.Internals.TransferLogic.DoTransferRoutine(ITwainSessionInternal session)
at void NTwain.TwainSession.HandleSourceMsg(Message msg)
at bool NTwain.TwainSession.IsTwainMessage(IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam)
at void NAPS2.Platform.Windows.Win32MessagePump.RunMessageLoop()
2026-03-03 14:53:32.2495 2468 Debug: Using new dsm.
2026-03-03 14:53:32.3767 2468 Debug: Thread 1: OpenManager.
2026-03-03 14:53:32.4178 2468 Debug: Using TWAIN2 memory functions.
2026-03-03 14:53:32.4178 2468 Debug: Source id = 1
2026-03-03 14:53:32.4178 2468 Debug: Source id = 2
2026-03-03 14:53:32.4178 2468 Debug: Source id = 3
2026-03-03 14:53:32.4178 2468 Debug: Thread 1: CloseManager.
2026-03-03 14:53:42.1793 11248 Debug: Using new dsm.
2026-03-03 14:53:42.3179 11248 Using TWAIN DSM: C:\Program Files\NAPS2\lib_win32\twaindsm.dll
2026-03-03 14:53:42.3248 11248 NAPS2.TW - Opening session
2026-03-03 14:53:42.3248 11248 Debug: Thread 1: OpenManager.
2026-03-03 14:53:42.3660 11248 NAPS2.TW - StateChanged (to 3)
2026-03-03 14:53:42.3705 11248 Debug: Using TWAIN2 memory functions.
2026-03-03 14:53:42.3705 11248 NAPS2.TW - Finding source
2026-03-03 14:53:42.3705 11248 Debug: Source id = 1
2026-03-03 14:53:42.3705 11248 Debug: Source id = 2
2026-03-03 14:53:42.3705 11248 NAPS2.TW - Opening source
2026-03-03 14:53:42.3974 11248 NAPS2.TW - Name: Kyocera FS-1020MFP TWAIN; Manu: TWAIN Working Group; Family: KYOCERA CORPORATION; Version: 3.0 Version 2.000; Protocol: 1.8
2026-03-03 14:53:42.3974 11248 Debug: Thread 1: OpenSource.
2026-03-03 14:53:42.4068 11248 NAPS2.TW - StateChanged (to 4)
2026-03-03 14:53:42.4068 11248 Debug: Registered callback2 OK.
2026-03-03 14:53:42.4068 11248 NAPS2.TW - Configuring source
2026-03-03 14:53:42.4162 11248 Defaulting to Memory transfer mode.
2026-03-03 14:53:42.4162 11248 Transfer mode: Memory
2026-03-03 14:53:42.4650 11248 NAPS2.TW - Enabling source
2026-03-03 14:53:42.4650 11248 Debug: Thread 1: EnableSource with NoUI.
2026-03-03 14:53:43.7173 11248 NAPS2.TW - StateChanged (to 5)
2026-03-03 14:53:57.2098 11248 Debug: Thread 1: CallbackHandler at state 5 with MSG=XferReady.
2026-03-03 14:53:57.2153 11248 Debug: Got TWAIN msg XferReady
2026-03-03 14:53:57.2153 11248 NAPS2.TW - StateChanged (to 6)
2026-03-03 14:55:03.2317 11248 NAPS2.TW - Finishing with cancellation
2026-03-03 14:55:03.2317 11248 Debug: Thread 1: ForceStepDown.
2026-03-03 14:55:04.1497 11248 Debug: Thread 1: CallbackHandler at state 6 with MSG=CloseDSReq.
2026-03-03 14:55:04.1503 11248 Debug: Got TWAIN msg CloseDSReq
2026-03-03 14:55:04.1503 11248 Debug: Thread 1: DisableSource.
2026-03-03 14:55:04.1503 11248 Debug: Thread 1: CallbackHandler at state 6 with MSG=CloseDSReq.
2026-03-03 14:55:04.1503 11248 NAPS2.TW - StateChanged (to 4)
2026-03-03 14:55:04.1503 11248 NAPS2.TW - SourceDisabled
2026-03-03 14:55:04.1503 11248 Debug: Thread 1: CloseSource.
2026-03-03 14:55:04.1503 11248 NAPS2.TW - StateChanged (to 3)
2026-03-03 14:55:04.1503 11248 Debug: Thread 1: CloseManager.
2026-03-03 14:55:04.1503 11248 NAPS2.TW - StateChanged (to 2)
2026-03-03 14:55:42.8725 14600 Debug: Using new dsm.
2026-03-03 14:55:42.9956 14600 Using TWAIN DSM: C:\Program Files\NAPS2\lib_win32\twaindsm.dll
2026-03-03 14:55:42.9956 14600 NAPS2.TW - Opening session
2026-03-03 14:55:42.9956 14600 Debug: Thread 1: OpenManager.
2026-03-03 14:55:43.0447 14600 NAPS2.TW - StateChanged (to 3)
2026-03-03 14:55:43.0447 14600 Debug: Using TWAIN2 memory functions.
2026-03-03 14:55:43.0447 14600 NAPS2.TW - Finding source
2026-03-03 14:55:43.0447 14600 Debug: Source id = 1
2026-03-03 14:55:43.0447 14600 Debug: Source id = 2
2026-03-03 14:55:43.0447 14600 NAPS2.TW - Opening source
2026-03-03 14:55:43.0776 14600 NAPS2.TW - Name: Kyocera FS-1020MFP TWAIN; Manu: TWAIN Working Group; Family: KYOCERA CORPORATION; Version: 3.0 Version 2.000; Protocol: 1.8
2026-03-03 14:55:43.0776 14600 Debug: Thread 1: OpenSource.
2026-03-03 14:55:43.0776 14600 NAPS2.TW - StateChanged (to 4)
2026-03-03 14:55:43.0907 14600 Debug: Registered callback2 OK.
2026-03-03 14:55:43.0907 14600 NAPS2.TW - Configuring source
2026-03-03 14:55:43.0907 14600 Defaulting to Memory transfer mode.
2026-03-03 14:55:43.0907 14600 Transfer mode: Memory
2026-03-03 14:55:43.1389 14600 NAPS2.TW - Enabling source
2026-03-03 14:55:43.1389 14600 Debug: Thread 1: EnableSource with NoUI.
2026-03-03 14:55:44.0907 14600 NAPS2.TW - StateChanged (to 5)
2026-03-03 14:55:49.1556 14600 Debug: Thread 1: CallbackHandler at state 5 with MSG=CloseDSReq.
2026-03-03 14:55:49.1556 14600 Debug: Got TWAIN msg CloseDSReq
2026-03-03 14:55:49.1556 14600 Debug: Thread 1: DisableSource.
2026-03-03 14:55:49.1556 14600 Debug: Thread 1: CallbackHandler at state 5 with MSG=CloseDSReq.
2026-03-03 14:55:49.1556 14600 NAPS2.TW - StateChanged (to 4)
2026-03-03 14:55:49.1556 14600 NAPS2.TW - SourceDisabled
2026-03-03 14:55:49.1556 14600 Debug: Got TWAIN msg CloseDSReq
2026-03-03 14:55:49.1556 14600 NAPS2.TW - Finishing with completion
2026-03-03 14:55:49.1663 14600 Debug: Thread 1: CloseSource.
2026-03-03 14:55:49.1663 14600 NAPS2.TW - StateChanged (to 3)
2026-03-03 14:55:49.1663 14600 Debug: Thread 1: CloseManager.
2026-03-03 14:55:49.1663 14600 NAPS2.TW - StateChanged (to 2)
2026-03-03 14:56:00.1997 7196 Scanning with ScanDevice { Driver = Twain, ID = Kyocera FS-1020MFP TWAIN, Name = Kyocera FS-1020MFP TWAIN, IconUri = , ConnectionUri = }
2026-03-03 14:56:00.1997 7196 Scan source: Feeder; bit depth: Grayscale; dpi: 100; page size: 210x297 mm
2026-03-03 14:56:00.6545 4540 Debug: Using new dsm.
2026-03-03 14:56:00.7825 4540 Using TWAIN DSM: C:\Program Files\NAPS2\lib_win32\twaindsm.dll
2026-03-03 14:56:00.7825 4540 NAPS2.TW - Opening session
2026-03-03 14:56:00.7975 4540 Debug: Thread 1: OpenManager.
2026-03-03 14:56:00.8362 4540 NAPS2.TW - StateChanged (to 3)
2026-03-03 14:56:00.8415 4540 Debug: Using TWAIN2 memory functions.
2026-03-03 14:56:00.8415 4540 NAPS2.TW - Finding source
2026-03-03 14:56:00.8415 4540 Debug: Source id = 1
2026-03-03 14:56:00.8415 4540 Debug: Source id = 2
2026-03-03 14:56:00.8415 4540 NAPS2.TW - Opening source
2026-03-03 14:56:00.8766 4540 NAPS2.TW - Name: Kyocera FS-1020MFP TWAIN; Manu: TWAIN Working Group; Family: KYOCERA CORPORATION; Version: 3.0 Version 2.000; Protocol: 1.8
2026-03-03 14:56:00.8766 4540 Debug: Thread 1: OpenSource.
2026-03-03 14:56:00.8873 4540 NAPS2.TW - StateChanged (to 4)
2026-03-03 14:56:00.8873 4540 Debug: Registered callback2 OK.
2026-03-03 14:56:00.8873 4540 NAPS2.TW - Configuring source
2026-03-03 14:56:00.8873 4540 Defaulting to Memory transfer mode.
2026-03-03 14:56:00.8873 4540 Transfer mode: Memory
2026-03-03 14:56:00.9402 4540 NAPS2.TW - Enabling source
2026-03-03 14:56:00.9402 4540 Debug: Thread 1: EnableSource with NoUI.
2026-03-03 14:56:01.7492 4540 NAPS2.TW - StateChanged (to 5)
2026-03-03 14:56:15.0247 4540 Debug: Thread 1: CallbackHandler at state 5 with MSG=XferReady.
2026-03-03 14:56:15.0247 4540 Debug: Got TWAIN msg XferReady
2026-03-03 14:56:15.0247 4540 NAPS2.TW - StateChanged (to 6)
2026-03-03 14:59:06.3089 4540 Debug: Trying to raise event TransferReadyEventArgs on thread 1 without sync.
2026-03-03 14:59:06.3089 4540 NAPS2.TW - TransferReady
2026-03-03 14:59:06.3284 4540 Debug: Trying to raise event TransferErrorEventArgs on thread 1 without sync.
2026-03-03 14:59:06.3284 4540 NAPS2.TW - TransferError
2026-03-03 14:59:06.3284 4540 NAPS2.TW - Finishing with error NAPS2.Scan.Exceptions.AlreadyHandledDriverException: Exception of type 'NAPS2.Scan.Exceptions.AlreadyHandledDriverException' was thrown.
2026-03-03 14:59:06.3589 4540 Debug: Thread 1: ForceStepDown.
2026-03-03 14:59:06.8701 4540 Debug: Thread 1: DisableSource.
2026-03-03 14:59:07.1056 4540 Debug: Thread 1: CallbackHandler at state 6 with MSG=CloseDSReq.
2026-03-03 14:59:07.1056 4540 NAPS2.TW - StateChanged (to 4)
2026-03-03 14:59:07.1056 4540 NAPS2.TW - SourceDisabled
2026-03-03 14:59:07.1056 4540 Debug: Thread 1: CloseSource.
2026-03-03 14:59:07.1056 4540 NAPS2.TW - StateChanged (to 3)
2026-03-03 14:59:07.1056 4540 Debug: Thread 1: CloseManager.
2026-03-03 14:59:07.1056 4540 NAPS2.TW - StateChanged (to 2)
2026-03-03 14:59:07.1056 4540 NAPS2.TW - StateChanged (to 6)
2026-03-03 14:59:07.1056 4540 Error in invoked action System.NullReferenceException: Object reference not set to an instance of an object.
at ReturnCode NTwain.Triplets.PendingXfers.EndXfer(TWPendingXfers pendingXfers)
at void NTwain.Internals.TransferLogic.DoTransferRoutine(ITwainSessionInternal session)
at void NTwain.TwainSession.HandleSourceMsg(Message msg)
at ReturnCode NTwain.TwainSession.HandleCallback(TWIdentity origin, TWIdentity destination, DataGroups dg, DataArgumentType dat, Message msg, IntPtr data)+() => { } [1]
at void NAPS2.Platform.Windows.Win32MessagePump.RunQueuedActions()
2026-03-03 14:59:07.1874 4540 Debug: Got TWAIN msg CloseDSReq
2026-03-03 14:59:07.1874 4540 NAPS2.TW - Finishing with completion
2026-03-03 14:59:07.1874 4540 Debug: Thread 1: ForceStepDown.
keyocera scan and WinScan2PDF works perfectly