Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ShadowView的构造函数报空指针 #36

Open
wanglianqing123 opened this issue Feb 12, 2018 · 0 comments
Open

ShadowView的构造函数报空指针 #36

wanglianqing123 opened this issue Feb 12, 2018 · 0 comments

Comments

@wanglianqing123
Copy link

在360崩溃日志系统看到的
java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Resources android.content.Context.getResources()' on a null object reference at android.view.ViewConfiguration.get(ViewConfiguration.java:359) at android.view.View.(View.java:3646) at com.aitangba.swipeback.ShadowView.(ShadowView.java:18) at com.aitangba.swipeback.SwipeBackHelper$ViewManager.addShadowView(SwipeBackHelper.java:443) at com.aitangba.swipeback.SwipeBackHelper$ViewManager.access$300(SwipeBackHelper.java:375) at com.aitangba.swipeback.SwipeBackHelper.handleMessage(SwipeBackHelper.java:205) at android.os.Handler.dispatchMessage(Handler.java:111) at android.os.Looper.loop(Looper.java:224) at android.app.ActivityThread.main(ActivityThread.java:5911) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1113) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:879)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant