symptom: java.lang.ArrayIndexOutOfBoundsException: 1
at ApplianceAdapter.setDescription(ApplianceAdapter.j ava:53)
At line 53 the code used an index whose value was past the end of the array.
The array has less than 2 elements and index 1 is invalid
Remember array indexes range from 0 to the array's length-1;
Make sure that the array is long enough by using its .length attribute before trying to index into it.
The split() method creates an array depending on the String it is working on. The value of the array variable will be replaced by what is returned by the split() method.
Use this for debugging to see the contents of an array:
System.out.println("an ID "+ java.util.Arrays.toString(theArrayName));