Closed Bug 1023973 Opened 6 years ago Closed 6 years ago

NPE on resume of MainActivity

Categories

(Firefox for Android Graveyard :: Search Activity, defect)

ARM
Android
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: eedens, Assigned: eedens)

References

Details

(Keywords: crash)

W dalvikvm(29953)             threadid=1: thread exiting with uncaught exception (group=0x40c381f8)
E AndroidRuntime(29953)       FATAL EXCEPTION: main
E AndroidRuntime(29953)       java.lang.RuntimeException: Unable to resume activity {com.mozilla.fennec.search/com.mozilla.fennec.search.MainActivity}: java.lang.NullPointerException
E AndroidRuntime(29953)       	at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2456)
E AndroidRuntime(29953)       	at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2484)
E AndroidRuntime(29953)       	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1998)
E AndroidRuntime(29953)       	at android.app.ActivityThread.access$600(ActivityThread.java:127)
E AndroidRuntime(29953)       	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1159)
E AndroidRuntime(29953)       	at android.os.Handler.dispatchMessage(Handler.java:99)
E AndroidRuntime(29953)       	at android.os.Looper.loop(Looper.java:137)
E AndroidRuntime(29953)       	at android.app.ActivityThread.main(ActivityThread.java:4507)
E AndroidRuntime(29953)       	at java.lang.reflect.Method.invokeNative(Native Method)
E AndroidRuntime(29953)       	at java.lang.reflect.Method.invoke(Method.java:511)
E AndroidRuntime(29953)       	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
E AndroidRuntime(29953)       	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
E AndroidRuntime(29953)       	at dalvik.system.NativeStart.main(Native Method)
E AndroidRuntime(29953)       Caused by: java.lang.NullPointerException
E AndroidRuntime(29953)       	at com.mozilla.fennec.search.agents.Query.<init>(Query.java:21)
E AndroidRuntime(29953)       	at com.mozilla.fennec.search.agents.Query.<init>(Query.java:25)
E AndroidRuntime(29953)       	at com.mozilla.fennec.search.MainActivity.doSearch(MainActivity.java:125)
E AndroidRuntime(29953)       	at com.mozilla.fennec.search.MainActivity.onResume(MainActivity.java:102)
E AndroidRuntime(29953)       	at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1157)
E AndroidRuntime(29953)       	at android.app.Activity.performResume(Activity.java:4539)
E AndroidRuntime(29953)       	at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2446)
E AndroidRuntime(29953)       	... 12 more
E android.os.Debug(1992)      !@Dumpstate > dumpstate -k -t -n -z -d -o /data/log/dumpstate_app_error
Blocks: search
Severity: normal → critical
Keywords: crash
Version: unspecified → Trunk
Summary: NPE on rusume of MainActivity → NPE on resume of MainActivity
This bug was filed against the prototype's codebase, which is no longer being used.  (https://github.com/ericedens/FirefoxSearch/tree/Prototype)
No longer blocks: 1022105
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.