Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#601 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
50/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
android, kotlin
領域
mobile

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Kotlin
スター
917
フォーク
73
平均マージ
2日 2時間
マージ済み PR(30日)
9

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

FossifyOrg/Contacts のほかの issue

FossifyOrg/Contacts の issue をすべて見る

似ている issue

Kotlin の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。