Closed Bug 791057 Opened 13 years ago Closed 11 years ago

"Menu:Remove" JSON message's `id` field is sometimes null, not int, when disabling Phony addon

Categories

(Firefox for Android Graveyard :: Add-on Manager, defect)

ARM
Android
defect
Not set
normal

Tracking

(firefox18 affected)

RESOLVED WORKSFORME
Tracking Status
firefox18 --- affected

People

(Reporter: cpeterson, Unassigned)

Details

STR: 1. Install Phony addon 2. Quit Firefox 3. Launch Firefox and open Add-on Manager 4. Select Phony 5. Watch logcat and press Phony's "Disable" button. RESULT: A JSONException is logged (without crashing Firefox). This exception only seems to happen the first time the addon is disabled after starting Firefox. Disable/Enable/Disable does not repro, but Disable/Enable/Quit/Disable usually does repro. Exception handling message "Menu:Remove": org.json.JSONException: Value null at id of type org.json.JSONObject$1 cannot be converted to int at org.json.JSON.typeMismatch(JSON.java:100) at org.json.JSONObject.getInt(JSONObject.java:446) at org.mozilla.gecko.BrowserApp.handleMessage(BrowserApp.java:359) at org.mozilla.gecko.util.EventDispatcher.dispatchEvent(EventDispatcher.java:73) at org.mozilla.gecko.GeckoAppShell.handleGeckoMessage(GeckoAppShell.java:1996) at org.mozilla.gecko.GeckoAppShell.nativeRun(Native Method) at org.mozilla.gecko.GeckoAppShell.nativeRun(Native Method) at org.mozilla.gecko.GeckoAppShell.runGecko(GeckoAppShell.java:545) at org.mozilla.gecko.GeckoThread.run(GeckoThread.java:82)
Tried to repro with Phony 3.6 against Nightly 24.0a1 with no success ... trouble went away?
I don't see this either.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.