Seen on https://qa.nuxeo.org/jenkins/job/TestAndPush/job/ondemand-testandpush-atchertchian-master-2/82/
org.nuxeo.ecm.platform.picture.core.test.TestPictureRenditions.shouldAllowPictureViewsGenerationOnImageToPDFRendition
2020-05-15 09:40:09,107 [recomputeViewsPool-01] ERROR [ImagingComponent] Failed to get ImageInfo for file Medium_exif_sample.jpg org.nuxeo.ecm.platform.commandline.executor.api.CommandException: Error code 135 return by command: identify -define registry:temporary-path=#{nuxeo.tmp.dir} -quiet -ping -format '%m %w %h %z %[colorspace]' #{inputFilePath}[0] at org.nuxeo.ecm.platform.commandline.executor.api.ExecResult.<init>(ExecResult.java:62) ~[nuxeo-platform-commandline-executor-11.1-SNAPSHOT.jar:?] at org.nuxeo.ecm.platform.commandline.executor.service.executors.ShellExecutor.exec(ShellExecutor.java:76) ~[nuxeo-platform-commandline-executor-11.1-SNAPSHOT.jar:?] at org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent.execCommand(CommandLineExecutorComponent.java:173) ~[nuxeo-platform-commandline-executor-11.1-SNAPSHOT.jar:?] at org.nuxeo.ecm.platform.picture.magick.utils.ImageIdentifier.getIdentifyResult(ImageIdentifier.java:60) ~[classes/:?] at org.nuxeo.ecm.platform.picture.magick.utils.ImageIdentifier.getInfo(ImageIdentifier.java:45) ~[classes/:?] at org.nuxeo.ecm.platform.picture.ImagingComponent.getImageInfo(ImagingComponent.java:170) ~[classes/:?] at org.nuxeo.ecm.platform.picture.ImagingComponent.computeView(ImagingComponent.java:318) ~[classes/:?] at org.nuxeo.ecm.platform.picture.ImagingComponent.computeView(ImagingComponent.java:270) ~[classes/:?] at org.nuxeo.ecm.platform.picture.ImagingComponent.computeViewsFor(ImagingComponent.java:383) ~[classes/:?] at org.nuxeo.ecm.platform.picture.api.adapters.AbstractPictureAdapter.addViews(AbstractPictureAdapter.java:290) ~[nuxeo-platform-imaging-api-11.1-SNAPSHOT.jar:?] at org.nuxeo.ecm.platform.picture.api.adapters.DefaultPictureAdapter.fillPictureViews(DefaultPictureAdapter.java:98) ~[nuxeo-platform-imaging-api-11.1-SNAPSHOT.jar:?] at org.nuxeo.ecm.platform.picture.recompute.RecomputeViewsAction$RecomputeViewsComputation.compute(RecomputeViewsAction.java:113) ~[classes/:?] at org.nuxeo.ecm.core.bulk.action.computation.AbstractBulkComputation.lambda$processBatchOfDocuments$1(AbstractBulkComputation.java:141) ~[nuxeo-core-bulk-11.1-SNAPSHOT.jar:?] at org.nuxeo.runtime.transaction.TransactionHelper.lambda$runInTransaction$5(TransactionHelper.java:587) ~[nuxeo-runtime-jtajca-11.1-SNAPSHOT.jar:?] at org.nuxeo.runtime.transaction.TransactionHelper.runInTransaction(TransactionHelper.java:607) ~[nuxeo-runtime-jtajca-11.1-SNAPSHOT.jar:?] at org.nuxeo.runtime.transaction.TransactionHelper.runInTransaction(TransactionHelper.java:587) ~[nuxeo-runtime-jtajca-11.1-SNAPSHOT.jar:?] at org.nuxeo.ecm.core.bulk.action.computation.AbstractBulkComputation.processBatchOfDocuments(AbstractBulkComputation.java:135) ~[nuxeo-core-bulk-11.1-SNAPSHOT.jar:?] at org.nuxeo.ecm.core.bulk.action.computation.AbstractBulkComputation.processRecord(AbstractBulkComputation.java:98) ~[nuxeo-core-bulk-11.1-SNAPSHOT.jar:?] at org.nuxeo.lib.stream.computation.log.ComputationRunner.lambda$processRecordWithRetry$10(ComputationRunner.java:377) ~[nuxeo-stream-11.1-SNAPSHOT.jar:?] at net.jodah.failsafe.Functions$10.call(Functions.java:252) [failsafe-1.1.0.jar:1.1.0] at net.jodah.failsafe.SyncFailsafe.call(SyncFailsafe.java:145) [failsafe-1.1.0.jar:1.1.0] at net.jodah.failsafe.SyncFailsafe.run(SyncFailsafe.java:81) [failsafe-1.1.0.jar:1.1.0] at org.nuxeo.lib.stream.computation.log.ComputationRunner.processRecordWithRetry(ComputationRunner.java:377) [nuxeo-stream-11.1-SNAPSHOT.jar:?] at org.nuxeo.lib.stream.computation.log.ComputationRunner.processRecord(ComputationRunner.java:360) [nuxeo-stream-11.1-SNAPSHOT.jar:?] at org.nuxeo.lib.stream.computation.log.ComputationRunner.processLoop(ComputationRunner.java:250) [nuxeo-stream-11.1-SNAPSHOT.jar:?] at org.nuxeo.lib.stream.computation.log.ComputationRunner.run(ComputationRunner.java:187) [nuxeo-stream-11.1-SNAPSHOT.jar:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?] at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?] 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:834) [?:?] 2020-05-15 09:40:10,147 [recomputeViewsPool-01] WARN [AbstractComputation] Computation: recomputeViews fails last record: recomputeViews-01:+79014513344513, retrying ... java.lang.NullPointerException: null at org.nuxeo.ecm.platform.picture.api.PictureViewImpl.asMap(PictureViewImpl.java:173) ~[nuxeo-platform-imaging-api-11.1-SNAPSHOT.jar:?] at org.nuxeo.ecm.platform.picture.api.adapters.AbstractPictureAdapter.addPictureViews(AbstractPictureAdapter.java:327) ~[nuxeo-platform-imaging-api-11.1-SNAPSHOT.jar:?] at org.nuxeo.ecm.platform.picture.api.adapters.AbstractPictureAdapter.addViews(AbstractPictureAdapter.java:292) ~[nuxeo-platform-imaging-api-11.1-SNAPSHOT.jar:?] at org.nuxeo.ecm.platform.picture.api.adapters.DefaultPictureAdapter.fillPictureViews(DefaultPictureAdapter.java:98) ~[nuxeo-platform-imaging-api-11.1-SNAPSHOT.jar:?] at org.nuxeo.ecm.platform.picture.recompute.RecomputeViewsAction$RecomputeViewsComputation.compute(RecomputeViewsAction.java:113) ~[classes/:?] at org.nuxeo.ecm.core.bulk.action.computation.AbstractBulkComputation.lambda$processBatchOfDocuments$1(AbstractBulkComputation.java:141) ~[nuxeo-core-bulk-11.1-SNAPSHOT.jar:?] at org.nuxeo.runtime.transaction.TransactionHelper.lambda$runInTransaction$5(TransactionHelper.java:587) ~[nuxeo-runtime-jtajca-11.1-SNAPSHOT.jar:?] at org.nuxeo.runtime.transaction.TransactionHelper.runInTransaction(TransactionHelper.java:607) ~[nuxeo-runtime-jtajca-11.1-SNAPSHOT.jar:?] at org.nuxeo.runtime.transaction.TransactionHelper.runInTransaction(TransactionHelper.java:587) ~[nuxeo-runtime-jtajca-11.1-SNAPSHOT.jar:?] at org.nuxeo.ecm.core.bulk.action.computation.AbstractBulkComputation.processBatchOfDocuments(AbstractBulkComputation.java:135) ~[nuxeo-core-bulk-11.1-SNAPSHOT.jar:?] at org.nuxeo.ecm.core.bulk.action.computation.AbstractBulkComputation.processRecord(AbstractBulkComputation.java:98) ~[nuxeo-core-bulk-11.1-SNAPSHOT.jar:?] at org.nuxeo.lib.stream.computation.log.ComputationRunner.lambda$processRecordWithRetry$10(ComputationRunner.java:377) ~[nuxeo-stream-11.1-SNAPSHOT.jar:?] at net.jodah.failsafe.Functions$10.call(Functions.java:252) ~[failsafe-1.1.0.jar:1.1.0] at net.jodah.failsafe.SyncFailsafe.call(SyncFailsafe.java:145) [failsafe-1.1.0.jar:1.1.0] at net.jodah.failsafe.SyncFailsafe.run(SyncFailsafe.java:81) [failsafe-1.1.0.jar:1.1.0] at org.nuxeo.lib.stream.computation.log.ComputationRunner.processRecordWithRetry(ComputationRunner.java:377) [nuxeo-stream-11.1-SNAPSHOT.jar:?] at org.nuxeo.lib.stream.computation.log.ComputationRunner.processRecord(ComputationRunner.java:360) [nuxeo-stream-11.1-SNAPSHOT.jar:?] at org.nuxeo.lib.stream.computation.log.ComputationRunner.processLoop(ComputationRunner.java:250) [nuxeo-stream-11.1-SNAPSHOT.jar:?] at org.nuxeo.lib.stream.computation.log.ComputationRunner.run(ComputationRunner.java:187) [nuxeo-stream-11.1-SNAPSHOT.jar:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?] at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?] 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:834) [?:?]
- duplicates
-
NXP-29300 Fix TestPictureRenditions.shouldAllowPictureViewsGenerationOnImageToPDFRendition randomly failing against PostgreSQL
- Open