legacy-knowledge-base
公開されました Jun. 30, 2025

Gifsicleを有効にするとプレビューが生成されない

written-by

Jamilly Macedo

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • Gifsicleを有効にすると、新しい画像をアップロードするときに、そのプレビューと適応された画像が生成されません。
  • ログには次のような警告が報告されている:

WARN  [liferay/adaptive_media_processor-5786][AMMessageListener:79] null
com.liferay.adaptive.media.exception.AMRuntimeException$IOException: java.util.concurrent.ExecutionException: com.liferay.petra.process.TerminationProcessException: Subprocess terminated with exit code 1
at com.liferay.adaptive.media.image.internal.scaler.AMGIFImageScaler.scaleImage(AMGIFImageScaler.java:85) ~[?:?]
at com.liferay.adaptive.media.image.internal.processor.AMImageAMProcessor.process(AMImageAMProcessor.java:105) ~[?:?]
at com.liferay.adaptive.media.image.internal.processor.AMImageAMProcessor.process(AMImageAMProcessor.java:63) ~[?:?]
at com.liferay.adaptive.media.image.internal.processor.AMImageAMProcessor.process(AMImageAMProcessor.java:35) ~[?:?]
at com.liferay.adaptive.media.web.internal.messaging.AMProcessorCommand$2.execute(AMProcessorCommand.java:34) ~[bundleFile:?]
at com.liferay.adaptive.media.web.internal.messaging.AMMessageListener.doReceive(AMMessageListener.java:70) [bundleFile:?]
at com.liferay.portal.kernel.messaging.BaseMessageListener.doReceive(BaseMessageListener.java:39) [portal-kernel.jar:?]
at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25) [portal-kernel.jar:?]
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:65) [portal-kernel.jar:?]
at com.liferay.portal.messaging.internal.ParallelDestination$1.run(ParallelDestination.java:47) [bundleFile:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:829) [?:?]
Caused by: java.util.concurrent.ExecutionException: com.liferay.petra.process.TerminationProcessException: Subprocess terminated with exit code 1
at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:?]
at java.util.concurrent.FutureTask.get(FutureTask.java:191) ~[?:?]
at com.liferay.adaptive.media.image.internal.scaler.AMGIFImageScaler.scaleImage(AMGIFImageScaler.java:70) ~[?:?]
... 12 more
Caused by: com.liferay.petra.process.TerminationProcessException: Subprocess terminated with exit code 1
at com.liferay.petra.process.ProcessUtil$ProcessStdOutCallable.call(ProcessUtil.java:227) ~[com.liferay.petra.process.jar:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
... 1 more

環境

  • Liferay DXP 7.4

解像度

  • この問題は LPS-202947によって解決されている。
  • この問題を修正したHotfixをリクエストしてください。
did-this-article-resolve-your-issue

legacy-knowledge-base