java.lang.ArrayIndexOutOfBoundsException: length=1; index=1

GitHub | rsri | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 145#247648981

    GitHub | 6 months ago | rsri
    java.lang.ArrayIndexOutOfBoundsException: length=1; index=1

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      length=1; index=1

      at org.jcodec.common.model.Picture8Bit.getPlaneData()
    2. JCodec
      H264Encoder.encodeFrame8Bit
      1. org.jcodec.common.model.Picture8Bit.getPlaneData(Picture8Bit.java:97)
      2. org.jcodec.codecs.h264.encode.MBEncoderI16x16.predictChroma(MBEncoderI16x16.java:202)
      3. org.jcodec.codecs.h264.encode.MBEncoderI16x16.chroma(MBEncoderI16x16.java:66)
      4. org.jcodec.codecs.h264.encode.MBEncoderI16x16.encodeMacroblock(MBEncoderI16x16.java:49)
      5. org.jcodec.codecs.h264.H264Encoder.encodeMacroblock(H264Encoder.java:294)
      6. org.jcodec.codecs.h264.H264Encoder.encodeSlice(H264Encoder.java:275)
      7. org.jcodec.codecs.h264.H264Encoder.doEncodeFrame8Bit(H264Encoder.java:166)
      8. org.jcodec.codecs.h264.H264Encoder.encodeFrame8Bit(H264Encoder.java:103)
      8 frames