Ive been getting this warning a while now, Everything seems to work fine but this is kinda clogging my logs. No line or name is given… Any idea what causes it? finding a nullpointer with no lines or real errors is tough xD
java.lang.NullPointerException: Element cannot be null
at java.base/java.util.Objects.requireNonNull(Unknown Source)
at com.inductiveautomation.perspective.gateway.property.PropertyTree$ValueNode.(PropertyTree.java:1159)
at com.inductiveautomation.perspective.gateway.property.PropertyTree.nodeFromJson(PropertyTree.java:327)
at com.inductiveautomation.perspective.gateway.property.PropertyTree.nodeFromJson(PropertyTree.java:293)
at com.inductiveautomation.perspective.gateway.property.PropertyTree$MapNode.lambda$createNodeMap$1(PropertyTree.java:673)
at com.inductiveautomation.perspective.gateway.property.PropertyTree$MapNode.lambda$createNodeMap$4(PropertyTree.java:688)
at java.base/java.util.stream.Collectors.lambda$toMap$68(Unknown Source)
at java.base/java.util.stream.ReduceOps$3ReducingSink.accept(Unknown Source)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
at java.base/java.util.Iterator.forEachRemaining(Unknown Source)
at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Unknown Source)
at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.base/java.util.stream.ReferencePipeline.collect(Unknown Source)
at com.inductiveautomation.perspective.gateway.property.PropertyTree$MapNode.createNodeMap(PropertyTree.java:684)
at com.inductiveautomation.perspective.gateway.property.PropertyTree$MapNode.createNodeMap(PropertyTree.java:673)
at com.inductiveautomation.perspective.gateway.property.PropertyTree$MapNode.(PropertyTree.java:662)
at com.inductiveautomation.perspective.gateway.property.PropertyTree.nodeFromJson(PropertyTree.java:321)
at com.inductiveautomation.perspective.gateway.property.PropertyTree.nodeFromJson(PropertyTree.java:293)
at com.inductiveautomation.perspective.gateway.property.PropertyTree$ArrayNode.createNodeList(PropertyTree.java:851)
at com.inductiveautomation.perspective.gateway.property.PropertyTree$ArrayNode.(PropertyTree.java:838)
at com.inductiveautomation.perspective.gateway.property.PropertyTree.nodeFromJson(PropertyTree.java:324)
at com.inductiveautomation.perspective.gateway.property.PropertyTree.nodeFromJson(PropertyTree.java:293)
at com.inductiveautomation.perspective.gateway.property.PropertyTree$ArrayNode.write(PropertyTree.java:921)
at com.inductiveautomation.perspective.gateway.property.PropertyTree.lambda$write$1(PropertyTree.java:421)
at com.inductiveautomation.perspective.gateway.property.PropertyTree.writeImpl(PropertyTree.java:464)
at com.inductiveautomation.perspective.gateway.property.PropertyTree.write(PropertyTree.java:421)
at com.inductiveautomation.perspective.gateway.property.PropertyTree.writeAll(PropertyTree.java:415)
at com.inductiveautomation.perspective.gateway.model.ComponentModel.onPropertySync(ComponentModel.java:485)
at com.inductiveautomation.perspective.gateway.model.ViewModel.lambda$onPropSync$5(ViewModel.java:324)
at com.inductiveautomation.perspective.gateway.model.ComponentModel.dispatch(ComponentModel.java:430)
at com.inductiveautomation.perspective.gateway.model.ComponentModel.dispatch(ComponentModel.java:436)
at com.inductiveautomation.perspective.gateway.model.ComponentModel.dispatch(ComponentModel.java:436)
at com.inductiveautomation.perspective.gateway.model.ComponentModel.dispatch(ComponentModel.java:436)
at com.inductiveautomation.perspective.gateway.model.ViewModel.onPropSync(ViewModel.java:321)
at com.inductiveautomation.perspective.gateway.model.PageModel$Handlers.lambda$onPropSync$19(PageModel.java:948)
at java.base/java.util.concurrent.CompletableFuture.uniAcceptNow(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture.uniAcceptStage(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture.thenAccept(Unknown Source)
at com.inductiveautomation.perspective.gateway.model.PageModel$Handlers.lambda$onPropSync$21(PageModel.java:946)
at com.inductiveautomation.perspective.gateway.api.LoggingContext.lambda$mdcWrap$0(LoggingContext.java:41)
at com.inductiveautomation.ignition.common.util.ExecutionQueue$PollAndExecute.run(ExecutionQueue.java:210)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)