com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.exception.SystemException: java.lang.IllegalArgumentException: invalid channel count 0

Liferay Issues | Juan G | 6 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Implement a solution to play videos inside document library (same as documents preview in DL). When open a video file, Liferay should generate a preview, and then should show a video player to view it.

    Liferay Issues | 6 years ago | Juan G
    com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.exception.SystemException: java.lang.IllegalArgumentException: invalid channel count 0
  2. 0

    Implement a solution to play videos inside document library (same as documents preview in DL). When open a video file, Liferay should generate a preview, and then should show a video player to view it.

    Liferay Issues | 6 years ago | Juan G
    com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.exception.SystemException: java.lang.IllegalArgumentException: invalid channel count 0

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      invalid channel count 0

      at com.xuggle.mediatool.MediaWriter.addAudioStream()
    2. com.xuggle.mediatool
      MediaToolAdapter.onVideoPicture
      1. com.xuggle.mediatool.MediaWriter.addAudioStream(MediaWriter.java:360)
      2. com.xuggle.mediatool.MediaWriter.addAudioStream(MediaWriter.java:320)
      3. com.xuggle.mediatool.MediaWriter.addStreamFromContainer(MediaWriter.java:1134)
      4. com.xuggle.mediatool.MediaWriter.getStream(MediaWriter.java:1046)
      5. com.xuggle.mediatool.MediaWriter.encodeVideo(MediaWriter.java:749)
      6. com.xuggle.mediatool.MediaWriter.encodeVideo(MediaWriter.java:790)
      7. com.xuggle.mediatool.MediaWriter.onVideoPicture(MediaWriter.java:1441)
      8. com.xuggle.mediatool.AMediaToolMixin.onVideoPicture(AMediaToolMixin.java:166)
      9. com.xuggle.mediatool.MediaToolAdapter.onVideoPicture(MediaToolAdapter.java:169)
      10. com.xuggle.mediatool.AMediaToolMixin.onVideoPicture(AMediaToolMixin.java:166)
      11. com.xuggle.mediatool.MediaToolAdapter.onVideoPicture(MediaToolAdapter.java:169)
      11 frames
    3. Liferay Portal Service
      VideoResizer.onVideoPicture
      1. com.liferay.portlet.documentlibrary.util.VideoResizer.onVideoPicture(VideoResizer.java:63)
      1 frame
    4. com.xuggle.mediatool
      MediaReader.readPacket
      1. com.xuggle.mediatool.AMediaToolMixin.onVideoPicture(AMediaToolMixin.java:166)
      2. com.xuggle.mediatool.MediaReader.dispatchVideoPicture(MediaReader.java:610)
      3. com.xuggle.mediatool.MediaReader.decodeVideo(MediaReader.java:519)
      4. com.xuggle.mediatool.MediaReader.readPacket(MediaReader.java:475)
      4 frames
    5. Liferay Portal Service
      VideoProcessorUtil.generateVideo
      1. com.liferay.portlet.documentlibrary.util.VideoProcessorUtil._generateImagesXuggler(VideoProcessorUtil.java:169)
      2. com.liferay.portlet.documentlibrary.util.VideoProcessorUtil._generateVideo(VideoProcessorUtil.java:117)
      3. com.liferay.portlet.documentlibrary.util.VideoProcessorUtil.generateVideo(VideoProcessorUtil.java:56)
      3 frames
    6. Liferay Portal Impl
      VideoProcessorMessageListener.doReceive
      1. com.liferay.portlet.documentlibrary.messaging.VideoProcessorMessageListener.doReceive(VideoProcessorMessageListener.java:14)
      1 frame
    7. Liferay Portal Service
      ThreadPoolExecutor$WorkerTask.run
      1. com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
      2. com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:63)
      3. com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:59)
      4. com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:665)
      5. com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:579)
      5 frames
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame