Skip to Content.
Sympa Menu

ndt-dev - [ndt-dev] Issue 67 in ndt: Patch review for issues 62, 63, 64, and Commit Request

Subject: NDT-DEV email list created

List archive

[ndt-dev] Issue 67 in ndt: Patch review for issues 62, 63, 64, and Commit Request


Chronological Thread 
  • From:
  • To:
  • Subject: [ndt-dev] Issue 67 in ndt: Patch review for issues 62, 63, 64, and Commit Request
  • Date: Wed, 07 Nov 2012 17:24:16 +0000

Status: New
Owner: ----
Labels: Type-Defect Severity-Medium

New issue 67 by : Patch review for issues 62, 63, 64, and Commit Request
http://code.google.com/p/ndt/issues/detail?id=67

The included patch applies cleanly to the branch under branches/android.

Please review the patch an commit to the branches/android tree. Once the patch is committed I will update the NDT app in the Google Play store.

$ svn checkout http://ndt.googlecode.com/svn/branches/android/ ndt-android
$ cd ndt-android
$ patch -p1 < ../update-1.1.patch
patching file Android/AndroidManifest.xml
patching file Android/res/values/strings.xml
patching file Android/src/net/measurementlab/ndt/NdtService.java
patching file Android/src/net/measurementlab/ndt/ResultsActivity.java
patching file Android/src/net/measurementlab/ndt/SelectServerActivity.java
patching file Android/src/net/measurementlab/ndt/TestsActivity.java
patching file java/net/measurementlab/ndt/NdtTests.java

This patch makes the following changes:

* Updates version string from 1.0b2 to 1.0b3
* Adds all current M-Lab servers to SelectServerActivity.java
* Sets Android Activities to screenOrientation="portrait" to prevent activity restarts that resulted in faults from automatic orientation changes.
* Updates parseInt() calls in error handling code.
* Corrects display of "Optimal receive buffer & % time not spent in receiver or sender limited state".
* Corrects display of TEST SERVER IP address. Previously the default was always displayed rather than the user-selected address.


REMAINING, IDENTIFIED ISSUES:
* Feedback to user is ambiguous when an NDT server is not working correctly.
* Some operations, such as 'back'-'back'-restart and opening a flip phone still cause tests to be interrupted.
* Once a test fails, restarts do not correct the problem.


"Crash Errors" reported in Play-store, developer console.
This patch FIXES:
Integer format faults:
NumberFormatException 51 reports 2 reports/week
NumberFormatException 111 reports 0 reports/week

Resume Activity faults:
IllegalArgumentException 98 reports 2 reports/week
NullPointerException 1 reports 0 reports/week
NullPointerException 3 reports 0 reports/week
NullPointerException 27 reports

This patch does NOT ADDRESS:
MissingResourceException 5 reports 0 reports/week

I could not identify nor reproduce this error:
java.util.MissingResourceException: Can't find resource for bundle 'java.util.PropertyResourceBundle', key 'meta'
at java.util.ResourceBundle.missingResourceException(ResourceBundle.java:237)
at java.util.ResourceBundle.getObject(ResourceBundle.java:440)
at java.util.ResourceBundle.getString(ResourceBundle.java:456)
at net.measurementlab.ndt.NdtTests.dottcp(NdtTests.java:1026)
at net.measurementlab.ndt.NdtTests.run(NdtTests.java:179)
at java.lang.Thread.run(Thread.java:856)

Attachments:
update-1.1.patch 28.5 KB




Archive powered by MHonArc 2.6.16.

Top of Page