PreferenceFragment.findPreference always returns NULL
问题 I'm currently trying to make a settings menu, that will show a MultiSelectListPreference , to select multiple contacts from your contact list. At this moment, I'm receiving an NullPointerException , when i try to MultiSelectListPreference#setEntryValue(CharSequence[]) If I put the setEntries first, that one throws the same exception. I've put a breakpoint, to see step by step what happens. The variables are filled because they store Strings , they can contain a String "null", so I guess that