Closed
Bug 1206792
Opened 9 years ago
Closed 9 years ago
Crash when launching the camera from the gallery app
Categories
(B2GDroid Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: fabrice, Assigned: fabrice)
Details
Attachments
(1 file)
8.73 KB,
patch
|
snorp
:
review+
|
Details | Diff | Splinter Review |
STR: - open the gallery app. - hit the "camera" icon Expected: - we launch the camera Observed: - crash: E/GeckoCrashHandler(30860): >>> REPORTING UNCAUGHT EXCEPTION FROM THREAD 3868 ("Gecko") E/GeckoCrashHandler(30860): java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String org.mozilla.gecko.util.WebActivityMapper$WebActivityMapping.getAction()' on a null object reference E/GeckoCrashHandler(30860): at org.mozilla.gecko.util.WebActivityMapper.getIntentForWebActivity(WebActivityMapper.java:72) E/GeckoCrashHandler(30860): at org.mozilla.gecko.IntentHelper.openWebActivity(IntentHelper.java:225) E/GeckoCrashHandler(30860): at org.mozilla.gecko.IntentHelper.handleMessage(IntentHelper.java:99) E/GeckoCrashHandler(30860): at org.mozilla.gecko.EventDispatcher.dispatchEvent(EventDispatcher.java:325) E/GeckoCrashHandler(30860): at org.mozilla.gecko.EventDispatcher.dispatchEvent(EventDispatcher.java:248) E/GeckoCrashHandler(30860): at org.mozilla.gecko.GeckoAppShell.handleGeckoMessage(GeckoAppShell.java:2275) E/GeckoCrashHandler(30860): at org.mozilla.gecko.mozglue.GeckoLoader.nativeRun(Native Method) E/GeckoCrashHandler(30860): at org.mozilla.gecko.GeckoThread.run(GeckoThread.java:436) E/GeckoCrashHandler(30860): Main thread (1) stack: E/GeckoCrashHandler(30860): android.os.MessageQueue.nativePollOnce(Native Method) E/GeckoCrashHandler(30860): android.os.MessageQueue.next(MessageQueue.java:143) E/GeckoCrashHandler(30860): android.os.Looper.loop(Looper.java:122) E/GeckoCrashHandler(30860): android.app.ActivityThread.main(ActivityThread.java:5291) E/GeckoCrashHandler(30860): java.lang.reflect.Method.invoke(Native Method) E/GeckoCrashHandler(30860): java.lang.reflect.Method.invoke(Method.java:372) E/GeckoCrashHandler(30860): com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904) E/GeckoCrashHandler(30860): com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699) D/AndroidRuntime(31527): >>>>>> START com.android.internal.os.RuntimeInit uid 10250 <<<<<< D/AndroidRuntime(31527): CheckJNI is OFF
Assignee | ||
Comment 1•9 years ago
|
||
This patch adds an activity mapping for the "record" activity. I did some refactoring because getAction() in RecordMapping doesn't return a constant string.
Assignee: nobody → fabrice
Attachment #8663798 -
Flags: review?(snorp)
Attachment #8663798 -
Flags: review?(snorp) → review+
https://hg.mozilla.org/mozilla-central/rev/4740ebc51a92
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•