Skip to content

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

Description

@DrDustwolf

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is not workingneeds triageIssue is not yet ready for PR authors to take up

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions