berkati / foursquared

Automatically exported from code.google.com/p/foursquared
Apache License 2.0
0 stars 0 forks source link

VenueCheckinsActivity crashes with NPE #55

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
java.lang.RuntimeException: Unable to start activity 
ComponentInfo{com.joelapenna.foursquared/com.joelapenna.foursquared.VenueCh
eckinsActivity}: java.lang.NullPointerException
    at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2268)
    at 
android.app.ActivityThread.startActivityNow(ActivityThread.java:2112)
    at 
android.app.LocalActivityManager.moveToState(LocalActivityManager.java:127)
    at 
android.app.LocalActivityManager.startActivity(LocalActivityManager.java:33
9)
    at 
android.widget.TabHost$IntentContentStrategy.getContentView(TabHost.java:60
0)
    at android.widget.TabHost.setCurrentTab(TabHost.java:310)
    at android.widget.TabHost$2.onTabSelectionChanged(TabHost.java:126)
    at android.widget.TabWidget.onFocusChange(TabWidget.java:250)
    at android.view.View.onFocusChanged(View.java:2430)
    at android.view.View.handleFocusGainInternal(View.java:2258)
    at 
android.view.ViewGroup.handleFocusGainInternal(ViewGroup.java:391)
    at android.view.View.requestFocus(View.java:3232)
    at android.view.ViewGroup.requestFocus(ViewGroup.java:955)
    at 
android.view.ViewRoot.deliverKeyEventToViewHierarchy(ViewRoot.java:2220)
    at android.view.ViewRoot.handleFinishedEvent(ViewRoot.java:2158)
    at android.view.ViewRoot.handleMessage(ViewRoot.java:1490)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:123)
    at android.app.ActivityThread.main(ActivityThread.java:3948)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:521)
    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:
782)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
    at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
    at 
com.joelapenna.foursquared.widget.CheckinListAdapter.setGroup(CheckinListAd
apter.java:119)
    at 
com.joelapenna.foursquared.widget.BaseGroupAdapter.<init>(BaseGroupAdapter.
java:20)
    at 
com.joelapenna.foursquared.widget.BaseCheckinAdapter.<init>(BaseCheckinAdap
ter.java:18)
    at 
com.joelapenna.foursquared.widget.CheckinListAdapter.<init>(CheckinListAdap
ter.java:49)
    at 
com.joelapenna.foursquared.VenueCheckinsActivity.setCheckins(VenueCheckinsA
ctivity.java:85)
    at 
com.joelapenna.foursquared.VenueCheckinsActivity.access$1(VenueCheckinsActi
vity.java:78)
    at 
com.joelapenna.foursquared.VenueCheckinsActivity$ParentDataObserver.update(
VenueCheckinsActivity.java:184)
    at 
com.joelapenna.foursquared.VenueCheckinsActivity.onCreate(VenueCheckinsActi
vity.java:65)
    at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123)
    at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2231)
    ... 23 more

Original issue reported on code.google.com by jlapenna on 24 Aug 2009 at 5:52

GoogleCodeExporter commented 8 years ago

Original comment by jlapenna on 29 Aug 2009 at 5:19