Last modified: 2014-08-04 15:18:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T66827, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64827 - The app crashes when being brought to foreground after being left in background for some time
The app crashes when being brought to foreground after being left in backgrou...
Status: RESOLVED FIXED
Product: Wikipedia App
Classification: Unclassified
Generic (Other open bugs)
Android (alpha)
All All
: High major
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-04 14:55 UTC by Liangent
Modified: 2014-08-04 15:18 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Liangent 2014-05-04 14:55:24 UTC
Happens after some recent upgrade.

java.lang.RuntimeException: Unable to start activity ComponentInfo{org.wikipedia/org.wikipedia.page.PageActivity}: java.lang.NullPointerException
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2195)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
	at android.app.ActivityThread.access$800(ActivityThread.java:135)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:136)
	at android.app.ActivityThread.main(ActivityThread.java:5017)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:515)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:133)
	at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
	at org.wikipedia.page.PageViewFragment.show(PageViewFragment.java:93)
	at org.wikipedia.page.PageActivity.onCreate(PageActivity.java:59)
	at android.app.Activity.performCreate(Activity.java:5231)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)
	... 12 more
java.lang.NullPointerException
	at org.wikipedia.page.PageViewFragment.show(PageViewFragment.java:93)
	at org.wikipedia.page.PageActivity.onCreate(PageActivity.java:59)
	at android.app.Activity.performCreate(Activity.java:5231)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
	at android.app.ActivityThread.access$800(ActivityThread.java:135)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:136)
	at android.app.ActivityThread.main(ActivityThread.java:5017)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:515)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:133)
	at dalvik.system.NativeStart.main(Native Method)
Comment 1 Sage Ross 2014-05-05 12:54:59 UTC
I've had this happen about 10 times over the weekend. Sometimes it crashes immediately upon opening, and sometimes it crashes when I press 'back'. It seems to be related to being left in the background for me as well.

It's also a few times crashed over and over upon trying to submit the crash report. (But several crash reports from me went through, in case you need more debug info.)
Comment 2 Dmitry Brant 2014-08-04 15:18:51 UTC
Issues related to this should be fixed in the current version.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links