Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-112061

Intermittent AMRuntimeException$IOException when starting com.liferay.document.library.asset.auto.tagger.tensorflow.test_1.0.0

    Details

    • Branch Version/s:
      7.2.x, 7.1.x, 7.0.x
    • Backported to Branch:
      Committed
    • Fix Priority:
      3

      Description

      Seen happening on modules-integration batches causing the PortalLogAssertorTest#testScanXMLLog test to fail.

      Testray history of failure.

      Stacktrace:

      19:58:01,692 INFO  [Arquillian-Connector-Thread][BundleStartStopLogger:46] STARTED com.liferay.document.library.asset.auto.tagger.tensorflow.test_1.0.0 [1065]
      19:58:05,129 WARN  [com.liferay.document.library.asset.auto.tagger.tensorflow.test-executor-thread][AMMessageListener:88] com.liferay.adaptive.media.exception.AMRuntimeException$IOException: javax.imageio.IIOException: Blows!
      com.liferay.adaptive.media.exception.AMRuntimeException$IOException: javax.imageio.IIOException: Blows!
      	at com.liferay.adaptive.media.image.internal.util.RenderedImageUtil.getRenderedImageContentStream(RenderedImageUtil.java:54)
      	at com.liferay.adaptive.media.image.internal.scaler.AMDefaultImageScaler.scaleImage(AMDefaultImageScaler.java:64)
      	at com.liferay.adaptive.media.image.internal.processor.AMImageProcessorImpl.process(AMImageProcessorImpl.java:119)
      	at com.liferay.adaptive.media.image.internal.processor.AMImageProcessorImpl.process(AMImageProcessorImpl.java:72)
      	at com.liferay.adaptive.media.image.internal.processor.AMImageProcessorImpl.process(AMImageProcessorImpl.java:43)
      	at com.liferay.adaptive.media.web.internal.messaging.AMProcessorCommand$2.execute(AMProcessorCommand.java:43)
      	at com.liferay.adaptive.media.web.internal.messaging.AMMessageListener.doReceive(AMMessageListener.java:78)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74)
      	at com.liferay.portal.kernel.test.rule.SynchronousDestinationTestRule$TestSynchronousDestination.send(SynchronousDestinationTestRule.java:363)
      	at com.liferay.portal.messaging.internal.DefaultMessageBus.sendMessage(DefaultMessageBus.java:237)
      	at com.liferay.adaptive.media.web.internal.processor.AMAsyncProcessorImpl.lambda$triggerProcess$1(AMAsyncProcessorImpl.java:132)
      	at com.liferay.portal.kernel.transaction.TransactionCommitCallbackUtil$1.doCommitted(TransactionCommitCallbackUtil.java:43)
      	at com.liferay.portal.kernel.transaction.NewTransactionLifecycleListener.committed(NewTransactionLifecycleListener.java:29)
      	at com.liferay.portal.kernel.transaction.TransactionLifecycleManager.fireTransactionCommittedEvent(TransactionLifecycleManager.java:34)
      	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.commit(DefaultTransactionExecutor.java:51)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:77)
      	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
      	at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:60)
      	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
      	at com.liferay.portal.kernel.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:64)
      	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
      	at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49)
      	at com.sun.proxy.$Proxy81.addFileEntry(Unknown Source)
      	at com.liferay.document.library.kernel.service.DLAppServiceUtil.addFileEntry(DLAppServiceUtil.java:78)
      	at com.liferay.document.library.asset.auto.tagger.tensorflow.test.DLFileEntryAutoTaggerTest.lambda$testAutoTagsABMPImage$0(DLFileEntryAutoTaggerTest.java:77)
      	at com.liferay.document.library.asset.auto.tagger.tensorflow.test.DLFileEntryAutoTaggerTest._withTensorflowAutoTagProviderEnabled(DLFileEntryAutoTaggerTest.java:161)
      	at com.liferay.document.library.asset.auto.tagger.tensorflow.test.DLFileEntryAutoTaggerTest.testAutoTagsABMPImage(DLFileEntryAutoTaggerTest.java:75)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$2.evaluate(TestExecutorRunnable.java:234)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
      	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
      	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
      	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
      	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
      	at com.liferay.portal.kernel.test.rule.TimeoutTestRule$1.evaluate(TimeoutTestRule.java:89)
      	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$1.evaluate(TestExecutorRunnable.java:143)
      	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
      	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
      	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
      	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
      	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
      	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
      	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
      	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
      	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable._execute(TestExecutorRunnable.java:181)
      	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: javax.imageio.IIOException: Blows!
      	at com.twelvemonkeys.imageio.plugins.bmp.DIBImageWriter.writeUncompressed(DIBImageWriter.java:87)
      	at com.twelvemonkeys.imageio.plugins.bmp.BMPImageWriter.write(BMPImageWriter.java:124)
      	at javax.imageio.ImageWriter.write(ImageWriter.java:615)
      	at javax.imageio.ImageIO.doWrite(ImageIO.java:1612)
      	at javax.imageio.ImageIO.write(ImageIO.java:1578)
      	at com.liferay.portal.image.ImageToolImpl.write(ImageToolImpl.java:803)
      	at com.liferay.portal.kernel.image.ImageToolUtil.write(ImageToolUtil.java:282)
      	at com.liferay.adaptive.media.image.internal.util.RenderedImageUtil.getRenderedImageContentStream(RenderedImageUtil.java:49)
      

      Reproduced on:
      Portal master git commit: 7e7782a8cfb106ddfb68231dc8f217633b4a8110

        Attachments

          Activity

            People

            Assignee:
            jeremy.chen Jeremy Chen
            Reporter:
            joshua.chong Joshua Chong
            Participants of an Issue:
            Recent user:
            Jason Pince
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              26 weeks, 3 days ago

                Packages

                Version Package
                7.0.0 DXP FP91
                7.0.X
                7.1.10 DXP FP18
                7.1.X
                7.2.10 DXP FP5
                7.2.10.2 DXP SP2
                7.2.X
                7.3.10 DXP GA1
                Master