Hey,
i just refactored my driver for the API change in 7.6.4 and am now (with 7.6.6) getting a NPE during shutdown. Does someone know, what node the device manager tries to unregister here? As far as i can tell, there should be no nodes left at this point, because i remove them during the shutdown of the driver instances.
I am quite sure this did not happen in 7.6.3 or before and i did not make any changes in this part of the code.
Thanks for your help,
Carsten
INFO | jvm 1 | 2014/05/14 21:55:17 | ERROR [ModuleHook ] [21:55:16,938]: Error unregistering DriverType.
INFO | jvm 1 | 2014/05/14 21:55:17 | java.lang.NullPointerException
INFO | jvm 1 | 2014/05/14 21:55:17 | at com.inductiveautomation.xopc.server.addressspace.base.StandardNodeManager._removeNode(StandardNodeManager.java:129)
INFO | jvm 1 | 2014/05/14 21:55:17 | at com.inductiveautomation.xopc.server.addressspace.base.StandardNodeManager.removeNode(StandardNodeManager.java:125)
INFO | jvm 1 | 2014/05/14 21:55:17 | at com.inductiveautomation.xopc.server.addressspace.base.XOPCAddressSpace.updateDeviceFolder(XOPCAddressSpace.java:103)
INFO | jvm 1 | 2014/05/14 21:55:17 | at com.inductiveautomation.xopc.server.devices.DeviceManager.unloadDriver(DeviceManager.java:220)
INFO | jvm 1 | 2014/05/14 21:55:17 | at com.inductiveautomation.xopc.server.devices.DeviceManager.loadDriver(DeviceManager.java:179)
INFO | jvm 1 | 2014/05/14 21:55:17 | at com.inductiveautomation.xopc.server.devices.DeviceManager.unregisterDriverType(DeviceManager.java:155)
INFO | jvm 1 | 2014/05/14 21:55:17 | at com.inductiveautomation.xopc.driver.common.AbstractDriverModuleHook.shutdown(AbstractDriverModuleHook.java:78)
INFO | jvm 1 | 2014/05/14 21:55:17 | at com.chitek.ignition.drivers.generictcp.ModuleHook.shutdown(ModuleHook.java:88)
INFO | jvm 1 | 2014/05/14 21:55:17 | at com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl$LoadedModule.shutdown(ModuleManagerImpl.java:2277)