I have found a way to crash a Socialize application, the steps to reproduce and the logcat output is below.
I have only tested it with the current logged in user. I haven't had a chance to test it with any user, but it may be the same.
1) User UserUtils.showUserProfile for the current user.
2) Hit Menu -> Settings
3) Hit back
4) Force close
I'm running Android 4.1.1 JellyBean on a Galaxy Nexus of the Sprint variety using the Are-You-Jellin-M2 rom if you want/need that information.
/AndroidRuntime( 2538): java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1347, result=1347, data=null} to activity {com.nexercise.client.android/com.socialize.ui.action.ActionDetailActivity}: java.lang.NullPointerException
E/AndroidRuntime( 2538): at android.app.ActivityThread.deliverResults(ActivityThread.java:3141)
E/AndroidRuntime( 2538): at android.app.ActivityThread.handleSendResult(ActivityThread.java:3184)
E/AndroidRuntime( 2538): at android.app.ActivityThread.access$1100(ActivityThread.java:130)
E/AndroidRuntime( 2538): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1243)
E/AndroidRuntime( 2538): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 2538): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2538): at android.app.ActivityThread.main(ActivityThread.java:4745)
E/AndroidRuntime( 2538): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2538): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 2538): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
E/AndroidRuntime( 2538): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
E/AndroidRuntime( 2538): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2538): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 2538): at com.socialize.ui.action.ActionDetailLayoutView.doGetUserProfile(ActionDetailLayoutView.java:167)
E/AndroidRuntime( 2538): at com.socialize.ui.action.ActionDetailLayoutView.onProfileUpdate(ActionDetailLayoutView.java:273)
E/AndroidRuntime( 2538): at com.socialize.ui.action.ActionDetailView.onProfileUpdate(ActionDetailView.java:96)
E/AndroidRuntime( 2538): at com.socialize.ui.action.ActionDetailActivity.onActivityResult(ActionDetailActivity.java:80)
E/AndroidRuntime( 2538): at android.app.Activity.dispatchActivityResult(Activity.java:5192)
E/AndroidRuntime( 2538): at android.app.ActivityThread.deliverResults(ActivityThread.java:3137)
E/AndroidRuntime( 2538): ... 11 more
I have found a way to crash a Socialize application, the steps to reproduce and the logcat output is below.
I have only tested it with the current logged in user. I haven't had a chance to test it with any user, but it may be the same.
1) User UserUtils.showUserProfile for the current user. 2) Hit Menu -> Settings 3) Hit back 4) Force close
I'm running Android 4.1.1 JellyBean on a Galaxy Nexus of the Sprint variety using the Are-You-Jellin-M2 rom if you want/need that information.