Unable to show particular pdf

Only with this particular pdf, sfPdfViewer return this error:Launching lib/main.dart on Chrome in debug mode...


════════ Exception caught by widgets library ═══════════════════════════════════
The following ArgumentError was thrown building FutureBuilder<Map<int, List<dynamic>>?>(dirty, dependencies: [MediaQuery], state: _FutureBuilderState<Map<int, List<dynamic>>?>#df808):
Invalid argument (Header checksum illegal): 18273


The relevant error-causing widget was
SfPdfViewer-[LabeledGlobalKey<SfPdfViewerState>#d4553]
When the exception was thrown, this was the stack
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 251:49 throw_
packages/syncfusion_flutter_pdf/src/pdf/implementation/compression/compressed_stream_reader.dart 198:7 [_readZlibHeader]
packages/syncfusion_flutter_pdf/src/pdf/implementation/compression/compressed_stream_reader.dart 186:7 [_initialize]
packages/syncfusion_flutter_pdf/src/pdf/implementation/compression/compressed_stream_reader.dart 8:5 new
packages/syncfusion_flutter_pdf/src/pdf/implementation/compression/pdf_zlib_compressor.dart 19:44 decompress
packages/syncfusion_flutter_pdf/src/pdf/implementation/primitives/pdf_stream.dart 116:26 [_decompressData]
packages/syncfusion_flutter_pdf/src/pdf/implementation/primitives/pdf_stream.dart 90:27 [_decompress]
packages/syncfusion_flutter_pdf/src/pdf/implementation/pages/pdf_page_layer_collection.dart 156:22 [_combineProcess]
packages/syncfusion_flutter_pdf/src/pdf/implementation/pages/pdf_page_layer_collection.dart 133:22 [_combineContent]
packages/syncfusion_flutter_pdf/src/pdf/implementation/exporting/pdf_text_extractor/pdf_text_extractor.dart 564:41 [_getRecordCollection]
packages/syncfusion_flutter_pdf/src/pdf/implementation/exporting/pdf_text_extractor/pdf_text_extractor.dart 243:52 [_getText]
packages/syncfusion_flutter_pdf/src/pdf/implementation/exporting/pdf_text_extractor/pdf_text_extractor.dart 151:14 [_extractText]
packages/syncfusion_flutter_pdf/src/pdf/implementation/exporting/pdf_text_extractor/pdf_text_extractor.dart 67:12 extractText
packages/syncfusion_flutter_pdfviewer/src/pdfviewer.dart 1307:57 <fn>
dart-sdk/lib/_internal/js_dev_runtime/patch/core_patch.dart 545:46 generate
packages/syncfusion_flutter_pdfviewer/src/pdfviewer.dart 1272:53 <fn>
packages/flutter/src/widgets/async.dart 782:48 build
packages/flutter/src/widgets/framework.dart 4782:27 build
packages/flutter/src/widgets/framework.dart 4665:15 performRebuild
packages/flutter/src/widgets/framework.dart 4840:11 performRebuild
packages/flutter/src/widgets/framework.dart 4355:5 rebuild
packages/flutter/src/widgets/framework.dart 4872:5 update
packages/flutter/src/widgets/framework.dart 3412:14 updateChild
packages/flutter/src/widgets/framework.dart 6202:14 update
packages/flutter/src/widgets/framework.dart 3412:14 updateChild
packages/flutter/src/widgets/framework.dart 4690:16 performRebuild
packages/flutter/src/widgets/framework.dart 4355:5 rebuild
packages/flutter/src/widgets/framework.dart 4746:5 update
packages/flutter/src/widgets/framework.dart 3412:14 updateChild
packages/flutter/src/widgets/framework.dart 6202:14 update
packages/flutter/src/widgets/framework.dart 3412:14 updateChild
packages/flutter/src/widgets/framework.dart 4690:16 performRebuild
packages/flutter/src/widgets/framework.dart 4840:11 performRebuild
packages/flutter/src/widgets/framework.dart 4355:5 rebuild
packages/flutter/src/widgets/framework.dart 2620:31 buildScope
packages/flutter/src/widgets/binding.dart 882:9 drawFrame
packages/flutter/src/rendering/binding.dart 319:5 [_handlePersistentFrameCallback]
packages/flutter/src/scheduler/binding.dart 1143:15 [_invokeFrameCallback]
packages/flutter/src/scheduler/binding.dart 1080:9 handleDrawFrame
packages/flutter/src/scheduler/binding.dart 996:5 [_handleDrawFrame]
lib/_engine/engine/platform_dispatcher.dart 1003:13 invoke
lib/_engine/engine/platform_dispatcher.dart 157:5 invokeOnDrawFrame
lib/_engine/engine.dart 440:45 <fn>
════════════════════════════════════════════════════════════════════════════════


════════ Exception caught by widgets library ═══════════════════════════════════
Invalid argument (Header checksum illegal): 18273
The relevant error-causing widget was
SfPdfViewer-[LabeledGlobalKey<SfPdfViewerState>#d4553]
════════════════════════════════════════════════════════════════════════════════


════════ Exception caught by widgets library ═══════════════════════════════════
Invalid argument (Header checksum illegal): 18273
The relevant error-causing widget was
SfPdfViewer-[LabeledGlobalKey<SfPdfViewerState>#d4553]
════════════════════════════════════════════════════════════════════════════════



Attachment: test_4893006.pdf_a1f41fce.zip

5 Replies

DR Deepika Ravi Syncfusion Team October 25, 2021 11:36 AM UTC

Hi Pietro Beccegato, 
 
We can reproduce the reported issue from our side. We are analyzing on this and will update the further details on October 27,2021. 
 
Regards,  
Deepika Ravi 



DR Deepika Ravi Syncfusion Team October 28, 2021 01:50 AM UTC

Hi Pietro Beccegato, 
 
We have confirmed that the reported issue “Argument Exception is thrown while extracting text from a particular PDF document” is a defect. The issue fix will be included in our upcoming weekly release, which is estimated to be available on November 9, 2021.Kindly use the below feedback link to track the status of this reported issue,  
 
Regards,  
Deepika Ravi 



DR Deepika Ravi Syncfusion Team November 9, 2021 10:00 AM UTC

Hi Pietro Beccegato,  
  
Sorry for the inconvenience. We have planned our volume 3 SP release this week. So, we do not have weekly NuGet release on this week. However, we will include this fix on upcoming weekly release on November 10, 2021.  
  
Regards,  
Deepika R 



DR Deepika Ravi Syncfusion Team November 10, 2021 03:08 PM UTC

Hi Pietro Beccegato, 
 
We regret for the inconvenience. As we mentioned earlier, we will include the reported issue in our volume 3 SP release, but the volume 3 SP release was postponed to November 12, 2021 tentatively. we will let you know once the release is rolled out. 
 
Regards, 
Deepika Ravi 



DR Deepika Ravi Syncfusion Team November 12, 2021 01:10 PM UTC

Hi Pietro Beccegato,  
 
we have included the fix for this issue "Argument Exception is thrown while extracting text from a particular PDF document" in our latest release, so kindly upgrade to the latest version v19.3.53 to get the issue resolved.   
 
   
Regards,  
Deepika R 


Loader.
Up arrow icon