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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.ArrayIndexOutOfBoundsException: length=1; index=1
at org.jcodec.common.model.Picture8Bit.getPlaneData(Picture8Bit.java:97)
at org.jcodec.codecs.h264.encode.MBEncoderI16x16.predictChroma(MBEncoderI16x16.java:202)
at org.jcodec.codecs.h264.encode.MBEncoderI16x16.chroma(MBEncoderI16x16.java:66)
at org.jcodec.codecs.h264.encode.MBEncoderI16x16.encodeMacroblock(MBEncoderI16x16.java:49)
at org.jcodec.codecs.h264.H264Encoder.encodeMacroblock(H264Encoder.java:294)
at org.jcodec.codecs.h264.H264Encoder.encodeSlice(H264Encoder.java:275)
at org.jcodec.codecs.h264.H264Encoder.doEncodeFrame8Bit(H264Encoder.java:166)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.