Free Support Forum - aspose.com

asposewobfuscated.ZYL: Illegal character (NULL- unicode 0) encountered: not valid in any content

Hi, we are using Aspose.Words 11.7.0.0 jdk6.

File caused this problem in attach. It's known problem?

Caused by: com.aspose.words.FileCorruptedException: The document appears to be corrupted and cannot be loaded.
at com.aspose.words.FileFormatUtil.Z(Unknown Source)
at com.aspose.words.Document.Z(Unknown Source)
at com.aspose.words.Document.?(Unknown Source)
at com.aspose.words.Document.(Unknown Source)
at com.aspose.words.Document.(Unknown Source)
at ru.reksoft.documentum.office.ContentPropertiesProcessor.processFile(ContentPropertiesProcessor.java:152)
... 42 more
Caused by: java.lang.IllegalStateException: XMLStreamException: Illegal character (NULL, unicode 0) encountered: not valid in any content
at [row,col {unknown-source}]: [3,3574]
at asposewobfuscated.E6.?(Unknown Source)
at asposewobfuscated.E6.read(Unknown Source)
at asposewobfuscated.V.Z(Unknown Source)
at asposewobfuscated.V.V(Unknown Source)
at com.aspose.words.ZKR.S(Unknown Source)
at com.aspose.words.ZKR.R(Unknown Source)
at com.aspose.words.ZKR.S(Unknown Source)
at com.aspose.words.ZKR.R(Unknown Source)
at com.aspose.words.ZLE.S(Unknown Source)
at com.aspose.words.ZLE.?(Unknown Source)
at com.aspose.words.ZKW.read(Unknown Source)
at com.aspose.words.ZYF.Z9(Unknown Source)
at com.aspose.words.VK.visitShapeStart(Unknown Source)
at com.aspose.words.Shape.?(Unknown Source)
at com.aspose.words.CompositeNode.acceptCore(Unknown Source)
at com.aspose.words.Shape.accept(Unknown Source)
at com.aspose.words.CompositeNode.acceptChildren(Unknown Source)
at com.aspose.words.CompositeNode.acceptCore(Unknown Source)
at com.aspose.words.Paragraph.accept(Unknown Source)
at com.aspose.words.CompositeNode.acceptChildren(Unknown Source)
at com.aspose.words.CompositeNode.acceptCore(Unknown Source)
at com.aspose.words.Cell.accept(Unknown Source)
at com.aspose.words.CompositeNode.acceptChildren(Unknown Source)
at com.aspose.words.CompositeNode.acceptCore(Unknown Source)
at com.aspose.words.Row.accept(Unknown Source)
at com.aspose.words.CompositeNode.acceptChildren(Unknown Source)
at com.aspose.words.CompositeNode.acceptCore(Unknown Source)
at com.aspose.words.Table.accept(Unknown Source)
at com.aspose.words.CompositeNode.acceptChildren(Unknown Source)
at com.aspose.words.CompositeNode.acceptCore(Unknown Source)
at com.aspose.words.Body.accept(Unknown Source)
at com.aspose.words.CompositeNode.acceptChildren(Unknown Source)
at com.aspose.words.CompositeNode.acceptCore(Unknown Source)
at com.aspose.words.Section.accept(Unknown Source)
at com.aspose.words.CompositeNode.acceptChildren(Unknown Source)
at com.aspose.words.CompositeNode.acceptCore(Unknown Source)
at com.aspose.words.Document.accept(Unknown Source)
at com.aspose.words.VK.?(Unknown Source)
at com.aspose.words.Document.Z(Unknown Source)
... 46 more
Caused by: asposewobfuscated.ZYL: Illegal character (NULL, unicode 0) encountered: not valid in any content
at [row,col {unknown-source}]: [3,3574]
at asposewobfuscated.ZXM.Zxm(Unknown Source)
at asposewobfuscated.ZXM.ZL(Unknown Source)
at asposewobfuscated.ZXM.EX(Unknown Source)
at asposewobfuscated.ZXM.Zxi(Unknown Source)
at asposewobfuscated.ZXT.U2(Unknown Source)
at asposewobfuscated.ZXT.ZxE(Unknown Source)
at asposewobfuscated.ZXT.ZxF(Unknown Source)
at asposewobfuscated.ZXT.next(Unknown Source)
at asposewobfuscated.E6.read(Unknown Source)
... 83 more

Hi Evgeny,


Thanks for your inquiry.

While using the latest version of Aspose.Words i.e. 11.10.0, I was unable to reproduce this issue on my side. I would suggest you please upgrade to the latest version of Aspose.Words. You can download it from the following link:
http://www.aspose.com/community/files/72/java-components/aspose.words-for-java/default.aspx

I hope, this helps.

Best regards,