[Problem] S71500 driver

Hello there,
i’m trying to write 20 PLC tags with a system.tag.writeBlocking.

Sometimes (1 time on 3) the tags are not written to PLC and i get an error message on the Gateway logs page: BasicRequestCycle

java.lang.NullPointerException: null

at com.inductiveautomation.xopc.driver.util.UAByteUtilities.lambda$fromVariant$0(UAByteUtilities.java:205)

at java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)

at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Unknown Source)

at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)

at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(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.FindOps$FindOp.evaluateSequential(Unknown Source)

at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)

at java.base/java.util.stream.ReferencePipeline.findFirst(Unknown Source)

at com.inductiveautomation.xopc.driver.util.UAByteUtilities.fromVariant(UAByteUtilities.java:206)

at com.inductiveautomation.xopc.drivers.siemens.structs.converters.DefaultValueConverter.convertValue(DefaultValueConverter.java:41)

at com.inductiveautomation.xopc.drivers.siemens.structs.writers.ValueBlockWriter.write(ValueBlockWriter.java:21)

at com.inductiveautomation.xopc.drivers.siemens.structs.writers.S7WriteRequestDataWriter.write(S7WriteRequestDataWriter.java:20)

at com.inductiveautomation.xopc.drivers.siemens.structs.writers.S7WriteRequestWriter.write(S7WriteRequestWriter.java:17)

at com.inductiveautomation.xopc.drivers.siemens.requests.WriteRequest$1.write(WriteRequest.java:126)

at com.inductiveautomation.xopc.drivers.siemens.protocols.TxPacket.(TxPacket.java:32)

at com.inductiveautomation.xopc.drivers.siemens.protocols.ProtocolStack.transmit(ProtocolStack.java:23)

at com.inductiveautomation.xopc.drivers.siemens.requests.WriteRequest.buildPacket(WriteRequest.java:123)

at com.inductiveautomation.xopc.drivers.siemens.requests.WriteRequest.preparePacket(WriteRequest.java:112)

at com.inductiveautomation.xopc.drivers.siemens.requests.WriteRequest.sendMessage(WriteRequest.java:105)

at com.inductiveautomation.xopc.driver.api.requests.TimedRequest.sendMessage(TimedRequest.java:24)

at com.inductiveautomation.xopc.driver.api.BasicRequestCycle$PendingRequest.sendMessage(BasicRequestCycle.java:420)

at com.inductiveautomation.xopc.driver.api.BasicRequestCycle.sendRequest(BasicRequestCycle.java:233)

at com.inductiveautomation.xopc.driver.api.BasicRequestCycle.run(BasicRequestCycle.java:145)

at java.base/java.lang.Thread.run(Unknown Source)

i’m using S71500 direct driver, no third-party OPC involved.
Ignition v8.1.4 stable
Window 10 pro

Thanks for you help.

This looks like it’s probably a bug in the driver. Open a ticket with support and provide as much details about what tags and values you’re writing when this happens as you can.