marzika / Snapprefs

A project which offer enhanced features for Snapchat throught the Xposed Framework.
GNU General Public License v3.0
273 stars 82 forks source link

Multi photos or video on chat/share photo from Gallery to story,SC will crash bug #194

Closed Jannboy69 closed 8 years ago

Jannboy69 commented 8 years ago

@marzika I have notes 2 bugs , If friend share photo from Gallery to story ,can't view story and SC will crash If friend share and i received multi photos or video on chat , only one will be saved , the other will Show already exist ,

Find the below log


1 Sep 2016 18:27:50 UTC Loading Xposed v54 (for Zygote)... Running ROM 'KTU84P.E700FXXU1AOAA' with fingerprint 'samsung/e7ltexx/e7lte:4.4.4/KTU84P/E700FXXU1AOAA:user/release-keys' Loading modules from /data/app/com.marz.snapprefs-2.apk Loading class com.marz.snapprefs.HookMethods ----------------- SNAPPREFS HOOKED ----------------- SnapChat Version: 9.31.1.0 (847) SnapPrefs Version: 2.0.0 beta (25)


SelectAll: false
SelectStory: false
SelectVenue: false
HideBF: false
HideRecent: false
ShouldAddGhost: false
mTextTools: false
mTimerCounter: true
mChatAutoSave: false
mChatMediaSave: true
mIntegration: false
mPaintTools: true
CustomFilters: false
MultiFilters: false
CustomFiltersLocation: /storage/emulated/0/Snapprefs/Filters
CustomFilterType: 0
mSpeed: false
mWeather: false
mLocation: false
mStoryPreload: false
mDiscoverSnap: false
mDiscoverUI: false
mCustomSticker: false
mHideLive: false
mHidePeople: false
mReplay: false
mStealth: false
mTyping: false
mUnlimGroups: false
mForceNavbar: 0
****_Debugging: true ***_*
mLicense: 0

```
----------------------- SAVING SETTINGS -----------------------
Preferences have changed:
~ mModeSave: SAVE_S2S
~ mOverlays: false
~ mTimerMinimum: 0
~ mToastEnabled: true
~ mVibrationEnabled: false
~ mToastLength: 0
~ mSavePath: /storage/emulated/0/Snapprefs
~ mSaveSentSnaps: false
~ mSortByCategory: true
~ mSortByUsername: true
~ mTimerUnlimited: true
~ mHideTimerStory: false
~ mLoopingVids: true
~ mHideTimer: false
SnapPrefs: ROOTCHECK: b
SnapPrefs: ROOTCHECK: c
SnapPrefs: ROOTCHECK: d
SnapPrefs: ROOTCHECK: e
SnapPrefs: Setting static fields
----------------- SNAPSHARE HOOKED -----------------
SnapChat Version: 9.31.1.0 (847)
SnapPrefs Version: 2.0.0 beta (25)
SnapPrefs: Hooked onCameraStateEvent
----------------- SNAPSHARE STARTED -----------------
SnapPrefs: Intent type: null, intent action:android.intent.action.MAIN
SnapPrefs: Regular call of Snapchat.
SnapPrefs: SNAPCONTEXT, NULL? - false
SnapPrefs: SNAPCONTEXT, NULL? - false
java.lang.NullPointerException
    at com.marz.snapprefs.HookMethods$1$2.afterHookedMethod(HookMethods.java:491)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
    at Em.a(Native Method)
    at Em.c(SourceFile:621)
    at Em.<init>(SourceFile:307)
    at Em.<init>(SourceFile:169)
    at com.snapchat.android.camera.CameraFragment.a(SourceFile:660)
    at com.snapchat.android.camera.BaseCameraFragment.onCreateView(SourceFile:93)
    at com.snapchat.android.camera.CameraFragment.onCreateView(SourceFile:459)
    at android.support.v4.app.Fragment.performCreateView(SourceFile:1974)
    at ad.a(SourceFile:1067)
    at ad.a(SourceFile:1252)
    at Y.run(SourceFile:738)
    at ad.i(SourceFile:1617)
    at ad.b(SourceFile:570)
    at agQ.a(SourceFile:114)
    at vq.a(SourceFile:108)
    at android.support.v4.view.ViewPager.b(SourceFile:1177)
    at android.support.v4.view.ViewPager.b(SourceFile:1025)
    at android.support.v4.view.ViewPager.onMeasure(SourceFile:1545)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1413)
    at android.widget.LinearLayout.measureVertical(LinearLayout.java:696)
    at android.widget.LinearLayout.onMeasure(LinearLayout.java:589)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2585)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2356)
    at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1458)
    at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1659)
    at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1316)
    at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6806)
    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:813)
    at android.view.Choreographer.doCallbacks(Choreographer.java:613)
    at android.view.Choreographer.doFrame(Choreographer.java:583)
    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:799)
    at android.os.Handler.handleCallback(Handler.java:733)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:146)
    at android.app.ActivityThread.main(ActivityThread.java:5756)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
    at dalvik.system.NativeStart.main(Native Method)
java.lang.NullPointerException
    at com.marz.snapprefs.HookMethods$1$3.afterHookedMethod(HookMethods.java:499)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
    at Em.h(Native Method)
    at Em.a(SourceFile:676)
    at Em.<init>(SourceFile:308)
    at Em.<init>(SourceFile:169)
    at com.snapchat.android.camera.CameraFragment.a(SourceFile:660)
    at com.snapchat.android.camera.BaseCameraFragment.onCreateView(SourceFile:93)
    at com.snapchat.android.camera.CameraFragment.onCreateView(SourceFile:459)
    at android.support.v4.app.Fragment.performCreateView(SourceFile:1974)
    at ad.a(SourceFile:1067)
    at ad.a(SourceFile:1252)
    at Y.run(SourceFile:738)
    at ad.i(SourceFile:1617)
    at ad.b(SourceFile:570)
    at agQ.a(SourceFile:114)
    at vq.a(SourceFile:108)
    at android.support.v4.view.ViewPager.b(SourceFile:1177)
    at android.support.v4.view.ViewPager.b(SourceFile:1025)
    at android.support.v4.view.ViewPager.onMeasure(SourceFile:1545)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1413)
    at android.widget.LinearLayout.measureVertical(LinearLayout.java:696)
    at android.widget.LinearLayout.onMeasure(LinearLayout.java:589)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2585)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2356)
    at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1458)
    at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1659)
    at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1316)
    at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6806)
    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:813)
    at android.view.Choreographer.doCallbacks(Choreographer.java:613)
    at android.view.Choreographer.doFrame(Choreographer.java:583)
    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:799)
    at android.os.Handler.handleCallback(Handler.java:733)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:146)
    at android.app.ActivityThread.main(ActivityThread.java:5756)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
    at dalvik.system.NativeStart.main(Native Method)
java.lang.NullPointerException
    at com.marz.snapprefs.HookMethods$1$2.afterHookedMethod(HookMethods.java:491)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
    at Em.a(Native Method)
    at Em.c(SourceFile:621)
    at com.snapchat.android.camera.CameraFragment.onVisible(SourceFile:1002)
    at com.snapchat.android.util.fragment.SnapchatFragment.h(SourceFile:403)
    at com.snapchat.android.util.fragment.SnapchatFragment.ak(SourceFile:576)
    at com.snapchat.android.camera.CameraFragment.onResume(SourceFile:913)
    at android.support.v4.app.Fragment.performResume(SourceFile:2020)
    at ad.a(SourceFile:1107)
    at ad.a(SourceFile:1252)
    at Y.run(SourceFile:738)
    at ad.i(SourceFile:1617)
    at ad.b(SourceFile:570)
    at agQ.a(SourceFile:114)
    at vq.a(SourceFile:108)
    at android.support.v4.view.ViewPager.b(SourceFile:1177)
    at android.support.v4.view.ViewPager.b(SourceFile:1025)
    at android.support.v4.view.ViewPager.onMeasure(SourceFile:1545)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1413)
    at android.widget.LinearLayout.measureVertical(LinearLayout.java:696)
    at android.widget.LinearLayout.onMeasure(LinearLayout.java:589)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2585)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2356)
    at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1458)
    at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1659)
    at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1316)
    at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6806)
    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:813)
    at android.view.Choreographer.doCallbacks(Choreographer.java:613)
    at android.view.Choreographer.doFrame(Choreographer.java:583)
    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:799)
    at android.os.Handler.handleCallback(Handler.java:733)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:146)
    at android.app.ActivityThread.main(ActivityThread.java:5756)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
    at dalvik.system.NativeStart.main(Native Method)
java.lang.NullPointerException
    at com.marz.snapprefs.HookMethods$1$3.afterHookedMethod(HookMethods.java:499)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
    at Em.h(Native Method)
    at Em.a(SourceFile:676)
    at com.snapchat.android.camera.CameraFragment.onVisible(SourceFile:1028)
    at com.snapchat.android.util.fragment.SnapchatFragment.h(SourceFile:403)
    at com.snapchat.android.util.fragment.SnapchatFragment.ak(SourceFile:576)
    at com.snapchat.android.camera.CameraFragment.onResume(SourceFile:913)
    at android.support.v4.app.Fragment.performResume(SourceFile:2020)
    at ad.a(SourceFile:1107)
    at ad.a(SourceFile:1252)
    at Y.run(SourceFile:738)
    at ad.i(SourceFile:1617)
    at ad.b(SourceFile:570)
    at agQ.a(SourceFile:114)
    at vq.a(SourceFile:108)
    at android.support.v4.view.ViewPager.b(SourceFile:1177)
    at android.support.v4.view.ViewPager.b(SourceFile:1025)
    at android.support.v4.view.ViewPager.onMeasure(SourceFile:1545)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1413)
    at android.widget.LinearLayout.measureVertical(LinearLayout.java:696)
    at android.widget.LinearLayout.onMeasure(LinearLayout.java:589)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2585)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2356)
    at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1458)
    at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1659)
    at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1316)
    at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6806)
    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:813)
    at android.view.Choreographer.doCallbacks(Choreographer.java:613)
    at android.view.Choreographer.doFrame(Choreographer.java:583)
    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:799)
    at android.os.Handler.handleCallback(Handler.java:733)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:146)
    at android.app.ActivityThread.main(ActivityThread.java:5756)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
    at dalvik.system.NativeStart.main(Native Method)
java.lang.NullPointerException
    at com.marz.snapprefs.HookMethods$1$3.afterHookedMethod(HookMethods.java:499)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
    at Em.h(Native Method)
    at Em.a(SourceFile:676)
    at com.snapchat.android.camera.CameraFragment.a(SourceFile:1844)
    at TE.a(SourceFile:59)
    at EJ.a(SourceFile:248)
    at ER$1.run(SourceFile:33)
    at android.os.Handler.handleCallback(Handler.java:733)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:146)
    at android.app.ActivityThread.main(ActivityThread.java:5756)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
    at dalvik.system.NativeStart.main(Native Method)
java.lang.NullPointerException
    at com.marz.snapprefs.HookMethods$1$2.afterHookedMethod(HookMethods.java:491)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
    at Em.a(Native Method)
    at Em.c(SourceFile:621)
    at com.snapchat.android.camera.CameraFragment.a(SourceFile:1845)
    at TE.a(SourceFile:59)
    at EJ.a(SourceFile:248)
    at ER$1.run(SourceFile:33)
    at android.os.Handler.handleCallback(Handler.java:733)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:146)
    at android.app.ActivityThread.main(ActivityThread.java:5756)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
    at dalvik.system.NativeStart.main(Native Method)
java.lang.NullPointerException
    at com.marz.snapprefs.HookMethods$1$3.afterHookedMethod(HookMethods.java:499)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
    at Em.h(Native Method)
    at Em.a(SourceFile:676)
    at com.snapchat.android.camera.CameraFragment.onFeedRefreshedEvent(SourceFile:1620)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.squareup.otto.Bus.a(SourceFile:5089)
    at com.squareup.otto.Bus.a(SourceFile:367)
    at com.squareup.otto.Bus.a(SourceFile:336)
    at RY.a(SourceFile:48)
    at RY$1.run(SourceFile:54)
    at android.os.Handler.handleCallback(Handler.java:733)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:146)
    at android.app.ActivityThread.main(ActivityThread.java:5756)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
    at dalvik.system.NativeStart.main(Native Method)
SnapPrefs: Added To HashMap!
SnapPrefs: Image story opened
SnapPrefs: Mode: sweep to save
SnapPrefs: Added To HashMap!
SnapPrefs: Image story opened
SnapPrefs: Mode: sweep to save
SnapPrefs: Starting to view a story
SnapPrefs: Starting to view a story
SnapPrefs: Stopped viewing the Story
SnapPrefs: Stopped viewing the Story
java.lang.NullPointerException
    at com.marz.snapprefs.HookMethods$1$3.afterHookedMethod(HookMethods.java:499)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
    at Em.h(Native Method)
    at Em.a(SourceFile:676)
    at com.snapchat.android.camera.CameraFragment.onSnapViewingEvent(SourceFile:1625)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.squareup.otto.Bus.a(SourceFile:5089)
    at com.squareup.otto.Bus.a(SourceFile:367)
    at com.squareup.otto.Bus.a(SourceFile:336)
    at RY.a(SourceFile:48)
    at abd.a(SourceFile:573)
    at abd.a(SourceFile:553)
    at abd.a(SourceFile:524)
    at com.snapchat.android.stories.ui.StorySnapViewGroup.d(SourceFile:9510)
    at apP.d(SourceFile:505)
    at com.snapchat.opera.view.animation.ClipCircleViewGroup.h(SourceFile:97)
    at com.snapchat.android.stories.ui.StorySnapViewGroup.a(SourceFile:446)
    at com.snapchat.android.stories.ui.StorySnapView.h(SourceFile:368)
    at com.snapchat.android.fragments.stories.StoriesFragment.f(SourceFile:13181)
    at com.snapchat.android.LandingPageActivity.onBackPressed(SourceFile:50043)
    at android.app.Activity.onKeyUp(Activity.java:2396)
    at com.snapchat.android.LandingPageActivity.onKeyUp(SourceFile:2970)
    at android.view.KeyEvent.dispatch(KeyEvent.java:3264)
    at android.app.Activity.dispatchKeyEvent(Activity.java:2630)
    at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:2187)
    at android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent(ViewRootImpl.java:4795)
    at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4762)
    at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4323)
    at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4377)
    at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4346)
    at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4457)
    at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4354)
    at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4514)
    at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4323)
    at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4377)
    at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4346)
    at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4354)
    at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4323)
    at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4377)
    at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4346)
    at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4490)
    at android.view.ViewRootImpl$ImeInputStage.onFinishedInputEvent(ViewRootImpl.java:4653)
    at android.view.inputmethod.InputMethodManager$PendingEvent.run(InputMethodManager.java:2314)
    at android.view.inputmethod.InputMethodManager.invokeFinishedInputEventCallback(InputMethodManager.java:1960)
    at android.view.inputmethod.InputMethodManager.finishedInputEvent(InputMethodManager.java:1951)
    at android.view.inputmethod.InputMethodManager$ImeInputEventSender.onInputEventFinished(InputMethodManager.java:2291)
    at android.view.InputEventSender.dispatchInputEventFinished(InputEventSender.java:141)
    at android.os.MessageQueue.nativePollOnce(Native Method)
    at android.os.MessageQueue.next(MessageQueue.java:138)
    at android.os.Looper.loop(Looper.java:131)
    at android.app.ActivityThread.main(ActivityThread.java:5756)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
    at dalvik.system.NativeStart.main(Native Method)
java.lang.NullPointerException
    at com.marz.snapprefs.HookMethods$1$2.afterHookedMethod(HookMethods.java:491)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
    at Em.a(Native Method)
    at Em.c(SourceFile:621)
    at com.snapchat.android.camera.CameraFragment.onVisible(SourceFile:1002)
    at com.snapchat.android.util.fragment.SnapchatFragment.h(SourceFile:403)
    at com.snapchat.android.LandingPageActivity$18.c(SourceFile:1714)
    at com.snapchat.android.LandingPageActivity$18.a(SourceFile:1598)
    at android.support.v4.view.ViewPager.e(SourceFile:1856)
    at android.support.v4.view.ViewPager.a(SourceFile:629)
    at android.support.v4.view.ViewPager.a(SourceFile:609)
    at android.support.v4.view.ViewPager.a(SourceFile:570)
    at android.support.v4.view.ViewPager.setCurrentItem(SourceFile:562)
    at com.snapchat.android.util.SnapchatViewPager.setCurrentItem(SourceFile:347)
    at com.snapchat.android.LandingPageActivity.b(SourceFile:2547)
    at com.snapchat.android.LandingPageActivity.onBackPressed(SourceFile:50125)
    at android.app.Activity.onKeyUp(Activity.java:2396)
    at com.snapchat.android.LandingPageActivity.onKeyUp(SourceFile:2970)
    at android.view.KeyEvent.dispatch(KeyEvent.java:3264)
    at android.app.Activity.dispatchKeyEvent(Activity.java:2630)
    at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:2187)
    at android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent(ViewRootImpl.java:4795)
    at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4762)
    at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4323)
    at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4377)
    at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4346)
    at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4457)
    at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4354)
    at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4514)
    at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4323)
    at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4377)
    at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4346)
    at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4354)
    at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4323)
    at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4377)
    at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4346)
    at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4490)
    at android.view.ViewRootImpl$ImeInputStage.onFinishedInputEvent(ViewRootImpl.java:4653)
    at android.view.inputmethod.InputMethodManager$PendingEvent.run(InputMethodManager.java:2314)
    at android.view.inputmethod.InputMethodManager.invokeFinishedInputEventCallback(InputMethodManager.java:1960)
    at android.view.inputmethod.InputMethodManager.finishedInputEvent(InputMethodManager.java:1951)
    at android.view.inputmethod.InputMethodManager$ImeInputEventSender.onInputEventFinished(InputMethodManager.java:2291)
    at android.view.InputEventSender.dispatchInputEventFinished(InputEventSender.java:141)
    at android.os.MessageQueue.nativePollOnce(Native Method)
    at android.os.MessageQueue.next(MessageQueue.java:138)
    at android.os.Looper.loop(Looper.java:131)
    at android.app.ActivityThread.main(ActivityThread.java:5756)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
    at dalvik.system.NativeStart.main(Native Method)
java.lang.NullPointerException
    at com.marz.snapprefs.HookMethods$1$3.afterHookedMethod(HookMethods.java:499)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
    at Em.h(Native Method)
    at Em.a(SourceFile:676)
    at com.snapchat.android.camera.CameraFragment.onVisible(SourceFile:1028)
    at com.snapchat.android.util.fragment.SnapchatFragment.h(SourceFile:403)
    at com.snapchat.android.LandingPageActivity$18.c(SourceFile:1714)
    at com.snapchat.android.LandingPageActivity$18.a(SourceFile:1598)
    at android.support.v4.view.ViewPager.e(SourceFile:1856)
    at android.support.v4.view.ViewPager.a(SourceFile:629)
    at android.support.v4.view.ViewPager.a(SourceFile:609)
    at android.support.v4.view.ViewPager.a(SourceFile:570)
    at android.support.v4.view.ViewPager.setCurrentItem(SourceFile:562)
    at com.snapchat.android.util.SnapchatViewPager.setCurrentItem(SourceFile:347)
    at com.snapchat.android.LandingPageActivity.b(SourceFile:2547)
    at com.snapchat.android.LandingPageActivity.onBackPressed(SourceFile:50125)
    at android.app.Activity.onKeyUp(Activity.java:2396)
    at com.snapchat.android.LandingPageActivity.onKeyUp(SourceFile:2970)
    at android.view.KeyEvent.dispatch(KeyEvent.java:3264)
    at android.app.Activity.dispatchKeyEvent(Activity.java:2630)
    at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:2187)
    at android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent(ViewRootImpl.java:4795)
    at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4762)
    at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4323)
    at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4377)
    at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4346)
    at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4457)
    at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4354)
    at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4514)
    at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4323)
    at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4377)
    at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4346)
    at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4354)
    at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4323)
    at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4377)
    at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4346)
    at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4490)
    at android.view.ViewRootImpl$ImeInputStage.onFinishedInputEvent(ViewRootImpl.java:4653)
    at android.view.inputmethod.InputMethodManager$PendingEvent.run(InputMethodManager.java:2314)
    at android.view.inputmethod.InputMethodManager.invokeFinishedInputEventCallback(InputMethodManager.java:1960)
    at android.view.inputmethod.InputMethodManager.finishedInputEvent(InputMethodManager.java:1951)
    at android.view.inputmethod.InputMethodManager$ImeInputEventSender.onInputEventFinished(InputMethodManager.java:2291)
    at android.view.InputEventSender.dispatchInputEventFinished(InputEventSender.java:141)
    at android.os.MessageQueue.nativePollOnce(Native Method)
    at android.os.MessageQueue.next(MessageQueue.java:138)
    at android.os.Looper.loop(Looper.java:131)
    at android.app.ActivityThread.main(ActivityThread.java:5756)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
    at dalvik.system.NativeStart.main(Native Method)
java.lang.NullPointerException
    at com.marz.snapprefs.HookMethods$1$3.afterHookedMethod(HookMethods.java:499)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
    at Em.h(Native Method)
    at Em.a(SourceFile:676)
    at com.snapchat.android.camera.CameraFragment.a(SourceFile:1844)
    at TE.a(SourceFile:59)
    at EJ.a(SourceFile:248)
    at ER$1.run(SourceFile:33)
    at android.os.Handler.handleCallback(Handler.java:733)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:146)
    at android.app.ActivityThread.main(ActivityThread.java:5756)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
    at dalvik.system.NativeStart.main(Native Method)
java.lang.NullPointerException
    at com.marz.snapprefs.HookMethods$1$2.afterHookedMethod(HookMethods.java:491)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
    at Em.a(Native Method)
    at Em.c(SourceFile:621)
    at com.snapchat.android.camera.CameraFragment.a(SourceFile:1845)
    at TE.a(SourceFile:59)
    at EJ.a(SourceFile:248)
    at ER$1.run(SourceFile:33)
    at android.os.Handler.handleCallback(Handler.java:733)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:146)
    at android.app.ActivityThread.main(ActivityThread.java:5756)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
    at dalvik.system.NativeStart.main(Native Method)
----------------- SNAPPREFS HOOKED -----------------
SnapChat Version: 9.31.1.0 (847)
SnapPrefs Version: 2.0.0 beta (25)

~~~~~~~~~~~~ SNAPPREFS SETTINGS
SelectAll: false
SelectStory: false
SelectVenue: false
HideBF: false
HideRecent: false
ShouldAddGhost: false
mTextTools: false
mTimerCounter: true
mChatAutoSave: false
mChatMediaSave: true
mIntegration: false
mPaintTools: true
CustomFilters: false
MultiFilters: false
CustomFiltersLocation: /storage/emulated/0/Snapprefs/Filters
CustomFilterType: 0
mSpeed: false
mWeather: false
mLocation: false
mStoryPreload: false
mDiscoverSnap: false
mDiscoverUI: false
mCustomSticker: false
mHideLive: false
mHidePeople: false
mReplay: false
mStealth: false
mTyping: false
mUnlimGroups: false
mForceNavbar: 0
*****Debugging: true *****
mLicense: 0
```

----------------------- SAVING SETTINGS -----------------------
Preferences have changed:
~ mModeSave: SAVE_BUTTON
~ mOverlays: false
~ mTimerMinimum: 0
~ mToastEnabled: true
~ mVibrationEnabled: false
~ mToastLength: 0
~ mSavePath: /storage/emulated/0/Snapprefs
~ mSaveSentSnaps: false
~ mSortByCategory: true
~ mSortByUsername: true
~ mTimerUnlimited: true
~ mHideTimerStory: false
~ mLoopingVids: true
~ mHideTimer: false
SnapPrefs: ROOTCHECK: b
SnapPrefs: ROOTCHECK: c
SnapPrefs: ROOTCHECK: d
SnapPrefs: ROOTCHECK: e
SnapPrefs: Setting static fields
----------------- SNAPSHARE HOOKED -----------------
SnapChat Version: 9.31.1.0 (847)
SnapPrefs Version: 2.0.0 beta (25)
SnapPrefs: Hooked onCameraStateEvent
----------------- SNAPSHARE STARTED -----------------
SnapPrefs: Intent type: null, intent action:android.intent.action.MAIN
SnapPrefs: Regular call of Snapchat.
SnapPrefs: SNAPCONTEXT, NULL? - false
SnapPrefs: SNAPCONTEXT, NULL? - false
java.lang.NullPointerException
    at com.marz.snapprefs.HookMethods$1$2.afterHookedMethod(HookMethods.java:491)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
    at Em.a(Native Method)
    at Em.c(SourceFile:621)
    at Em.<init>(SourceFile:307)
    at Em.<init>(SourceFile:169)
    at com.snapchat.android.camera.CameraFragment.a(SourceFile:660)
    at com.snapchat.android.camera.BaseCameraFragment.onCreateView(SourceFile:93)
    at com.snapchat.android.camera.CameraFragment.onCreateView(SourceFile:459)
    at android.support.v4.app.Fragment.performCreateView(SourceFile:1974)
    at ad.a(SourceFile:1067)
    at ad.a(SourceFile:1252)
    at Y.run(SourceFile:738)
    at ad.i(SourceFile:1617)
    at ad.b(SourceFile:570)
    at agQ.a(SourceFile:114)
    at vq.a(SourceFile:108)
    at android.support.v4.view.ViewPager.b(SourceFile:1177)
    at android.support.v4.view.ViewPager.b(SourceFile:1025)
    at android.support.v4.view.ViewPager.onMeasure(SourceFile:1545)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1413)
    at android.widget.LinearLayout.measureVertical(LinearLayout.java:696)
    at android.widget.LinearLayout.onMeasure(LinearLayout.java:589)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2585)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2356)
    at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1458)
    at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1659)
    at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1316)
    at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6806)
    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:813)
    at android.view.Choreographer.doCallbacks(Choreographer.java:613)
    at android.view.Choreographer.doFrame(Choreographer.java:583)
    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:799)
    at android.os.Handler.handleCallback(Handler.java:733)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:146)
    at android.app.ActivityThread.main(ActivityThread.java:5756)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
    at dalvik.system.NativeStart.main(Native Method)
java.lang.NullPointerException
    at com.marz.snapprefs.HookMethods$1$3.afterHookedMethod(HookMethods.java:499)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
    at Em.h(Native Method)
    at Em.a(SourceFile:676)
    at Em.<init>(SourceFile:308)
    at Em.<init>(SourceFile:169)
    at com.snapchat.android.camera.CameraFragment.a(SourceFile:660)
    at com.snapchat.android.camera.BaseCameraFragment.onCreateView(SourceFile:93)
    at com.snapchat.android.camera.CameraFragment.onCreateView(SourceFile:459)
    at android.support.v4.app.Fragment.performCreateView(SourceFile:1974)
    at ad.a(SourceFile:1067)
    at ad.a(SourceFile:1252)
    at Y.run(SourceFile:738)
    at ad.i(SourceFile:1617)
    at ad.b(SourceFile:570)
    at agQ.a(SourceFile:114)
    at vq.a(SourceFile:108)
    at android.support.v4.view.ViewPager.b(SourceFile:1177)
    at android.support.v4.view.ViewPager.b(SourceFile:1025)
    at android.support.v4.view.ViewPager.onMeasure(SourceFile:1545)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1413)
    at android.widget.LinearLayout.measureVertical(LinearLayout.java:696)
    at android.widget.LinearLayout.onMeasure(LinearLayout.java:589)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2585)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2356)
    at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1458)
    at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1659)
    at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1316)
    at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6806)
    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:813)
    at android.view.Choreographer.doCallbacks(Choreographer.java:613)
    at android.view.Choreographer.doFrame(Choreographer.java:583)
    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:799)
    at android.os.Handler.handleCallback(Handler.java:733)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:146)
    at android.app.ActivityThread.main(ActivityThread.java:5756)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
    at dalvik.system.NativeStart.main(Native Method)
java.lang.NullPointerException
    at com.marz.snapprefs.HookMethods$1$2.afterHookedMethod(HookMethods.java:491)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
    at Em.a(Native Method)
    at Em.c(SourceFile:621)
    at com.snapchat.android.camera.CameraFragment.onVisible(SourceFile:1002)
    at com.snapchat.android.util.fragment.SnapchatFragment.h(SourceFile:403)
    at com.snapchat.android.util.fragment.SnapchatFragment.ak(SourceFile:576)
    at com.snapchat.android.camera.CameraFragment.onResume(SourceFile:913)
    at android.support.v4.app.Fragment.performResume(SourceFile:2020)
    at ad.a(SourceFile:1107)
    at ad.a(SourceFile:1252)
    at Y.run(SourceFile:738)
    at ad.i(SourceFile:1617)
    at ad.b(SourceFile:570)
    at agQ.a(SourceFile:114)
    at vq.a(SourceFile:108)
    at android.support.v4.view.ViewPager.b(SourceFile:1177)
    at android.support.v4.view.ViewPager.b(SourceFile:1025)
    at android.support.v4.view.ViewPager.onMeasure(SourceFile:1545)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1413)
    at android.widget.LinearLayout.measureVertical(LinearLayout.java:696)
    at android.widget.LinearLayout.onMeasure(LinearLayout.java:589)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2585)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2356)
    at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1458)
    at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1659)
    at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1316)
    at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6806)
    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:813)
    at android.view.Choreographer.doCallbacks(Choreographer.java:613)
    at android.view.Choreographer.doFrame(Choreographer.java:583)
    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:799)
    at android.os.Handler.handleCallback(Handler.java:733)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:146)
    at android.app.ActivityThread.main(ActivityThread.java:5756)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
    at dalvik.system.NativeStart.main(Native Method)
java.lang.NullPointerException
    at com.marz.snapprefs.HookMethods$1$3.afterHookedMethod(HookMethods.java:499)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
    at Em.h(Native Method)
    at Em.a(SourceFile:676)
    at com.snapchat.android.camera.CameraFragment.onVisible(SourceFile:1028)
    at com.snapchat.android.util.fragment.SnapchatFragment.h(SourceFile:403)
    at com.snapchat.android.util.fragment.SnapchatFragment.ak(SourceFile:576)
    at com.snapchat.android.camera.CameraFragment.onResume(SourceFile:913)
    at android.support.v4.app.Fragment.performResume(SourceFile:2020)
    at ad.a(SourceFile:1107)
    at ad.a(SourceFile:1252)
    at Y.run(SourceFile:738)
    at ad.i(SourceFile:1617)
    at ad.b(SourceFile:570)
    at agQ.a(SourceFile:114)
    at vq.a(SourceFile:108)
    at android.support.v4.view.ViewPager.b(SourceFile:1177)
    at android.support.v4.view.ViewPager.b(SourceFile:1025)
    at android.support.v4.view.ViewPager.onMeasure(SourceFile:1545)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1413)
    at android.widget.LinearLayout.measureVertical(LinearLayout.java:696)
    at android.widget.LinearLayout.onMeasure(LinearLayout.java:589)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
    at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2585)
    at android.view.View.measure(View.java:17767)
    at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2356)
    at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1458)
    at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1659)
    at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1316)
    at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6806)
    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:813)
    at android.view.Choreographer.doCallbacks(Choreographer.java:613)
    at android.view.Choreographer.doFrame(Choreographer.java:583)
    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:799)
    at android.os.Handler.handleCallback(Handler.java:733)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:146)
    at android.app.ActivityThread.main(ActivityThread.java:5756)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
    at dalvik.system.NativeStart.main(Native Method)
java.lang.NullPointerException
    at com.marz.snapprefs.HookMethods$1$3.afterHookedMethod(HookMethods.java:499)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
    at Em.h(Native Method)
    at Em.a(SourceFile:676)
    at com.snapchat.android.camera.CameraFragment.a(SourceFile:1844)
    at TE.a(SourceFile:59)
    at EJ.a(SourceFile:248)
    at ER$1.run(SourceFile:33)
    at android.os.Handler.handleCallback(Handler.java:733)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:146)
    at android.app.ActivityThread.main(ActivityThread.java:5756)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
    at dalvik.system.NativeStart.main(Native Method)
java.lang.NullPointerException
    at com.marz.snapprefs.HookMethods$1$2.afterHookedMethod(HookMethods.java:491)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
    at Em.a(Native Method)
    at Em.c(SourceFile:621)
    at com.snapchat.android.camera.CameraFragment.a(SourceFile:1845)
    at TE.a(SourceFile:59)
    at EJ.a(SourceFile:248)
    at ER$1.run(SourceFile:33)
    at android.os.Handler.handleCallback(Handler.java:733)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:146)
    at android.app.ActivityThread.main(ActivityThread.java:5756)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
    at dalvik.system.NativeStart.main(Native Method)
SnapPrefs: Added To HashMap!
SnapPrefs: Image story opened
SnapPrefs: Added To HashMap!
SnapPrefs: Image story opened
SnapPrefs: Starting to view a story
SnapPrefs: Starting to view a story
----------------- SNAPPREFS HOOKED -----------------
SnapChat Version: 9.31.1.0 (847)
SnapPrefs Version: 2.0.0 beta (25)

~~~~~~~~~~~~ SNAPPREFS SETTINGS
SelectAll: false
SelectStory: false
SelectVenue: false
HideBF: false
HideRecent: false
ShouldAddGhost: false
mTextTools: false
mTimerCounter: true
mChatAutoSave: false
mChatMediaSave: true
mIntegration: false
mPaintTools: true
CustomFilters: false
MultiFilters: false
CustomFiltersLocation: /storage/emulated/0/Snapprefs/Filters
CustomFilterType: 0
mSpeed: false
mWeather: false
mLocation: false
mStoryPreload: false
mDiscoverSnap: false
mDiscoverUI: false
mCustomSticker: false
mHideLive: false
mHidePeople: false
mReplay: false
mStealth: false
mTyping: false
mUnlimGroups: false
mForceNavbar: 0
****_Debugging: true ***_*
mLicense: 0

```
----------------------- SAVING SETTINGS -----------------------
Preferences have changed:
~ mModeSave: SAVE_BUTTON
~ mOverlays: false
~ mTimerMinimum: 0
~ mToastEnabled: true
~ mVibrationEnabled: false
~ mToastLength: 0
~ mSavePath: /storage/emulated/0/Snapprefs
~ mSaveSentSnaps: false
~ mSortByCategory: true
~ mSortByUsername: true
~ mTimerUnlimited: true
~ mHideTimerStory: false
~ mLoopingVids: true
~ mHideTimer: false
SnapPrefs: ROOTCHECK: b
SnapPrefs: ROOTCHECK: c
SnapPrefs: ROOTCHECK: d
SnapPrefs: ROOTCHECK: e
SnapPrefs: Setting static fields
----------------- SNAPSHARE HOOKED -----------------
SnapChat Version: 9.31.1.0 (847)
SnapPrefs Version: 2.0.0 beta (25)
SnapPrefs: Hooked onCameraStateEvent

```
AmineI commented 8 years ago

Additional information here, "If friend share photo from Gallery to story ,can't view story and SC will crash " this is actually not because of snapprefs, in fact. I experienced it on 9.31.1.0 without xposed enabled, and updating to the last snapchat version fixed it. So for this bug you'll have to wait until Snapprefs is updated to support new snapchat versions. (Don't ask for when it'll come however.)

Jannboy69 commented 8 years ago

thanks for the info @AmineI , how about saving in chat?

AmineI commented 8 years ago

You shouldn't close this issue. Gallery sharing is a snapchat bug but the other one seems to be a bug of Snapprefs. Give it some time so Marz can look at it :) .

marzika commented 8 years ago

Fixed in https://github.com/marzika/Snapprefs/commit/100e731710c8d367cddb1336233ec43f1989fa31