Crashed when Converting PowerPoint Presentation to PDF on Android

Resource file System/Drawing/rswop.icm not found in assembly

2023-01-29 16:54:28.376 17128-17187/com.orion.notein.debug W/on.notein.debu: Accessing hidden field Ljava/lang/Throwable;->detailMessage:Ljava/lang/String; (greylist, reflection, allowed)
2023-01-29 16:54:28.376 17128-17187/com.orion.notein.debug E/DEBUG: java.lang.ExceptionInInitializerError
2023-01-29 16:54:28.377 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.internal.hs.do.do(Unknown Source:0)
2023-01-29 16:54:28.377 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.internal.hs.for.int(Unknown Source:97)
2023-01-29 16:54:28.377 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.internal.hs.for.for(Unknown Source:17)
2023-01-29 16:54:28.377 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.internal.hs.for.do(Unknown Source:21)
2023-01-29 16:54:28.377 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.internal.he.do.do(Unknown Source:7)
2023-01-29 16:54:28.377 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.internal.he.do.do(Unknown Source:17)
2023-01-29 16:54:28.377 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.internal.he.else.(Unknown Source:11)
2023-01-29 16:54:28.377 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.internal.hf.for.do(Unknown Source:38)
2023-01-29 16:54:28.377 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.internal.hf.for.(Unknown Source:61)
2023-01-29 16:54:28.377 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.internal.hf.do.do(Unknown Source:23)
2023-01-29 16:54:28.377 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.internal.hf.do.do(Unknown Source:63)
2023-01-29 16:54:28.377 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.internal.hf.do.do(Unknown Source:19)
2023-01-29 16:54:28.377 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.internal.fu.catch.new(Unknown Source:7)
2023-01-29 16:54:28.377 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.ms.backend.android.System.Drawing.int.do(Unknown Source:4)
2023-01-29 16:54:28.378 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.ms.backend.android.System.Drawing.int.do(Unknown Source:39)
2023-01-29 16:54:28.378 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.internal.hb.case.do(Unknown Source:51)
2023-01-29 16:54:28.378 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.internal.hb.goto.do(Unknown Source:10)
2023-01-29 16:54:28.378 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.internal.hb.goto.if(Unknown Source:18)
2023-01-29 16:54:28.378 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.h.do(Unknown Source:111)
2023-01-29 16:54:28.378 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.h.do(Unknown Source:2)
2023-01-29 16:54:28.378 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.h.do(Unknown Source:170)
2023-01-29 16:54:28.378 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.to.do(Unknown Source:507)
2023-01-29 16:54:28.378 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.to.do(Unknown Source:92)
2023-01-29 16:54:28.378 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.to.do(Unknown Source:435)
2023-01-29 16:54:28.378 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.to.do(Unknown Source:15)
2023-01-29 16:54:28.378 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.ah.do(Unknown Source:242)
2023-01-29 16:54:28.378 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.aop.do(Unknown Source:4)
2023-01-29 16:54:28.378 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.uu.do(Unknown Source:144)
2023-01-29 16:54:28.379 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.aop.do(Unknown Source:4)
2023-01-29 16:54:28.379 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.uu.do(Unknown Source:144)
2023-01-29 16:54:28.379 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.ask.do(Unknown Source:30)
2023-01-29 16:54:28.379 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.ask.do(Unknown Source:256)
2023-01-29 16:54:28.379 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.ask.do(Unknown Source:9)
2023-01-29 16:54:28.379 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.ask.do(Unknown Source:14)
2023-01-29 16:54:28.379 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.Slide.do(Unknown Source:86)
2023-01-29 16:54:28.379 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.al6.do(Unknown Source:265)
2023-01-29 16:54:28.379 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.al6.do(Unknown Source:19)
2023-01-29 16:54:28.379 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.Presentation.do(Unknown Source:464)
2023-01-29 16:54:28.379 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.Presentation.save(Unknown Source:12)
2023-01-29 16:54:28.379 17128-17187/com.orion.notein.debug E/DEBUG: at com.orion.notein.domain.usecase.NoteUseCase.convertPPTToPdf(NoteUseCase.kt:1606)
2023-01-29 16:54:28.379 17128-17187/com.orion.notein.debug E/DEBUG: at com.orion.notein.domain.usecase.NoteUseCase.createPdfNotesByPlaceholder(NoteUseCase.kt:1637)
2023-01-29 16:54:28.379 17128-17187/com.orion.notein.debug E/DEBUG: at com.orion.notein.domain.usecase.NoteUseCase$createPdfNotes$2.invokeSuspend(NoteUseCase.kt:1598)
2023-01-29 16:54:28.379 17128-17187/com.orion.notein.debug E/DEBUG: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
2023-01-29 16:54:28.380 17128-17187/com.orion.notein.debug E/DEBUG: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
2023-01-29 16:54:28.380 17128-17187/com.orion.notein.debug E/DEBUG: at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
2023-01-29 16:54:28.380 17128-17187/com.orion.notein.debug E/DEBUG: at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
2023-01-29 16:54:28.380 17128-17187/com.orion.notein.debug E/DEBUG: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
2023-01-29 16:54:28.380 17128-17187/com.orion.notein.debug E/DEBUG: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:749)
2023-01-29 16:54:28.380 17128-17187/com.orion.notein.debug E/DEBUG: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
2023-01-29 16:54:28.380 17128-17187/com.orion.notein.debug E/DEBUG: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
2023-01-29 16:54:28.380 17128-17187/com.orion.notein.debug E/DEBUG: Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@a17aa68, Dispatchers.IO]
2023-01-29 16:54:28.380 17128-17187/com.orion.notein.debug E/DEBUG: Caused by: java.lang.IllegalStateException: Resource file System/Drawing/rswop.icm not found in assembly
2023-01-29 16:54:28.381 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.ms.core.resources.ResourcesLoader.loadResource(Unknown Source:31)
2023-01-29 16:54:28.381 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.internal.ht.void.do(Unknown Source:2)
2023-01-29 16:54:28.381 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.internal.ht.void.do(Unknown Source:4)
2023-01-29 16:54:28.381 17128-17187/com.orion.notein.debug E/DEBUG: at com.aspose.slides.internal.hs.do.(Unknown Source:7)

@wuqian,
Thank you for contacting support.

Please check your results using the latest version of Aspose.Slides for Android. If the issue persists, please share the following data and information:

  • the simplest project that reproduces the error
  • input presentation file
  • Android version on which the error occurred

chp5(1).ppt.zip (329.8 KB)

@Andrey_Potapov
thank you for your respond. the input ppt file already uploaded.
the crash happened on Android 10,11 and 12
i am trying to create a simplest project that reproduces the error, but i think you can test the input file on your inner demo project to reproduce it.

@wuqian,
Thank you for the presentation file and information. We will get back to you ASAP.

by the way, “rswop.icm not found” in assembly in the error stack maybe the problem.

java.lang.IllegalStateException: Resource file System/Drawing/rswop.icm not found in assembly

@wuqian,
Thank you for the additional information.

@wuqian,
Please share the following additional information:

  • JDK version in your app
  • Aspose.Slides for Android via Java version you used

@Andrey_Potapov
aspose-slides-22.12-android.via.java.jar

jdk version config in gradle is 1.8

compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_8
    targetCompatibility JavaVersion.VERSION_1_8
}

@wuqian,
Thank you for the additional information.

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.

Issue ID(s): SLIDESANDROID-472

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
thank you for your support. But how can i get the feedback when the issue is fixed?

@wuqian,
Our developers will work on the issue this week. We will inform you of any progress.

hi, is there anything update?

@wuqian,
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 coming days.

The issues you found earlier (filed as SLIDESANDROID-472) 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.

Thank you for your reply. The problem has been resolved.

Thank you for your information. The issue has been resolved.