Kethane icon indicating copy to clipboard operation
Kethane copied to clipboard

Kethane NullReferenceException in combination with Engineer Redux

Open Pirke123 opened this issue 11 years ago • 5 comments

I'm getting a lot of NullReferenceExceptions in the KSP.log when using Kethane jets, possibly due to Engineer Redux.

The Build and Flight Engineer info stop showing delta-v calculations when I install a kethane jet. TWR is still available, but with a HUGE lag probably due to all the exception handling going on.

This is the error in the output_log.txt: NullReferenceException: Object reference not set to an instance of an object at Kethane.OrthogonalIntake.FixedUpdate () [0x00000] in :0

When modifying the jet part.cfg to use IntakeAir instead of KIntakeAir, the problem disappears. Is this a problem in Kethane Mod, or should the Engineer Redux mod be extended?

Pirke123 avatar Aug 07 '13 23:08 Pirke123

It sounds like the KIntakeAir resource definition isn't being loaded. Please upload your full output log as per the bug reporting guidelines. Also check that you've installed Kethane correctly; there should be a GameData/Kethane/Resources folder with a config file that defines KIntakeAir.

Majiir avatar Aug 08 '13 02:08 Majiir

It is installed properly. Everything functions properly, except the delta v calculations of Engineer Redux, and the big amount of exceptions in the log (it's 8 mb text exception logging...)

RESOURCE_DEFINITION { name = KIntakeAir density = 0.001 flowMode = NO_FLOW transfer = NONE }

Pirke123 avatar Aug 08 '13 02:08 Pirke123

Use a site like http://pastie.org/ or http://hastebin.com/ or upload your file someplace like Dropbox.

Majiir avatar Aug 08 '13 02:08 Majiir

https://docs.google.com/file/d/0B6OjJwPwNBdBbGo1MzBrbHIwSWs/edit?usp=sharing

Pirke123 avatar Aug 08 '13 03:08 Pirke123

Besides the exception mentioned above there is also this exception visible:

NullReferenceException: Object reference not set to an instance of an object at Kethane.ScaledSpaceFix.Start () [0x00000] in :0

I'm not sure if they are related though.

Pirke123 avatar Aug 08 '13 03:08 Pirke123