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

NullPointerException on View #169

Open
sdoward opened this issue Mar 26, 2018 · 0 comments
Open

NullPointerException on View #169

sdoward opened this issue Mar 26, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@sdoward
Copy link

sdoward commented Mar 26, 2018

BindableImageView sometimes throws null pointer exceptions

io.reactivex.exceptions.UndeliverableException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetEx
	at io.reactivex.plugins.RxJavaPlugins.onError(RxJavaPlugins.java:367)
	at io.reactivex.android.schedulers.HandlerScheduler$ScheduledRunnable.run(HandlerScheduler.java:111)
	at android.os.Handler.handleCallback(Handler.java:790)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:164)
	at android.app.ActivityThread.main(ActivityThread.java:6494)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at solutions.alterego.androidbound.helpers.reflector.PropertyInfo.setValue(PropertyInfo.java:87)
	at solutions.alterego.androidbound.binding.types.PropertyBinding.setValue(PropertyBinding.java:85)
	at solutions.alterego.androidbound.binding.types.TargetPropertyBinding.access$001(TargetPropertyBinding.java:6)
	at solutions.alterego.androidbound.binding.types.TargetPropertyBinding$1.run(TargetPropertyBinding.java:29)
	at io.reactivex.android.schedulers.HandlerScheduler$ScheduledRunnable.run(HandlerScheduler.java:109)
	... 7 more
Caused by: java.lang.reflect.InvocationTargetException
	at java.lang.reflect.Method.invoke(Native Method)
	at solutions.alterego.androidbound.helpers.reflector.PropertyInfo.setValue(PropertyInfo.java:82)
	... 11 more
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.setClickable
	at solutions.alterego.androidbound.android.ui.BindableViewDelegate.setClick(BindableViewDelegate.java:69)
	at solutions.alterego.androidbound.android.ui.BindableImageView.setClick(BindableImageView.java:55)
@mrsasha mrsasha self-assigned this Apr 9, 2018
@mrsasha mrsasha added the bug label Apr 9, 2018
@mrsasha mrsasha added this to the 0.10 milestone Apr 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants