evristzam / ndt

Automatically exported from code.google.com/p/ndt
Other
0 stars 0 forks source link

Exceptions visible on the Applet console #99

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Steps to reproduce:
1. Run NDT tests from the Applet.
2. Look at the Java console.

Expected results:
There is no exceptions on the console.

Actual results:

There are the following exceptions on the console:

Exception occured reading a web100 var DataOctetsOut: - 
java.lang.NumberFormatException: For input string: "4049166464"
Exception occured reading a web100 var HCDataOctetsOut: - 
java.lang.NumberFormatException: For input string: "8344133760"
Exception occured reading a web100 var SndInitial: - 
java.lang.NumberFormatException: For input string: "2499521446"
Exception occured reading a web100 var RecInitial: - 
java.lang.NumberFormatException: For input string: "2585486446"
Exception occured reading a web100 var SndUna: - 
java.lang.NumberFormatException: For input string: "2249640871"
Exception occured reading a web100 var SndNxt: - 
java.lang.NumberFormatException: For input string: "2249640871"
Exception occured reading a web100 var SndMax: - 
java.lang.NumberFormatException: For input string: "2249640871"
Exception occured reading a web100 var ThruOctetsAcked: - 
java.lang.NumberFormatException: For input string: "4045086721"
Exception occured reading a web100 var HCThruOctetsAcked: - 
java.lang.NumberFormatException: For input string: "8340054017"
Exception occured reading a web100 var RcvNxt: - 
java.lang.NumberFormatException: For input string: "2585486447"
Exception occured reading a web100 var LimCwnd: - 
java.lang.NumberFormatException: For input string: "4294901828"
Exception occured reading a web100 var DataBytesOut: - 
java.lang.NumberFormatException: For input string: "8344133760"

What is the expected output? What do you see instead?

Please use labels and text to provide additional information.

Original issue reported on code.google.com by jslawin...@soldevelo.com on 22 Nov 2013 at 9:56

GoogleCodeExporter commented 9 years ago
Is that an "overflows signed integer" problem?

Original comment by AaronMat...@gmail.com on 26 Nov 2013 at 1:07

GoogleCodeExporter commented 9 years ago
Yes, it is.

Original comment by jslawin...@soldevelo.com on 27 Nov 2013 at 1:24

GoogleCodeExporter commented 9 years ago

Original comment by jslawin...@soldevelo.com on 28 Nov 2013 at 8:59

GoogleCodeExporter commented 9 years ago

Original comment by smale...@soldevelo.com on 4 Feb 2014 at 12:57

GoogleCodeExporter commented 9 years ago
Fixed issue with exceptions visible on the Applet console. Changes are 
available on applet_99 branch.
Most of variable which cause the exception during parse (and much more 
variables which parse fine), weren't use anywhere after parse. So, if it's not 
need, it already don't parse.

Original comment by smale...@soldevelo.com on 5 Feb 2014 at 2:54

GoogleCodeExporter commented 9 years ago
This seems fine. You can merge to trunk.

Original comment by AaronMat...@gmail.com on 5 Feb 2014 at 6:08

GoogleCodeExporter commented 9 years ago

Original comment by smale...@soldevelo.com on 6 Feb 2014 at 1:39

GoogleCodeExporter commented 9 years ago

Original comment by skost...@soldevelo.com on 23 Jun 2014 at 5:54