Nuix / Custodian-Export

Export items by custodian.
Apache License 2.0
0 stars 0 forks source link

RuntimeError: Illegal character '�' in raw string "java.lang.IllegalStateException... #5

Closed marleyjaffe closed 3 years ago

marleyjaffe commented 3 years ago

We are attempting to use this script to export email items into PST. Unfortunately we are coming across illegal characters in some email subjects that are preventing the script from running successfully. Any suggestions or fixes possible? I think one option would be moving these items to an "Error items" folder and continuing with the remaining items into PST or substituting these issue characters with an _ (or some other character).

Full error output:

2021-05-07 09:47:47: Getting items to export
2021-05-07 09:47:47: 90219 selected items
2021-05-07 09:47:49: 90219 top-level items to export
2021-05-07 09:47:57: Exporting to T:\XXXCUSTODIANXXX
2021-05-07 09:48:00: Exporting custodian: XXXCUSTODIANXXX (90219 items)
2021-05-07 10:30:24: Renaming files
2021-05-07 10:30:24: Creating T:\XXXCUSTODIANXXX/Reports/XXXCUSTODIANXXX/summary-report.txt
2021-05-07 10:30:24: Creating T:\XXXCUSTODIANXXX/Reports/XXXCUSTODIANXXX/summary-report.xml
2021-05-07 10:30:24: Creating T:\XXXCUSTODIANXXX/Reports/XXXCUSTODIANXXX/top-level-MD5-digests.txt
2021-05-07 10:30:24: Exported 90219 of 90219 items
2021-05-07 10:30:24: Summarizing reports in T:\XXXCUSTODIANXXX/Reports
2021-05-07 10:30:24: Reading T:\XXXCUSTODIANXXX/Reports/XXXCUSTODIANXXX/summary-report.xml
2021-05-07 10:30:38: Error occured in provided block:
2021-05-07 10:30:39: (ParseException) #<RuntimeError: Illegal character '&#55357;' in raw string "java.lang.IllegalStateException: Error exporting item into mailbox: ExportItemContext[guid=8342217eede74b3ea3cae285b397ff44,mime-type=application/vnd.ms-outlook-note,item=ItemDetails{name=&#55357;&#56798; Twitch bits x 3, container=false, excluded=false, failure=false, flags=[TEXT_INDEXED, AUDITED, TOP_LEVEL, NOT_LOOSE_FILE, NOT_PHYSICAL_FILE, FAMILY_INLINE, NOT_FILE_DATA, NOT_FAILED, E_DISCOVERY_CLASS]},numberingContext=NumberingExportContext[numbering=001.047.981,documentNum=001.047.981],nativeContext=NativeExportContext[fromBinaryStore=false,isSlipSheet=false,retainAsSlipSheet=false,native=EXPORT_DIRECTORY/XXXCUSTODIANXXX/XXXCUSTODIANXXX [O365_Emails_20210111-20210503]/XXXCUSTODIANXXX [O365_Emails_20210111-20210503]/XXXCUSTODIANXXX.pst/Top of Personal Folders/XXXCUSTODIANXXX (Primary)/Recoverable Items/Deletions/&#55357;&#56798; Twitch bits x 3.msg,original=EXPORT_SPOOL/834/8342217eede74b3ea3cae285b397ff44-ORIGINAL.msg,tmpNative=EXPORT_SPOOL/834/8342217eede74b3ea3cae285b397ff44-ORIGINAL.msg,replaceWithSlipsheet=false],pdfContext=PdfExportContext[pdfPageCount=0,stampedPageCount=0,storedInPrintStore=false,pdf=&lt;null&gt;,tmpPdf=&lt;null&gt;,imagingProfileName=&lt;null&gt;],productionProfileContext=ProductionProfileExportContext[profileName=&lt;null&gt;,ruleName=&lt;null&gt;],tiffContext=ImageExportContext[imagePageCount=0,super=ImageExportContext[filesProduced=]],textContext=TextExportContext[slipSheetText=false,hasCommunicationAspect=false]]
    at com.nuix.export.processor.J.a(SourceFile:338)
    at com.nuix.export.processor.J.a(SourceFile:237)
    at com.nuix.processing.worker.handler.export.i.a(SourceFile:109)
    at com.nuix.processing.worker.handler.export.i.handleMessage(SourceFile:26)
    at com.nuix.processing.worker.Worker.processMessage(SourceFile:547)
    at com.nuix.processing.worker.Worker.execute(SourceFile:466)
    at com.nuix.processing.workerlauncher.SingleWorkerMain.a(SourceFile:305)
    at com.nuix.processing.workerlauncher.SingleWorkerMain.g(SourceFile:143)
    at com.nuix.bootstrap.c$b.a(SourceFile:259)
    at com.nuix.bootstrap.c.run(SourceFile:118)
    at com.nuix.processing.workerlauncher.SingleWorkerMain.main(SourceFile:383)
Caused by: AsposeException: Header CRC is not valid !
[Ljava.lang.StackTraceElement;@651e0218
    at com.aspose.email.zang.j(SourceFile:2033)
    at com.aspose.email.zang.a(SourceFile:1554)
    at com.aspose.email.zang.&lt;init&gt;(SourceFile:170)
    at com.aspose.email.zafo.&lt;init&gt;(SourceFile:71)
    at com.aspose.email.zaso.&lt;init&gt;(SourceFile:132)
    at com.aspose.email.PersonalStorage.a(SourceFile:277)
    at com.aspose.email.PersonalStorage.fromFile(SourceFile:237)
    at com.aspose.email.PersonalStorage.fromFile(SourceFile:211)
    at com.nuix.export.mail.mailbox.a.&lt;init&gt;(SourceFile:63)
    at com.nuix.export.mail.mailbox.d.&lt;init&gt;(SourceFile:26)
    at com.nuix.export.mail.mailbox.t.a(SourceFile:163)
    at com.nuix.export.mail.mailbox.u.a(SourceFile:171)
    at com.nuix.export.mail.mailbox.e.exportMessage(SourceFile:85)
    at com.nuix.export.processor.J.a(SourceFile:325)
    ... 10 more
">
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rexml/text.rb:162:in `block in check'
org/jruby/RubyString.java:4350:in `scan'
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rexml/text.rb:154:in `check'
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rexml/attribute.rb:157:in `element='
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rexml/element.rb:1125:in `[]='
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rexml/parsers/treeparser.rb:36:in `block in parse'
org/jruby/RubyHash.java:1419:in `each'
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rexml/parsers/treeparser.rb:35:in `parse'
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rexml/document.rb:288:in `build'
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rexml/document.rb:45:in `initialize'
C:/Users/Administrator.GIFS/AppData/Roaming/Nuix/Scripts/NuixProvided/CustodianPstExport.nuixscript/summary_reporter.rb:192:in `initialize'
C:/Users/Administrator.GIFS/AppData/Roaming/Nuix/Scripts/NuixProvided/CustodianPstExport.nuixscript/summary_reporter.rb:87:in `summarize_file'
C:/Users/Administrator.GIFS/AppData/Roaming/Nuix/Scripts/NuixProvided/CustodianPstExport.nuixscript/summary_reporter.rb:76:in `block in summarize'
org/jruby/RubyArray.java:1792:in `each'
org/jruby/RubyEnumerable.java:1194:in `each_with_index'
C:/Users/Administrator.GIFS/AppData/Roaming/Nuix/Scripts/NuixProvided/CustodianPstExport.nuixscript/summary_reporter.rb:75:in `summarize'
C:/Users/Administrator.GIFS/AppData/Roaming/Nuix/Scripts/NuixProvided/CustodianPstExport.nuixscript/summary_reporter.rb:21:in `initialize'
C:\Users\Administrator.GIFS\AppData\Roaming\Nuix\Scripts\NuixProvided\CustodianPstExport.nuixscript\custodian_pst.rb:202:in `run'
C:\Users\Administrator.GIFS\AppData\Roaming\Nuix\Scripts\NuixProvided\CustodianPstExport.nuixscript\custodian_pst.rb:38:in `block in initialize'
C:\Users\Administrator.GIFS\AppData\Roaming\Nuix\Scripts\NuixProvided\CustodianPstExport.nuixscript\custodian_pst.rb:34:in `initialize'
C:\Users\Administrator.GIFS\AppData\Roaming\Nuix\Scripts\NuixProvided\CustodianPstExport.nuixscript\custodian_pst.rb:235:in `<main>'
...
Illegal character '&#55357;' in raw string "java.lang.IllegalStateException: Error exporting item into mailbox: ExportItemContext[guid=8342217eede74b3ea3cae285b397ff44,mime-type=application/vnd.ms-outlook-note,item=ItemDetails{name=&#55357;&#56798; Twitch bits x 3, container=false, excluded=false, failure=false, flags=[TEXT_INDEXED, AUDITED, TOP_LEVEL, NOT_LOOSE_FILE, NOT_PHYSICAL_FILE, FAMILY_INLINE, NOT_FILE_DATA, NOT_FAILED, E_DISCOVERY_CLASS]},numberingContext=NumberingExportContext[numbering=001.047.981,documentNum=001.047.981],nativeContext=NativeExportContext[fromBinaryStore=false,isSlipSheet=false,retainAsSlipSheet=false,native=EXPORT_DIRECTORY/XXXCUSTODIANXXX/XXXCUSTODIANXXX [O365_Emails_20210111-20210503]/XXXCUSTODIANXXX [O365_Emails_20210111-20210503]/XXXCUSTODIANXXX.pst/Top of Personal Folders/XXXCUSTODIANXXX (Primary)/Recoverable Items/Deletions/&#55357;&#56798; Twitch bits x 3.msg,original=EXPORT_SPOOL/834/8342217eede74b3ea3cae285b397ff44-ORIGINAL.msg,tmpNative=EXPORT_SPOOL/834/8342217eede74b3ea3cae285b397ff44-ORIGINAL.msg,replaceWithSlipsheet=false],pdfContext=PdfExportContext[pdfPageCount=0,stampedPageCount=0,storedInPrintStore=false,pdf=&lt;null&gt;,tmpPdf=&lt;null&gt;,imagingProfileName=&lt;null&gt;],productionProfileContext=ProductionProfileExportContext[profileName=&lt;null&gt;,ruleName=&lt;null&gt;],tiffContext=ImageExportContext[imagePageCount=0,super=ImageExportContext[filesProduced=]],textContext=TextExportContext[slipSheetText=false,hasCommunicationAspect=false]]
    at com.nuix.export.processor.J.a(SourceFile:338)
    at com.nuix.export.processor.J.a(SourceFile:237)
    at com.nuix.processing.worker.handler.export.i.a(SourceFile:109)
    at com.nuix.processing.worker.handler.export.i.handleMessage(SourceFile:26)
    at com.nuix.processing.worker.Worker.processMessage(SourceFile:547)
    at com.nuix.processing.worker.Worker.execute(SourceFile:466)
    at com.nuix.processing.workerlauncher.SingleWorkerMain.a(SourceFile:305)
    at com.nuix.processing.workerlauncher.SingleWorkerMain.g(SourceFile:143)
    at com.nuix.bootstrap.c$b.a(SourceFile:259)
    at com.nuix.bootstrap.c.run(SourceFile:118)
    at com.nuix.processing.workerlauncher.SingleWorkerMain.main(SourceFile:383)
Caused by: AsposeException: Header CRC is not valid !
[Ljava.lang.StackTraceElement;@651e0218
    at com.aspose.email.zang.j(SourceFile:2033)
    at com.aspose.email.zang.a(SourceFile:1554)
    at com.aspose.email.zang.&lt;init&gt;(SourceFile:170)
    at com.aspose.email.zafo.&lt;init&gt;(SourceFile:71)
    at com.aspose.email.zaso.&lt;init&gt;(SourceFile:132)
    at com.aspose.email.PersonalStorage.a(SourceFile:277)
    at com.aspose.email.PersonalStorage.fromFile(SourceFile:237)
    at com.aspose.email.PersonalStorage.fromFile(SourceFile:211)
    at com.nuix.export.mail.mailbox.a.&lt;init&gt;(SourceFile:63)
    at com.nuix.export.mail.mailbox.d.&lt;init&gt;(SourceFile:26)
    at com.nuix.export.mail.mailbox.t.a(SourceFile:163)
    at com.nuix.export.mail.mailbox.u.a(SourceFile:171)
    at com.nuix.export.mail.mailbox.e.exportMessage(SourceFile:85)
    at com.nuix.export.processor.J.a(SourceFile:325)
    ... 10 more
"
Line: 518896
Position: 49857113
Last 80 unconsumed characters:

2021-05-07 10:30:39: org.jruby.exceptions.RuntimeError: (ParseException) #<RuntimeError: Illegal character '&#55357;' in raw string "java.lang.IllegalStateException: Error exporting item into mailbox: ExportItemContext[guid=8342217eede74b3ea3cae285b397ff44,mime-type=application/vnd.ms-outlook-note,item=ItemDetails{name=&#55357;&#56798; Twitch bits x 3, container=false, excluded=false, failure=false, flags=[TEXT_INDEXED, AUDITED, TOP_LEVEL, NOT_LOOSE_FILE, NOT_PHYSICAL_FILE, FAMILY_INLINE, NOT_FILE_DATA, NOT_FAILED, E_DISCOVERY_CLASS]},numberingContext=NumberingExportContext[numbering=001.047.981,documentNum=001.047.981],nativeContext=NativeExportContext[fromBinaryStore=false,isSlipSheet=false,retainAsSlipSheet=false,native=EXPORT_DIRECTORY/XXXCUSTODIANXXX/XXXCUSTODIANXXX [O365_Emails_20210111-20210503]/XXXCUSTODIANXXX [O365_Emails_20210111-20210503]/XXXCUSTODIANXXX.pst/Top of Personal Folders/XXXCUSTODIANXXX (Primary)/Recoverable Items/Deletions/&#55357;&#56798; Twitch bits x 3.msg,original=EXPORT_SPOOL/834/8342217eede74b3ea3cae285b397ff44-ORIGINAL.msg,tmpNative=EXPORT_SPOOL/834/8342217eede74b3ea3cae285b397ff44-ORIGINAL.msg,replaceWithSlipsheet=false],pdfContext=PdfExportContext[pdfPageCount=0,stampedPageCount=0,storedInPrintStore=false,pdf=&lt;null&gt;,tmpPdf=&lt;null&gt;,imagingProfileName=&lt;null&gt;],productionProfileContext=ProductionProfileExportContext[profileName=&lt;null&gt;,ruleName=&lt;null&gt;],tiffContext=ImageExportContext[imagePageCount=0,super=ImageExportContext[filesProduced=]],textContext=TextExportContext[slipSheetText=false,hasCommunicationAspect=false]]
    at com.nuix.export.processor.J.a(SourceFile:338)
    at com.nuix.export.processor.J.a(SourceFile:237)
    at com.nuix.processing.worker.handler.export.i.a(SourceFile:109)
    at com.nuix.processing.worker.handler.export.i.handleMessage(SourceFile:26)
    at com.nuix.processing.worker.Worker.processMessage(SourceFile:547)
    at com.nuix.processing.worker.Worker.execute(SourceFile:466)
    at com.nuix.processing.workerlauncher.SingleWorkerMain.a(SourceFile:305)
    at com.nuix.processing.workerlauncher.SingleWorkerMain.g(SourceFile:143)
    at com.nuix.bootstrap.c$b.a(SourceFile:259)
    at com.nuix.bootstrap.c.run(SourceFile:118)
    at com.nuix.processing.workerlauncher.SingleWorkerMain.main(SourceFile:383)
Caused by: AsposeException: Header CRC is not valid !
[Ljava.lang.StackTraceElement;@651e0218
    at com.aspose.email.zang.j(SourceFile:2033)
    at com.aspose.email.zang.a(SourceFile:1554)
    at com.aspose.email.zang.&lt;init&gt;(SourceFile:170)
    at com.aspose.email.zafo.&lt;init&gt;(SourceFile:71)
    at com.aspose.email.zaso.&lt;init&gt;(SourceFile:132)
    at com.aspose.email.PersonalStorage.a(SourceFile:277)
    at com.aspose.email.PersonalStorage.fromFile(SourceFile:237)
    at com.aspose.email.PersonalStorage.fromFile(SourceFile:211)
    at com.nuix.export.mail.mailbox.a.&lt;init&gt;(SourceFile:63)
    at com.nuix.export.mail.mailbox.d.&lt;init&gt;(SourceFile:26)
    at com.nuix.export.mail.mailbox.t.a(SourceFile:163)
    at com.nuix.export.mail.mailbox.u.a(SourceFile:171)
    at com.nuix.export.mail.mailbox.e.exportMessage(SourceFile:85)
    at com.nuix.export.processor.J.a(SourceFile:325)
    ... 10 more
">
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rexml/text.rb:162:in `block in check'
org/jruby/RubyString.java:4350:in `scan'
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rexml/text.rb:154:in `check'
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rexml/attribute.rb:157:in `element='
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rexml/element.rb:1125:in `[]='
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rexml/parsers/treeparser.rb:36:in `block in parse'
org/jruby/RubyHash.java:1419:in `each'
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rexml/parsers/treeparser.rb:35:in `parse'
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rexml/document.rb:288:in `build'
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rexml/document.rb:45:in `initialize'
C:/Users/Administrator.GIFS/AppData/Roaming/Nuix/Scripts/NuixProvided/CustodianPstExport.nuixscript/summary_reporter.rb:192:in `initialize'
C:/Users/Administrator.GIFS/AppData/Roaming/Nuix/Scripts/NuixProvided/CustodianPstExport.nuixscript/summary_reporter.rb:87:in `summarize_file'
C:/Users/Administrator.GIFS/AppData/Roaming/Nuix/Scripts/NuixProvided/CustodianPstExport.nuixscript/summary_reporter.rb:76:in `block in summarize'
org/jruby/RubyArray.java:1792:in `each'
org/jruby/RubyEnumerable.java:1194:in `each_with_index'
C:/Users/Administrator.GIFS/AppData/Roaming/Nuix/Scripts/NuixProvided/CustodianPstExport.nuixscript/summary_reporter.rb:75:in `summarize'
C:/Users/Administrator.GIFS/AppData/Roaming/Nuix/Scripts/NuixProvided/CustodianPstExport.nuixscript/summary_reporter.rb:21:in `initialize'
C:\Users\Administrator.GIFS\AppData\Roaming\Nuix\Scripts\NuixProvided\CustodianPstExport.nuixscript\custodian_pst.rb:202:in `run'
C:\Users\Administrator.GIFS\AppData\Roaming\Nuix\Scripts\NuixProvided\CustodianPstExport.nuixscript\custodian_pst.rb:38:in `block in initialize'
C:\Users\Administrator.GIFS\AppData\Roaming\Nuix\Scripts\NuixProvided\CustodianPstExport.nuixscript\custodian_pst.rb:34:in `initialize'
C:\Users\Administrator.GIFS\AppData\Roaming\Nuix\Scripts\NuixProvided\CustodianPstExport.nuixscript\custodian_pst.rb:235:in `<main>'
...
Illegal character '&#55357;' in raw string "java.lang.IllegalStateException: Error exporting item into mailbox: ExportItemContext[guid=8342217eede74b3ea3cae285b397ff44,mime-type=application/vnd.ms-outlook-note,item=ItemDetails{name=&#55357;&#56798; Twitch bits x 3, container=false, excluded=false, failure=false, flags=[TEXT_INDEXED, AUDITED, TOP_LEVEL, NOT_LOOSE_FILE, NOT_PHYSICAL_FILE, FAMILY_INLINE, NOT_FILE_DATA, NOT_FAILED, E_DISCOVERY_CLASS]},numberingContext=NumberingExportContext[numbering=001.047.981,documentNum=001.047.981],nativeContext=NativeExportContext[fromBinaryStore=false,isSlipSheet=false,retainAsSlipSheet=false,native=EXPORT_DIRECTORY/XXXCUSTODIANXXX/XXXCUSTODIANXXX [O365_Emails_20210111-20210503]/XXXCUSTODIANXXX [O365_Emails_20210111-20210503]/XXXCUSTODIANXXX.pst/Top of Personal Folders/XXXCUSTODIANXXX (Primary)/Recoverable Items/Deletions/&#55357;&#56798; Twitch bits x 3.msg,original=EXPORT_SPOOL/834/8342217eede74b3ea3cae285b397ff44-ORIGINAL.msg,tmpNative=EXPORT_SPOOL/834/8342217eede74b3ea3cae285b397ff44-ORIGINAL.msg,replaceWithSlipsheet=false],pdfContext=PdfExportContext[pdfPageCount=0,stampedPageCount=0,storedInPrintStore=false,pdf=&lt;null&gt;,tmpPdf=&lt;null&gt;,imagingProfileName=&lt;null&gt;],productionProfileContext=ProductionProfileExportContext[profileName=&lt;null&gt;,ruleName=&lt;null&gt;],tiffContext=ImageExportContext[imagePageCount=0,super=ImageExportContext[filesProduced=]],textContext=TextExportContext[slipSheetText=false,hasCommunicationAspect=false]]
    at com.nuix.export.processor.J.a(SourceFile:338)
    at com.nuix.export.processor.J.a(SourceFile:237)
    at com.nuix.processing.worker.handler.export.i.a(SourceFile:109)
    at com.nuix.processing.worker.handler.export.i.handleMessage(SourceFile:26)
    at com.nuix.processing.worker.Worker.processMessage(SourceFile:547)
    at com.nuix.processing.worker.Worker.execute(SourceFile:466)
    at com.nuix.processing.workerlauncher.SingleWorkerMain.a(SourceFile:305)
    at com.nuix.processing.workerlauncher.SingleWorkerMain.g(SourceFile:143)
    at com.nuix.bootstrap.c$b.a(SourceFile:259)
    at com.nuix.bootstrap.c.run(SourceFile:118)
    at com.nuix.processing.workerlauncher.SingleWorkerMain.main(SourceFile:383)
Caused by: AsposeException: Header CRC is not valid !
[Ljava.lang.StackTraceElement;@651e0218
    at com.aspose.email.zang.j(SourceFile:2033)
    at com.aspose.email.zang.a(SourceFile:1554)
    at com.aspose.email.zang.&lt;init&gt;(SourceFile:170)
    at com.aspose.email.zafo.&lt;init&gt;(SourceFile:71)
    at com.aspose.email.zaso.&lt;init&gt;(SourceFile:132)
    at com.aspose.email.PersonalStorage.a(SourceFile:277)
    at com.aspose.email.PersonalStorage.fromFile(SourceFile:237)
    at com.aspose.email.PersonalStorage.fromFile(SourceFile:211)
    at com.nuix.export.mail.mailbox.a.&lt;init&gt;(SourceFile:63)
    at com.nuix.export.mail.mailbox.d.&lt;init&gt;(SourceFile:26)
    at com.nuix.export.mail.mailbox.t.a(SourceFile:163)
    at com.nuix.export.mail.mailbox.u.a(SourceFile:171)
    at com.nuix.export.mail.mailbox.e.exportMessage(SourceFile:85)
    at com.nuix.export.processor.J.a(SourceFile:325)
    ... 10 more
"
Line: 518896
Position: 49857113
Last 80 unconsumed characters:

    at RUBY.parse(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rexml/parsers/treeparser.rb:96)
    at RUBY.build(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rexml/document.rb:288)
    at RUBY.initialize(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rexml/document.rb:45)
    at RUBY.initialize(C:/Users/Administrator.GIFS/AppData/Roaming/Nuix/Scripts/NuixProvided/CustodianPstExport.nuixscript/summary_reporter.rb:192)
    at RUBY.summarize_file(C:/Users/Administrator.GIFS/AppData/Roaming/Nuix/Scripts/NuixProvided/CustodianPstExport.nuixscript/summary_reporter.rb:87)
    at RUBY.summarize(C:/Users/Administrator.GIFS/AppData/Roaming/Nuix/Scripts/NuixProvided/CustodianPstExport.nuixscript/summary_reporter.rb:76)
    at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1792)
    at org.jruby.RubyEnumerable.each_with_index(org/jruby/RubyEnumerable.java:1194)
    at RUBY.summarize(C:/Users/Administrator.GIFS/AppData/Roaming/Nuix/Scripts/NuixProvided/CustodianPstExport.nuixscript/summary_reporter.rb:75)
    at RUBY.initialize(C:/Users/Administrator.GIFS/AppData/Roaming/Nuix/Scripts/NuixProvided/CustodianPstExport.nuixscript/summary_reporter.rb:21)
    at RUBY.run(C:\Users\Administrator.GIFS\AppData\Roaming\Nuix\Scripts\NuixProvided\CustodianPstExport.nuixscript\custodian_pst.rb:202)
    at RUBY.initialize(C:\Users\Administrator.GIFS\AppData\Roaming\Nuix\Scripts\NuixProvided\CustodianPstExport.nuixscript\custodian_pst.rb:38)
    at RUBY.initialize(C:\Users\Administrator.GIFS\AppData\Roaming\Nuix\Scripts\NuixProvided\CustodianPstExport.nuixscript\custodian_pst.rb:34)
    at RUBY.<main>(C:\Users\Administrator.GIFS\AppData\Roaming\Nuix\Scripts\NuixProvided\CustodianPstExport.nuixscript\custodian_pst.rb:235)
JuicyDragon commented 3 years ago

Hello @marleyjaffe my colleague @nuix-mrk (author of this script) was able to find a prior report of this CRC error and in that instance including this argument at startup appears to have helped them:

-Dnuix.export.pst.useMapi=true

While that should help with the Nuix export side of things hopefully, @nuix-mrk is looking at hardening the script a little bit so that if something similar to this happens again the script will hopefully be able to roll with the punches a little better.

DerdeeDan commented 3 years ago

The provided switch allowed the export to complete successfully. Thank you for the update! Looking forward to another version of the script. Thanks again @JuicyDragon @nuix-mrk