Um... *where* are you getting the exception, and under what circumstances? It'll be easier to help if you provide all relevant information rather than making us guess.
Tom Reilly
Rancher
Joined: Jun 01, 2010
Posts: 618
posted
0
You should check that you have a next token before calling nextToken()
Abhradeep Banerjee
Ranch Hand
Joined: Dec 09, 2009
Posts: 71
posted
0
err got it working no idea what caused it i just copied and pasted the contents of my text file from my backup and it worked..... all the data was the same except it started from 0 and not 1.
thanks
Tom Reilly
Rancher
Joined: Jun 01, 2010
Posts: 618
posted
0
all the data was the same except it started from 0 and not 1
...and you had a carriage return at the end of your file
Abhradeep Banerjee
Ranch Hand
Joined: Dec 09, 2009
Posts: 71
posted
0
what you mean by carriage return ???
Tom Reilly
Rancher
Joined: Jun 01, 2010
Posts: 618
posted
0
At the end of your input file, you pressed the enter key to produce a new line that had not data.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.