R
R
Rapen2017-05-22 20:19:42
Android
Rapen, 2017-05-22 20:19:42

Why does the Cannot read property 'checked' of null error occur?

The code

Answer the question

In order to leave comments, you need to log in

2 answer(s)
1
1001001, 2018-08-16
@1001001

I suppose

androidTestImplementation 'com.android.support.test:runner:1.0.2'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

Added studio, remove them.
or raise implementation version 'com.android.support:appcompat-v7:26.1.0'

K
KnightForce, 2017-05-22
@KnightForce

Well, for decency in the cycle, look what you get. Writes that null does not have such a property - this means that you have a .checked variable
somewhere . And the variable is null . And where do you have arrRefs updated with data? You only declared it in the constructor and that's it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question