1.1.2 with newest CKAN KAS: found error
davv1 opened this issue ยท 1 comments
[LOG 07:20:58.724] Ignoring error adding ModuleKISInventory to kerbalEVA_RD (Part): System.NullReferenceException: Object reference not set to an instance of an object
at PartModuleList.Add (.PartModule module) [0x00000] in :0
at Part.AddModule (System.String moduleName) [0x00000] in :0
at KIS.KISAddonConfig.UpdateEvaPrefab (.AvailablePart avPart, .ConfigNode nodeSettings) [0x00000] in :0
[LOG 07:20:58.728] Ignoring error adding ModuleKISPickup to kerbalEVA_RD (Part): System.NullReferenceException: Object reference not set to an instance of an object
at PartModuleList.Add (.PartModule module) [0x00000] in :0
at Part.AddModule (System.String moduleName) [0x00000] in :0
at KIS.KISAddonConfig.UpdateEvaPrefab (.AvailablePart avPart, .ConfigNode nodeSettings) [0x00000] in :0
Just launched Mk1 Pod and checked logs(I'm copying it because of RPM no-texture bug) and found this error, maybe it can help somewhere.
There's log if you need it: http://www12.zippyshare.com/v/GVXLElxC/file.html
It's a know issue. Unfortunately, this is what happens when you add a module in prefab. It's unknown how (and if) it can be fixed. So, for now just ignoring:
// Adding module to EVA may cause an NPE but module update will still work.
try {
prefab.AddModule(typeof(ModuleKISInventory).Name);
} catch (Exception ex) {
Logger.logInfo("Ignoring error adding ModuleKISInventory to {0}: {1}", prefab, ex);
}
try {
prefab.AddModule(typeof(ModuleKISPickup).Name);
} catch (Exception ex) {
Logger.logInfo("Ignoring error adding ModuleKISPickup to {0}: {1}", prefab, ex);
}
Anyways, thank you for checking logs and reporting suspicious messages. It helps improving the mod.