We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfff985 commit 9d3692eCopy full SHA for 9d3692e
objectbox-java/src/main/java/io/objectbox/relation/ToOne.java
@@ -106,7 +106,7 @@ public TARGET getTarget(long targetId) {
106
return targetNew;
107
}
108
109
- private void ensureBoxes(TARGET target) {
+ private void ensureBoxes(@Nullable TARGET target) {
110
// Only check the property set last
111
if (targetBox == null) {
112
Field boxStoreField = ReflectionCache.getInstance().getField(entity.getClass(), "__boxStore");
0 commit comments