Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

IllegalArgumentException when creating new Group in 'phone storage'

Aperta
#436 3 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 4 giorni

@naveensingh ci sta già lavorando.

Dal 23/12/2025.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

bug device/software specific
Checklist
  • I can reproduce the bug with the latest version given here.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.
Affected app version

1.4.0

Affected Android/Custom ROM version

Android 16

Affected device model

Pixel 6a

How did you install the app?

Google Play Store

Steps to reproduce the bug

This bug was appearing originally when trying to add new contacts or edit old ones, but it can also be easily triggered with groups:

  1. Go to Groups
  2. Create a new group with name Test
  3. In the popup for "Create group under account" , choose Phone storage rather than Phone storage (not visible by other apps).

Can also do minimal contact:

  1. Create new contact
  2. fill in just the first name
Expected behavior

A. group is created, OR
B. contact with a single field is created

Actual behavior

💥 A Toast fires with the cut off message: Error: java.lang.illegalArgumentException: Cannot add contacts...

Screenshots/Screen recordings

I'd add one, but it just shows the toast and nothing else useful. Happy to add if you really want it as assurance.

Additional information

I've only had the app since Feb/March 2025, and in the early months I had no trouble loading contacts into phone storage or editing them (all of my contacts in the phone storage location, rather than not visible - so it must have been working at one point). I only noticed this error start occurring within the last 3 weeks - but it could have started before then, I don't think I've added many contacts in last ~4 months.

If there is an easy way to get a more useful stack trace, I'm happy to try and dig in to make things easier to trace down.

Lingua principale
Kotlin
Stelle
917
Fork
73
Merge medio
5g 8h
PR unite (30g)
7

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di FossifyOrg/Contacts

Tutte le issue di FossifyOrg/Contacts

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.