Is there an existing issue?
Build info
- ObjectBox version: 4.3.1
- OS: [Android 7 ]
- Device/ABI/architecture: [ arm64-v8a | x86-64 ]
Steps to reproduce
Run the provided sample project, or refer to the Java code attached in this post for a minimal example.
Expected behavior
The object should be stored without error, regardless of list size or platform version.
Actual behavior
Application crashes fatally during the operation on devices running Android API level 25 or lower.
Code
Run the provided sample project, or refer to the Java code attached in this post for a minimal example.
objectbox-bug-upload.zip
Code
@Entity
data class Data (
@Id
var _id: Long = 0,
var ids: List<String> = listOf(),
)
box.put(
Data(
ids = IntRange(0,512).map { //crash on API 25, < 400 works
"$it"
}
)
)
Logs, stack traces
TODO Add relevant logs, a stack trace or crash report.
Logs