Last modified: 2014-07-17 20:30:05 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 T70171, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68171 - NPE from editing.EditHandler.onMessage
NPE from editing.EditHandler.onMessage
Status: RESOLVED FIXED
Product: Wikipedia App
Classification: Unclassified
Android App (Other open bugs)
Stable
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-17 16:46 UTC by Alex Monk
Modified: 2014-07-17 20:30 UTC (History)
4 users (show)

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


Attachments

Comment 1 Alex Monk 2014-07-17 16:49:41 UTC
Something about going back to previous viewed pages. History? Or maybe just browsing with the back button
Comment 2 Bernd Sitzmann 2014-07-17 18:08:37 UTC
https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=7586030
is different from the other ones but it's a very old one, too, from end of April.
We can ignore that one unless we see it again with newer bits.

The common case stack trace for Android 4.4.2 is 
java.lang.NullPointerException
at android.content.ComponentName.<init>(ComponentName.java:77)
at android.content.Intent.<init>(Intent.java:4180)
at org.wikipedia.editing.EditHandler.onMessage(EditHandler.java:92)
at org.wikipedia.bridge.CommunicationBridge$2.handleMessage(CommunicationBridge.java:107)

According to Android source for ComponentName.java:77,
this means that the context passed to the Intent constructor must be null.
Comment 3 Gerrit Notification Bot 2014-07-17 18:08:55 UTC
Change 147165 had a related patch set uploaded by BearND:
Fix NPE from editing.EditHandler.onMessage

https://gerrit.wikimedia.org/r/147165
Comment 4 Alex Monk 2014-07-17 18:10:58 UTC
(In reply to Bernd Sitzmann from comment #2)
> https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;
> TicketID=7586030
> is different from the other ones but it's a very old one, too, from end of
> April.
> We can ignore that one unless we see it again with newer bits.

https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=7558015 as well?
Comment 5 Gerrit Notification Bot 2014-07-17 20:10:02 UTC
Change 147165 merged by jenkins-bot:
Fix NPE from editing.EditHandler.onMessage

https://gerrit.wikimedia.org/r/147165
Comment 6 Alex Monk 2014-07-17 20:30:05 UTC
Should be fixed now

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


Navigation
Links