Here are more details, realized that it might be difficult to figure out code sections based on different edits so I copied snipets near the offending sections.
- This error happens throughout the day on a semi regular basis, I'm guessing there is also something wrong with my edit of the Child code (after taking the Tiles section out of the ST code there was almost nothing left).
Error1:
dev:1622020-05-10 08:40:00.967 am errorjava.lang.IllegalArgumentException: deviceNetworkId is not specified. on line 72 (parse)
dev:1622020-05-10 08:40:00.943 am debugChild not found for endpoint. Creating one now
Code in driver near that - lines 69-75:
def childDevice = childDevices.find{it.deviceNetworkId == "$device.deviceNetworkId-ep${ep}"}
if (!childDevice) {
log.debug "Child not found for endpoint. Creating one now"
childDevice = addChildDevice("Lockable Door/Window Child Device", "${device.deviceNetworkId}-ep${ep}", null,
[completedSetup: true, label: "${device.displayName} Window ${ep}",
isComponent: false, componentName: "ep$ep", componentLabel: "Window $ep"])
}
- This error happens on selecting Configure in the device:
Error2:
dev:1622020-05-10 08:57:21.648 am errorjava.lang.NullPointerException: Cannot invoke method toJson() on null object on line 132 (parse)
Code near there lines 130 to 133:
state.endpointInfo = [null] * cmd.endPoints
//response(zwave.associationV2.associationGroupingsGet())
[ createEvent(name: "epInfo", value: util.toJson(state.endpointInfo), displayed: false, descriptionText:""),
response(zwave.multiChannelV3.multiChannelCapabilityGet(endPoint: 1)) ]
- This error happens when hitting Refresh in the device:
Error3:
dev:1622020-05-10 09:04:12.865 am errorgroovy.lang.MissingMethodException: No signature of method: user_driver_erocm123_Verilock_Translator_394.refresh() is applicable for argument types: () values: [] Possible solutions: every(), parse(java.lang.String), every(groovy.lang.Closure), grep() (refresh)