| Author |
yet another ArrayIndexOutOfBoundsException
|
mrh Peshone
Greenhorn
Joined: Jan 14, 2011
Posts: 3
|
|
|
|
 |
Joanne Neal
Rancher
Joined: Aug 05, 2005
Posts: 3011
|
|
|
Are you passing any parameters to your program ? Args contains a list of the command line parameters, so if you don't pass any it will be empty.
|
Joanne
|
 |
mrh Peshone
Greenhorn
Joined: Jan 14, 2011
Posts: 3
|
|
I guess I am passing the wrong argument!?
|
 |
Henry Wong
author
Sheriff
Joined: Sep 28, 2004
Posts: 16680
|
|
George Peshone wrote:I guess I am passing the wrong argument!?
An integer ranges from -2147483648 to 2147483647. The number 101010101010 is outside of this range.
Henry
|
Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
|
 |
mrh Peshone
Greenhorn
Joined: Jan 14, 2011
Posts: 3
|
|
|
Yes, that was the case. Thanks much.
|
 |
 |
|
|
subject: yet another ArrayIndexOutOfBoundsException
|
|
|