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

Free Support Forum - aspose.com

Aspose Words 21.5 JDK 17 jar breaks when run on websphere (IBM J9 VM or Eclipse Open J9 VM)

Getting following error when running my application on websphere application server (uses IBM J9 VM or Eclipse Open J9 VM) . My application has dependency on Aspose-Words-21.5-jdk17.jar . Same application work fine when if use April version of jar (Aspose-Words-21.4-jdk17.jar) .

Error :

Caused by: java.lang.ExceptionInInitializerError
	at java.lang.J9VMInternals.ensureError(J9VMInternals.java:146) ~[?:2.9 (03-09-2018)]
	at java.lang.J9VMInternals.recordInitializationFailure(J9VMInternals.java:135) ~[?:2.9 (03-09-2018)]
	at com.aspose.words.zzZ85.zzZ(Unknown Source) ~[aspose-words-21.5-jdk17.jar:21.5.0]
	at com.aspose.words.zzZ85.zzXg(Unknown Source) ~[aspose-words-21.5-jdk17.jar:21.5.0]
	at com.aspose.words.zzZ81.zzXE(Unknown Source) ~[aspose-words-21.5-jdk17.jar:21.5.0]
	at com.aspose.words.Document.zzY(Unknown Source) ~[aspose-words-21.5-jdk17.jar:21.5.0]
	at com.aspose.words.Document.zzZ(Unknown Source) ~[aspose-words-21.5-jdk17.jar:21.5.0]
	at com.aspose.words.Document.<init>(Unknown Source) ~[aspose-words-21.5-jdk17.jar:21.5.0]
	at com.aspose.words.Document.<init>(Unknown Source) ~[aspose-words-21.5-jdk17.jar:21.5.0]
	at com.aspose.words.Document.<init>(Unknown Source) ~[aspose-words-21.5-jdk17.jar:21.5.0]

Error :

Caused by: java.lang.IllegalArgumentException: bytes cannot be null
	at com.aspose.words.internal.zz1B.zzZp(Unknown Source) ~[aspose-words-21.5-jdk17.jar:21.5.0]
	at com.aspose.words.zzZ87.<init>(Unknown Source) ~[aspose-words-21.5-jdk17.jar:21.5.0]
	at com.aspose.words.zzZ87.<clinit>(Unknown Source) ~[aspose-words-21.5-jdk17.jar:21.5.0]
	at com.aspose.words.zzZ85.zzZ(Unknown Source) ~[aspose-words-21.5-jdk17.jar:21.5.0]
	at com.aspose.words.zzZ85.zzXg(Unknown Source) ~[aspose-words-21.5-jdk17.jar:21.5.0]
	at com.aspose.words.zzZ81.zzXE(Unknown Source) ~[aspose-words-21.5-jdk17.jar:21.5.0]
	at com.aspose.words.Document.zzY(Unknown Source) ~[aspose-words-21.5-jdk17.jar:21.5.0]
	at com.aspose.words.Document.zzZ(Unknown Source) ~[aspose-words-21.5-jdk17.jar:21.5.0]
	at com.aspose.words.Document.<init>(Unknown Source) ~[aspose-words-21.5-jdk17.jar:21.5.0]
	at com.aspose.words.Document.<init>(Unknown Source) ~[aspose-words-21.5-jdk17.jar:21.5.0]
	at com.aspose.words.Document.<init>(Unknown Source) ~[aspose-words-21.5-jdk17.jar:21.5.0]

@daisy4321

Could you please share some detail about your working environment along with complete steps to reproduce the same issue at our end? Please also share following detail for testing purpose.

  • Your input Word document if this issue is specific to a document.
  • A simplified Java application (source code without compilation errors).
  • Please create a sample WAR file that can be used in WebSphere to reproduce this issue.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.