ERROR - java.lang.ArrayIndexOutOfBoundsException - Possible Causes of ArrayIndexOutOfBoundsException

Exception Thrown By:Cause
ClassMethod
AttributesImpl public void
removeAttribute(int index)
When the supplied index does not
point to an attribute in the list
ColorSpace public abstract float[]
fromRGB(float[] rgbvalue)
if array length
is not at least 3 to CIEXY
ColorSpace public abstract float[]
toCIEXYZ(float[] colorvalue)
if array length is not at
least the number of components in this ColorSpace
ColorSpace public abstract float[]
fromCIEXYZ(float[] colorvalue)
if array length
is not at least 3
CompositeName public String
get(int posn)
if posn is
outside the specified range
CompositeName public Name
getPrefix(int posn)
If posn is
outside the specified range
CompositeName public Name
getSuffix(int posn)
If posn is outside
the specified range.starts in other words
CompositeName public Object
remove(int posn)
If posn is outside the specified
range (includes case where composite name is empty).
CompoundName public String
get(int posn)
if posn is
outside the specified range
CompoundName public Name
getPrefix(int posn)
If posn is
outside the specified range
CompoundName public Name
getSuffix(int posn)
If posn is outside
the specified range.starts in other words
CompoundName public Object
remove(int posn)
If posn is outside the specified
range (includes case where compound name is empty).
DefaultTableModel public void
removeRow(int row)
if the
row was invalid
ICC_ColorSpace public float[]
toRGB(float[] colorvalue)
if array length is not at
least the number of components in this ColorSpace
ICC_ColorSpace public float[]
fromRGB(float[] rgbvalue)
if array length
is not at least 3
ICC_ColorSpace public float[]
toCIEXYZ(float[] colorvalue)
if array length is not at
least the number of components in this ColorSpace
ICC_ColorSpace public float[]
fromCIEXYZ(float[] colorvalue)
if array length
is not at least 3
List public void
remove(int position)
if the position is less
than 0 or greater than get1
PackedColorModel public final int
getMask(int index)
if index is greater than the number of components minus
1 in this PackedColorModel or if index is less than zero
Reference public Object
remove(int posn)
If posn not
in the specified range
Vector public void
setSize(int newSize)
if the
new size is negative
Vector public E
elementAt(int index)
if the index is
out of range