hbb20 / hbb20/CountryCodePickerProject
Fatal Exception: java.lang.NullPointerException getNameCode() on a null object reference
- Langage dominant
- Java
- Étoiles
- 1.5k
- Forks
- 509
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Fatal Exception: java.lang.NullPointerException
Attempt to invoke virtual method 'java.lang.String com.hbb20.CCPCountry.getNameCode()' on a null object reference
com.hbb20.CountryCodePicker.setCustomDefaultLanguage (CountryCodePicker.java:1064)
com.hbb20.CountryCodePicker.changeDefaultLanguage (CountryCodePicker.java:1996)
Please add null check in selectedCCPCountry.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Start in CountryCodePicker.java at setCustomDefaultLanguage line 1064 and changeDefaultLanguage line 1996, following how selectedCCPCountry is used. Confirm the reported null path and add the requested null check; done means the language-change flow no longer invokes getNameCode() on a null selected country.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- java
- Domaine
- mobile
- Type d'issue
- Bug
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 30/100