I am really bogged down on this. I am parsing hex strings to long values. I use the call
Long.parseLong(
string, 16)
it processes quite a few of the strings just fine then throws this:
java.lang.NumberFormatException: For input string: "a6acda419199c58a"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Long.parseLong(Long.java:406)
it looks like hex to me? am I missing something?
It's compiled and run with JDK 1.4.2.
Any comments are really welcome.
Cheers
Rich.