Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Crixus

Pages: [1]
1
JavaOp Support Archive / War3 NumberFormatException on connect
« on: July 12, 2007, 10:44:54 pm »
I get the following error when trying to connect most of the time. I'm using Core-42 and Plugins-42. I haven't looked at the code too much, but it appears that the string it's trying to parseInt on is too large to fit into a Java int. Could this be solved by changing it to use longs in CheckRevision? Or does that screw up the bitwise ops?

Code: [Select]
[21:37:39.173] INFO: Trying BNLS server: hdx.jbls.org
[21:37:39.323] INFO: Resolving ip for server: uswest.battle.net
[21:37:39.471] INFO: Resolves to 12 different addresses
[21:37:39.571] INFO: Choosing address 3 [uswest.battle.net/63.241.83.110]
[21:37:39.690] INFO: Attempting to connect
[21:37:39.856] INFO: Connected to /63.241.83.110:6112
[21:37:39.870] INFO: Trying BNLS server: hdx.jbls.org
[21:37:39.887] INFO: Connected to uswest.battle.net:6112
[21:37:39.934] INFO: Sending protocol byte (0x01).
[21:37:39.937] INFO: Switching to Binary protocol.
[21:37:39.939] INFO: Sending authorization.
[21:37:45.000] WARNING: BNLS server 'hdx.jbls.org' returned an error -- this means the server might not be running.
[21:37:45.015] WARNING: The error is: java.net.SocketException: Connection timed out
[21:37:45.083] INFO: Attempting to use next BNLS server.
[21:37:45.111] WARNING: Out of BNLS servers, defaulting to local hashing.
[21:37:45.119] INFO: Authorization sent, waiting for reply.
[21:37:45.127] INFO: Beginning to receive packets
[21:37:45.172] INFO: Checking server's signature...
[21:37:45.216] INFO: Server successfully authenticated -- it's Blizzard's
[21:37:45.268] java.lang.NumberFormatException: For input string: "3888226066"
[21:37:45.270] java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
[21:37:45.271] java.lang.Integer.parseInt(Integer.java:459)
[21:37:45.272] java.lang.Integer.parseInt(Integer.java:497)
[21:37:45.273] versioning.CheckRevision.checkRevision(CheckRevision.java:76)
[21:37:45.275] versioning.Game.checkRevision(Game.java:118)
[21:37:45.276] versioning.BNLSWrapper.getVersionCheck(BNLSWrapper.java:121)
[21:37:45.277] Login.getAuthCheck(Login.java:152)
[21:37:45.278] PluginMain.processedPacket(PluginMain.java:295)
[21:37:45.279] pluginmanagers.PluginRegistration.processedIncomingPacket(PluginRegistration.java:722)
[21:37:45.280] bot.PacketThread.run(PacketThread.java:179)

Pages: [1]