We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Negative Array Size when processing NSF file


NSF import does’t appear to work. Negative array size when working with NSF file. Unfortunately, i cannot supply file due to confidentiality concerns on the part of this customer. Aspose Email v19.11.

2019-12-31 11:36:04 t.c.s.a.i.MessageImportProcess [DEBUG] failed to import:null
java.lang.NegativeArraySizeException: null
at com.aspose.email.zaol.a(SourceFile:223)
at com.aspose.email.zaol.a(SourceFile:83)
at com.aspose.email.zfu.a(SourceFile:53)
at com.aspose.email.zll.b(SourceFile:252)
at com.aspose.email.zll.a(SourceFile:27)
at com.aspose.email.zll$za.hasNext(SourceFile:340)


I have observed the issue shared by you and request you to please share the used sample code along with NSF file reproducing the issue.

I cannot supply the file due to confidentiality concerns. Please take a look at Aspose source code and see if the issue is obvious to resolve without having access to the source file.


Unfortunately without provision of requested information we may not be able to investigate the issue further on our end and helping you further. Therefore, we request you to please provide the source file along with used sample code.