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

export contacts to a .vcf fails with "ERROR: java.lang.illegal Argument Exception: jav..."

Aperta
#601 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 4 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
50/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
android, kotlin
Ambito
mobile

Direzione di ricerca

Start by reproducing the failure through Settings → export contacts to a .vcf file, including contact sources and saving the export. Then trace the contact-export flow and investigate why this device's contact data causes an IllegalArgumentException; the issue does not name source files or tests. Done means exporting all contacts creates a nonempty VCF that can be imported without errors.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug needs triage
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.6.0

Affected Android/Custom ROM version

LineageOS 22.2-20251202-microG-axolotl (Android 15)

Affected device model

SHIFT6mq (axolotl)

How did you install the app?

F-Droid

Steps to reproduce the bug

1: co to Settings
2: click on: export contacts to a .vcf file
3: click on: include contact sources
4: select: "DEVICE" (it's the same result if I include all sources)
5: click on: OK
6: click on: save (german: speichern)
7: The Error shows up "ERROR: java.lang.illegal Argument Exception: jav..."
8: the exported .vcf file (contacts_20260825_120500.vcf) is empty (0 Bytes)

Expected behavior

Expected behaviour:
create a backup of all contacts without problems, which can later be imported without bugs or errors.

Actual behavior

Actual behaviour:
One ends up with an empty .vcf file and the error: "ERROR: java.lang.illegal Argument Exception: jav..."

Screenshots/Screen recordings
ignoreImageMinify
Additional information

Additional information:
The bug exists a very long time (multiple years) unchanged. It was even there when the application was a part of Simple Mobile Tools and before Fossify was a thing. I hoped the next time I need to migrate to another device the problem would be fixed by someone else experiencing the same problem, but obviously it still hasn't. The last time I changed my phone to a newer model I needed to export just a few contacts one by one in order to circumvent the error from happening. I think the problem is caused by the number of contacts which I have (358 contacts as of today) and the amount of information inside some of them. I have noted a few infos like opening hours and similar things in some of them, in the "Notes" field.

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.