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

滑动的时候报错 #3

Open
ouyangmingzhuanyong opened this issue Oct 10, 2017 · 0 comments
Open

滑动的时候报错 #3

ouyangmingzhuanyong opened this issue Oct 10, 2017 · 0 comments

Comments

@ouyangmingzhuanyong
Copy link

java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.support.design.widget.TabLayout$Tab.getCustomView()' on a null object reference
at me.weyye.library.colortrackview.ColorTrackTabLayout.getColorTrackView(ColorTrackTabLayout.java:177)
at me.weyye.library.colortrackview.ColorTrackTabLayout.tabScrolled(ColorTrackTabLayout.java:169)
at me.weyye.library.colortrackview.ColorTrackTabLayout$ColorTrackTabLayoutOnPageChangeListener.onPageScrolled(ColorTrackTabLayout.java:205)
at android.support.v4.view.ViewPager.dispatchOnPageScrolled(ViewPager.java:1950)
at android.support.v4.view.ViewPager.onPageScrolled(ViewPager.java:1924)
at android.support.v4.view.ViewPager.pageScrolled(ViewPager.java:1862)
at android.support.v4.view.ViewPager.performDrag(ViewPager.java:2370)
at android.support.v4.view.ViewPager.onTouchEvent(ViewPager.java:2262)
at android.view.View.dispatchTouchEvent(View.java:9328)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2564)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2250)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2570)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2264)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2570)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2264)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2570)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2264)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2570)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2264)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2570)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2264)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2570)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2264)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2570)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2264)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2570)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2264)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2570)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2264)
at com.android.internal.policy.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2452)
at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1749)
at android.app.Activity.dispatchTouchEvent(Activity.java:2927)
at android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:71)
at com.android.internal.policy.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2405)
at android.view.View.dispatchPointerEvent(View.java:9548)
at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4506)
at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4304)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3814)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3874)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3833)
at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3981)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3841)
at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4038)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3814)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3874)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3833)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3841)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3814)
at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:6230)
at android.view.

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