Last modified: 2014-10-02 12:00:18 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 T69807, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67807 - NPEs from page.PageViewFragment.commonSectionFetchOnCatch
NPEs from page.PageViewFragment.commonSectionFetchOnCatch
Status: REOPENED
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-10 14:54 UTC by Alex Monk
Modified: 2014-10-02 12:00 UTC (History)
4 users (show)

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


Attachments

Comment 1 Alex Monk 2014-07-13 11:50:51 UTC
Oh, right: Further down in the stack trace we get these lines, which are probably more useful:
at java.lang.Thread.run(Thread.java:841)
java.lang.NullPointerException
at org.wikipedia.page.PageProperties.parseJSON(PageProperties.java:175)
at org.wikipedia.page.PageViewFragment$LeadSectionFetchTask.processResult(PageViewFragment.java:464)
at org.wikipedia.page.PageViewFragment$LeadSectionFetchTask.processResult(PageViewFragment.java:445)
at org.wikipedia.ApiTask.performTask(ApiTask.java:19)
at org.wikipedia.concurrency.SaneAsyncTask$BackingAsyncTask.doInBackground(SaneAsyncTask.java:107)
Comment 2 Gerrit Notification Bot 2014-07-17 15:27:00 UTC
Change 147119 had a related patch set uploaded by BearND:
Fix NPE parsing mobileview JSON

https://gerrit.wikimedia.org/r/147119
Comment 3 Gerrit Notification Bot 2014-07-17 20:10:05 UTC
Change 147119 merged by jenkins-bot:
Fix NPE parsing mobileview JSON

https://gerrit.wikimedia.org/r/147119
Comment 4 Alex Monk 2014-07-17 20:29:21 UTC
Should be fixed now, I think
Comment 6 Bernd Sitzmann 2014-07-18 17:12:19 UTC
(In reply to Alex Monk from comment #5)
> Was
> https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;
> TicketID=7562724 resolved by this?

The method that had the NPE has been removed from the code. So that could be considered closed as well.
Comment 7 Alex Monk 2014-08-13 15:00:14 UTC
What about https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=7708614 ?

java.lang.RuntimeException: java.lang.NullPointerException:
Attempt to invoke virtual method 'int org.json.JSONArray.length()' on a
null object reference
at
org.wikipedia.page.PageViewFragment.commonSectionFetchOnCatch(PageViewFragment.java:614)

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


Navigation
Links