lhz329 / foursquared

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

AddVenuesActivity crashes when setFields receives a null in foursquareCity #42

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.AddVenu
eActivity}: java.lang.NullPointerException
    at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2268)
    at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2284)
    at 
android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3278)
    at android.app.ActivityThread.access$1900(ActivityThread.java:112)
    at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1696)
    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.AddVenueActivity.setFields(AddVenueActivity.java
:146)
    at 
com.joelapenna.foursquared.AddVenueActivity.onCreate(AddVenueActivity.java:
83)
    at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123)
    at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2231)
    ... 12 more

Original issue reported on code.google.com by jlapenna on 17 Aug 2009 at 2:48

GoogleCodeExporter commented 8 years ago
Fixed by http://code.google.com/p/foursquared/source/detail?r=e9558902b8

Original comment by jlapenna on 17 Aug 2009 at 3:17