bishopmatthew / HackerNews

An open source Hacker News client for Android.
230 stars 61 forks source link

Crash on open on Android 4.4 #32

Closed MarcBernstein closed 10 years ago

MarcBernstein commented 10 years ago

Stack trace:

java.lang.NullPointerException
  at com.bugsense.trace.Utils.manageUid(Unknown Source)
  at com.bugsense.trace.BugSenseHandler$1.run(Unknown Source)
  at java.lang.Thread.run(Thread.java:841)

I turned of the bug reporting in the settings and it doesn't seem to make a difference, so I assume it's probably coming from the init originating at SlideoutMenuActivity.java#L65

This was working fine on 4.3, so perhaps BugSense isn't playing nice with some change in KitKat.

Also, I've already submitted the crash report via the feedback mechanism in the developer console.

Niluge-KiWi commented 10 years ago

I had the same issue in an unrelated Android App after several days of perfect running, all on Android 4.4. I finally found a workaround: delete the ".bugsense" file in "Miscellaneous files".

pkillian commented 10 years ago

I'll take a poke around this issue soon, whenever I can find a chunk of free time. Will update by the weekend with my status on the matter.

pkillian commented 10 years ago

Bug confirmed on Moto X running 4.4.0 (140.45.5.ghost_verizon.Verizon.en.US)

Can't replicate on 4.4.0 emulator, however; will be debugging on device.

pkillian commented 10 years ago

A newer version of the BugSense plugin has since been released; will test locally to see if this remedies the issue.

bishopmatthew commented 10 years ago

I'm removing the dependency on Bugsense and will be moving to a new provider soon. In the meantime version 2.0.7 is rolling out on the Play Store.