Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Null Ref Exception in VAB on adding antenna #46

Open
dskzz opened this issue Oct 19, 2019 · 7 comments
Open

Getting Null Ref Exception in VAB on adding antenna #46

dskzz opened this issue Oct 19, 2019 · 7 comments

Comments

@dskzz
Copy link

dskzz commented Oct 19, 2019

I have a lot of mods, I think Kerbalism is the prime suspect. So everything works great until I slap on the antenna when it slows down. It's not game breaking but it is annoying, I love stocking up on the comms. IF I delete the antenna, then the NRE immediately stops and the lag ends, its back to normal.

Here's the relevant part of the logs, lmk if you need more. I'm going to take a look at the code myself maybe this weekend.

[EXC 23:14:49.585] NullReferenceException: Object reference not set to an instance of an object
DynamicBatteryStorage.GenericFieldDataHandler.GetValueEditor ()
DynamicBatteryStorage.ModuleDataHandler.GetValue ()
DynamicBatteryStorage.VesselData.get_CurrentConsumption ()
DynamicBatteryStorage.UI.UIElectricalView.UpdateHeaderPanelData ()
DynamicBatteryStorage.UI.UIElectricalView.Update ()
DynamicBatteryStorage.UI.DynamicBatteryStorageUI.Update ()
[EXC 23:14:50.069] NullReferenceException: Object reference not set to an instance of an object
DynamicBatteryStorage.GenericFieldDataHandler.GetValueEditor ()
DynamicBatteryStorage.ModuleDataHandler.GetValue ()
DynamicBatteryStorage.VesselData.get_CurrentConsumption ()
DynamicBatteryStorage.UI.UIElectricalView.UpdateHeaderPanelData ()
DynamicBatteryStorage.UI.UIElectricalView.Update ()
DynamicBatteryStorage.UI.DynamicBatteryStorageUI.Update ()
[EXC 23:14:50.707] NullReferenceException: Object reference not set to an instance of an object
DynamicBatteryStorage.GenericFieldDataHandler.GetValueEditor ()
DynamicBatteryStorage.ModuleDataHandler.GetValue ()
DynamicBatteryStorage.VesselData.get_CurrentConsumption ()
DynamicBatteryStorage.UI.UIElectricalView.UpdateHeaderPanelData ()
DynamicBatteryStorage.UI.UIElectricalView.Update ()
DynamicBatteryStorage.UI.DynamicBatteryStorageUI.Update ()
[EXC 23:14:51.116] NullReferenceException: Object reference not set to an instance of an object
DynamicBatteryStorage.GenericFieldDataHandler.GetValueEditor ()
DynamicBatteryStorage.ModuleDataHandler.GetValue ()
DynamicBatteryStorage.VesselData.get_CurrentConsumption ()
DynamicBatteryStorage.UI.UIElectricalView.UpdateHeaderPanelData ()
DynamicBatteryStorage.UI.UIElectricalView.Update ()
DynamicBatteryStorage.UI.DynamicBatteryStorageUI.Update ()

@ChrisAdderley
Copy link
Collaborator

Kerbalism is not compatible with this mod, unfortunately.

@ChrisAdderley
Copy link
Collaborator

Closing in favor of #48

@GarwelGarwel
Copy link
Contributor

I have the same issue without Kerbalism installed.

@ChrisAdderley
Copy link
Collaborator

ChrisAdderley commented Jan 12, 2020

Looooooooogs. With the debug flag on.

@GarwelGarwel
Copy link
Contributor

KSP.log
I don't know where you set the debug flags, but here's my log.

@ChrisAdderley
Copy link
Collaborator

You set them in GameData/DynamicBatteryStorage/DynamicBatteryStorageSettings.cfg. There should be a DebugMode to change to true. Unfortunately the log without the debug isn't giving me any clues.

@dlrk2
Copy link

dlrk2 commented Apr 23, 2020

The conflict is with Signal Delay, not Kerbalism

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants