android使用slide java,将ppt文档转换为pdf文档的时候,出现IllegalStateException,导致应用进程crash。 该ppt文档1.76M,sdk : 详细报错如下:

	at Source:0)
	at Source:97)
	at com.aspose.slides.internal.hs.for.for(Unknown Source:17)
	at Source:21)
	at Source:7)
	at Source:17)
	at com.aspose.slides.internal.he.else.<init>(Unknown Source:11)
	at Source:38)
	at com.aspose.slides.internal.hf.for.<init>(Unknown Source:61)
	at Source:23)
	at Source:63)
	at Source:19)
	at Source:7)
	at Source:4)
	at Source:39)
	at Source:51)
	at Source:10)
	at com.aspose.slides.internal.hb.goto.if(Unknown Source:18)
	at Source:111)
	at Source:2)
	at Source:170)
	at Source:507)
	at Source:92)
	at Source:435)
	at Source:15)
	at Source:242)
	at Source:4)
	at Source:144)
	at com.aspose.slides.are.for(Unknown Source:10)
	at Source:270)
	at Source:14)
	at Source:86)
	at Source:265)
	at Source:19)
	at Source:464)
	at Source:4)
	at Source:5)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(
	at java.util.concurrent.ThreadPoolExecutor$
Caused by: java.lang.IllegalStateException: Resource file System/Drawing/rswop.icm not found in assembly
	at Source:31)
	at Source:2)
	at Source:4)
	at<clinit>(Unknown Source:7)
	... 56 more


如果可能,请使用最新版本的 Aspose.Slides 检查您的结果。 如果问题仍然存在,请分享以下数据和信息:

  • PowerPoint 演示文稿文件
  • 重现错误的代码示例或简单项目
  • 执行代码的操作系统版本
  • 您应用中的 JDK 版本
  1. PowerPoint 文稿在附件中;
  2. 代码,是完全按照API写的:
   FileOutputStream os = new FileOutputStream (targetFile);
   Presentation ppt = new Presentation(sourceFile);, com.aspose.slides.SaveFormat.Pdf);
  1. 在HUAWEI harmonyos 3.0上;
  2. JDK 11和JDK1.8均有该问题。

四种配色时尚商务PPT模板.zip (1.6 MB)



We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.


You can obtain Paid Support services if you need support on a priority basis, along with the direct access to our Paid Support management team.

@Andrey_Potapov With Issue ID,Where should I go to check if my problem has been solved?

You can check the issue status at the bottom of the forum thread. The issue has already been resolved. A fix will be included in Aspose.Slides for Android via Java 23.2. This release will be published in the second half of February.

The issues you found earlier (filed as SLIDESANDROID-471) have been fixed in Aspose.Slides for Java 23.2 (JAR).
You can check all fixes on the Release Notes page.
You can also find the latest version of our library on the Product Download page.