aspose file tools*
The moose likes Java in General and the fly likes yet another ArrayIndexOutOfBoundsException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "yet another ArrayIndexOutOfBoundsException" Watch "yet another ArrayIndexOutOfBoundsException" New topic
Author

yet another ArrayIndexOutOfBoundsException

mrh Peshone
Greenhorn

Joined: Jan 14, 2011
Posts: 3
Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3739
    
  16
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: 18997
    
  40

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: yet another ArrayIndexOutOfBoundsException