Last modified: 2014-05-22 15:49:46 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 T67499, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65499 - Tapping edit soon after the activity is recreated crashes the app
Tapping edit soon after the activity is recreated crashes the app
Status: RESOLVED FIXED
Product: Wikipedia App
Classification: Unclassified
Generic (Other open bugs)
Android (alpha)
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-19 17:47 UTC by Liangent
Modified: 2014-05-22 15:49 UTC (History)
2 users (show)

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


Attachments

Description Liangent 2014-05-19 17:47:29 UTC

    
Comment 1 Liangent 2014-05-19 17:48:16 UTC
java.lang.NullPointerException
at org.wikipedia.editing.EditHandler.onMessage(EditHandler.java:32)
at org.wikipedia.bridge.CommunicationBridge$2.handleMessage(CommunicationBridge.java:99)
at android.os.Handler.dispatchMessage(Handler.java:98)
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 2 Liangent 2014-05-19 17:52:58 UTC
Repro:

1. Turn on "Don't keep activities" in Android developer options
2. Open the app; go to a page
3. Tap home (in Android)
4. Open the app again, then tap edit

This issue was discovered initially when I left the app in background for a long time (so Android destroyed it). Step 1 is to make the activity destroyed somehow.
Comment 3 Gerrit Notification Bot 2014-05-20 21:42:32 UTC
Change 134499 had a related patch set uploaded by BearND:
Fix edit crash after activity restart

https://gerrit.wikimedia.org/r/134499
Comment 4 Gerrit Notification Bot 2014-05-20 22:50:57 UTC
Change 134499 merged by jenkins-bot:
Fix edit crash after activity restart

https://gerrit.wikimedia.org/r/134499

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


Navigation
Links