Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

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

Abierto
#601 3 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 4 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
50/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
android, kotlin
Área
mobile

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Kotlin
Estrellas
917
Forks
73
Merge medio
5 d 8 h
PR fusionados (30 d)
7

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de FossifyOrg/Contacts

Todos los issues de FossifyOrg/Contacts

Issues similares

Más issues de Kotlin

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.