-
Notifications
You must be signed in to change notification settings - Fork 23
NPE in Login under Android < 4 #54
Comments
As of 21f286d, I cannot reproduce this issue. It may have been taken care of by some of the changes in that commit. I'll leave this issue open for a while and will close it if I continue to have no success in reproducing it. |
I reproduced the issue on a physical G1 (CM 6.1 - Android 2.2.1) and myTouch 4G (Android 2.3.4). |
Can't manage to reproduce this issue. I tested with a freshly created 2.3.3 AVD, with a fresh install of the app. However, I did build against API 17 instead of API 15, so perhaps that fixed it? I'll be pushing that change shortly anyways. |
Updated to build against API 17 instead of 15. As a nice coincidence, I can't seem to reproduce #54, the SDK update may have fixed what was crashing the Asyntask in versions below 4.0.
I can reproduce on actual 2.3 hardware. I'm not sure why it's working in emulator at this point. It might be timing related. |
Tracking further, it seems context is null when MALManager is being initialized. |
So, I tried changing some calls around to pass context down, but I get all the way up to ItemGridFragment.getRecords and context is still null. I'm still trying to find a way to pass along a proper application context, but I'm appreciative of any suggestions. |
A NPE occurs on first login under Android versions below 4.0. Following is a logcat of the issue, including output from Atarashii!. Log was taken on an HTC Glacier on Android 2.3.4.
Re-launching the application and running a sync will make the application work.
The text was updated successfully, but these errors were encountered: