Skip to content

Commit 40c0be9

Browse files
committed
fix NPE
1 parent 84f1e70 commit 40c0be9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/comroid/api/config/ConfigurationManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ private T ctor() {
111111
}
112112

113113
private void invokePropertyAdaptersRecursive(Context context, DataNode node, DataStructure<?> struct, Object it) {
114-
if (node.isNull()) return;
114+
if (node == null || node.isNull()) return;
115115
for (var property : struct.getProperties()) {
116116
var propType = property.getType();
117117
if (propType.isStandard()) continue;

0 commit comments

Comments
 (0)