Bear Bibeault wrote:Welcome to the Ranch.
The error tells you that at least one of the items in zipCodeArray is the empty string. Which, of course, isn't a valid integer that can be parsed into a number.
Bear Bibeault wrote:As the problem is with the items in zipCodeArray, begin by inspecting the items and figure out how empty strings are getting into it in the first place. Perhaps you need to rethink how that array is getting populated.
Bear Bibeault wrote:Are you familiar with Javadoc? Here is the Javadoc for the String class. You can look up the description of the split() method.
Today is the first day of the rest of your life.
Today is the first day of the rest of your life.
Today is the first day of the rest of your life.
H. Cuellar wrote:
Bear Bibeault wrote:Welcome to the Ranch.
The error tells you that at least one of the items in zipCodeArray is the empty string. Which, of course, isn't a valid integer that can be parsed into a number.
I've been bumping my head over and over. I can't seem to find a solution for this. Any thoughts on how I can fix this?
Today is the first day of the rest of your life.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |