Last modified: 2014-06-21 05:30:28 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 T68213, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 66213 - app crash on startup
app crash on startup
Status: RESOLVED FIXED
Product: Wikipedia App
Classification: Unclassified
Android App (Other open bugs)
Beta
All All
: Unprioritized major
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-05 20:31 UTC by Bernd Sitzmann
Modified: 2014-06-21 05:30 UTC (History)
3 users (show)

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


Attachments

Description Bernd Sitzmann 2014-06-05 20:31:35 UTC
https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=7590604

APP_VERSION_NAME=2.0-beta3
STACK_TRACE=java.lang.RuntimeException: Unable to start activity ComponentInfo{org.wikipedia.beta/org.wikipedia.beta.page.PageActivity}: java.lang.RuntimeException: Could not dispatch event: class org.wikipedia.beta.events.RequestMainPageEvent to handler [EventHandler public void org.wikipedia.beta.page.PageActivity.onRequestMainPageEvent(org.wikipedia.beta.events.RequestMainPageEvent)]
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2413)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2471)
at android.app.ActivityThread.access$900(ActivityThread.java:175)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1308)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5602)
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:1283)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.RuntimeException: Could not dispatch event: class org.wikipedia.beta.events.RequestMainPageEvent to handler [EventHandler public void org.wikipedia.beta.page.PageActivity.onRequestMainPageEvent(org.wikipedia.beta.events.RequestMainPageEvent)]
at com.squareup.otto.Bus.throwRuntimeException(Bus.java:456)
at com.squareup.otto.Bus.dispatch(Bus.java:386)
at com.squareup.otto.Bus.dispatchQueuedEvents(Bus.java:367)
at com.squareup.otto.Bus.post(Bus.java:336)
at org.wikipedia.beta.page.PageActivity.handleIntent(PageActivity.java:139)
at org.wikipedia.beta.page.PageActivity.onCreate(PageActivity.java:119)
at android.app.Activity.performCreate(Activity.java:5451)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2377)
... 11 more
Caused by: java.lang.NullPointerException
at org.wikipedia.beta.PageTitle.<init>(PageTitle.java:41)
at org.wikipedia.beta.page.PageActivity.onRequestMainPageEvent(PageActivity.java:221)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.squareup.otto.EventHandler.handleEvent(EventHandler.java:89)
at com.squareup.otto.Bus.dispatch(Bus.java:384)
... 18 more
java.lang.RuntimeException: Could not dispatch event: class org.wikipedia.beta.events.RequestMainPageEvent to handler [EventHandler public void org.wikipedia.beta.page.PageActivity.onRequestMainPageEvent(org.wikipedia.beta.events.RequestMainPageEvent)]
at com.squareup.otto.Bus.throwRuntimeException(Bus.java:456)
at com.squareup.otto.Bus.dispatch(Bus.java:386)
at com.squareup.otto.Bus.dispatchQueuedEvents(Bus.java:367)
at com.squareup.otto.Bus.post(Bus.java:336)
at org.wikipedia.beta.page.PageActivity.handleIntent(PageActivity.java:139)
at org.wikipedia.beta.page.PageActivity.onCreate(PageActivity.java:119)
at android.app.Activity.performCreate(Activity.java:5451)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2377)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2471)
at android.app.ActivityThread.access$900(ActivityThread.java:175)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1308)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5602)
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:1283)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at org.wikipedia.beta.PageTitle.<init>(PageTitle.java:41)
at org.wikipedia.beta.page.PageActivity.onRequestMainPageEvent(PageActivity.java:221)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.squareup.otto.EventHandler.handleEvent(EventHandler.java:89)
at com.squareup.otto.Bus.dispatch(Bus.java:384)
... 18 more
java.lang.NullPointerException
at org.wikipedia.beta.PageTitle.<init>(PageTitle.java:41)
at org.wikipedia.beta.page.PageActivity.onRequestMainPageEvent(PageActivity.java:221)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.squareup.otto.EventHandler.handleEvent(EventHandler.java:89)
at com.squareup.otto.Bus.dispatch(Bus.java:384)
at com.squareup.otto.Bus.dispatchQueuedEvents(Bus.java:367)
at com.squareup.otto.Bus.post(Bus.java:336)
at org.wikipedia.beta.page.PageActivity.handleIntent(PageActivity.java:139)
at org.wikipedia.beta.page.PageActivity.onCreate(PageActivity.java:119)
at android.app.Activity.performCreate(Activity.java:5451)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2377)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2471)
at android.app.ActivityThread.access$900(ActivityThread.java:175)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1308)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5602)
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:1283)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
at dalvik.system.NativeStart.main(Native Method)
Comment 1 Bernd Sitzmann 2014-06-05 20:46:42 UTC
https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=7590648
is very similar; strangely the line numbers are slightly different (but both are beta3)
Comment 2 Bernd Sitzmann 2014-06-05 21:51:35 UTC
I can repro this by clearing app data, and switching to language "[Developer] Accented English (zz_ZZ)"
Comment 3 Gerrit Notification Bot 2014-06-05 22:33:03 UTC
Change 137820 had a related patch set uploaded by BearND:
Fix crash when unknown language was used.

https://gerrit.wikimedia.org/r/137820
Comment 4 Gerrit Notification Bot 2014-06-05 23:32:53 UTC
Change 137820 merged by Dbrant:
Fix crash when unknown language was used.

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

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


Navigation
Links