Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

IllegalArgumentException when creating new Group in 'phone storage'

未关闭
#436 3 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@naveensingh 已经在做这个了。

开始于 2025年12月23日。

评估

这个 Issue 还没有评估数据。

描述

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.

主要语言
Kotlin
星标
917
派生
73
平均合并
2 天 2 小时
30 天内合并 PR
9

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

FossifyOrg/Contacts 的其他 Issue

查看 FossifyOrg/Contacts 的全部 Issue

相似的 Issue

更多 Kotlin Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。