Closed
Bug 988615
Opened 10 years ago
Closed 8 years ago
launching sideloaded app on emulator throws NullPointerException at InstallHelper.copyApplicationZipFile
Categories
(Firefox for Android Graveyard :: Web Apps (PWAs), defect, P3)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: myk, Unassigned)
Details
(Whiteboard: [WebRuntime])
Launching an app that I sideloaded onto an emulator throws a NullPointerException at InstallHelper.copyApplicationZipFile: 649 GeckoAppShell E >>> REPORTING UNCAUGHT EXCEPTION FROM THREAD 87 ("GeckoBackgroundThread") 649 GeckoAppShell E java.lang.NullPointerException 649 GeckoAppShell E at org.mozilla.gecko.webapp.InstallHelper.copyApplicationZipFile(InstallHelper.java:121) Steps to Reproduce: 1. Create an emulator. I created one with that emulates a Galaxy Nexus device with an armeabi-v7a ABI and Android 4.0, although I'm unsure how important this particular configuration is. 2. Sideload an app, f.e. <https://marketplace.firefox.com/app/bumper>: curl "https://controller.apk.firefox.com/application.apk?manifestUrl=https://marketplace.firefox.com/app/c599acd5-2ced-42b7-a5a9-0096a8da6176/manifest.webapp" -o "bumpertest.apk" && adb install bumpertest.apk 3. Sideload Fennec: wget https://ftp.mozilla.org/pub/mozilla.org/mobile/nightly/latest-mozilla-central-android/fennec-31.0a1.multi.android-arm.apk && adb install fennec-31.0a1.multi.android-arm.apk 4. Launch the app. Expected Results: app runs. Actual Results: app hangs on blank screen. Note: the second time I launch the app, I see: 500 GeckoWebappImpl I Waiting for existing install to complete A full stack: 720 GeckoAppShell E >>> REPORTING UNCAUGHT EXCEPTION FROM THREAD 96 ("GeckoBackgroundThread") 720 GeckoAppShell E java.lang.NullPointerException 720 GeckoAppShell E at org.mozilla.gecko.webapp.InstallHelper.copyApplicationZipFile(InstallHelper.java:121) 720 GeckoAppShell E at org.mozilla.gecko.webapp.InstallHelper.access$000(InstallHelper.java:29) 720 GeckoAppShell E at org.mozilla.gecko.webapp.InstallHelper$1.run(InstallHelper.java:59) 720 GeckoAppShell E at android.os.Handler.handleCallback(Handler.java:605) 720 GeckoAppShell E at android.os.Handler.dispatchMessage(Handler.java:92) 720 GeckoAppShell E at android.os.Looper.loop(Looper.java:137) 720 GeckoAppShell E at org.mozilla.gecko.util.GeckoBackgroundThread.run(GeckoBackgroundThread.java:32) 720 GeckoAppShell E Main thread stack: 720 GeckoAppShell E android.os.Parcel.readStrongBinder(Native Method) 720 GeckoAppShell E android.os.ServiceManagerProxy.getService(ServiceManagerNative.java:121) 720 GeckoAppShell E android.os.ServiceManager.getService(ServiceManager.java:55) 720 GeckoAppShell E android.telephony.TelephonyManager.<init>(TelephonyManager.java:67) 720 GeckoAppShell E android.app.ContextImpl$26.createService(ContextImpl.java:410) 720 GeckoAppShell E android.app.ContextImpl$ServiceFetcher.getService(ContextImpl.java:198) 720 GeckoAppShell E android.app.ContextImpl.getSystemService(ContextImpl.java:1176) 720 GeckoAppShell E android.content.ContextWrapper.getSystemService(ContextWrapper.java:386) 720 GeckoAppShell E org.mozilla.gecko.GeckoNetworkManager.getNetworkType(GeckoNetworkManager.java:251) 720 GeckoAppShell E org.mozilla.gecko.GeckoNetworkManager.start(GeckoNetworkManager.java:130) 720 GeckoAppShell E org.mozilla.gecko.GeckoApplication.onActivityResume$642b2292(GeckoApplication.java:90) 720 GeckoAppShell E org.mozilla.gecko.GeckoActivity.onResume(GeckoActivity.java:38) 720 GeckoAppShell E org.mozilla.gecko.GeckoApp.onResume(GeckoApp.java:1980) 720 GeckoAppShell E android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1154) 720 GeckoAppShell E android.app.Activity.performResume(Activity.java:4539) 720 GeckoAppShell E android.app.ActivityThread.performResumeActivity(ActivityThread.java:2433) 720 GeckoAppShell E android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2471) 720 GeckoAppShell E android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1985) 720 GeckoAppShell E android.app.ActivityThread.access$600(ActivityThread.java:122) 720 GeckoAppShell E android.app.ActivityThread$H.handleMessage(ActivityThread.java:1146) 720 GeckoAppShell E android.os.Handler.dispatchMessage(Handler.java:99) 720 GeckoAppShell E android.os.Looper.loop(Looper.java:137) 720 GeckoAppShell E android.app.ActivityThread.main(ActivityThread.java:4340) 720 GeckoAppShell E java.lang.reflect.Method.invokeNative(Native Method) 720 GeckoAppShell E java.lang.reflect.Method.invoke(Method.java:511) 720 GeckoAppShell E com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784) 720 GeckoAppShell E com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551) 720 GeckoAppShell E dalvik.system.NativeStart.main(Native Method)
Reporter | ||
Updated•10 years ago
|
Priority: -- → P3
Whiteboard: [WebRuntime]
Reporter | ||
Comment 1•8 years ago
|
||
Per bug 1235869, we're going to disable the Android web runtime, so we won't fix this bug in it. (This is part of a bulk resolution of bugs in the Firefox for Android::Web Apps component, from which I attempted to exclude bugs that are not specific to the runtime, but it's possible that I included one accidentally. If so, I'm sorry, and please reopen the bug!)
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•