Exception during loading:
sentania opened this issue · 4 comments
With module manager 2.6.25 (not sure if .24 did it), I am getting numerous exceptions in the log on loading:
Example:
[LOG 06:14:18.206] [ModuleManager] Applying node Sigma/Binary/Configs/checkMaxDistance/@Kopernicus:FOR[SigmaBinary] to Kopernicus/Config/System/Kerbol System
[LOG 06:14:18.547] [ModuleManager] Exception while processing node : Sigma/Binary/Configs/checkMaxDistance/@Kopernicus:FOR[SigmaBinary]
System.NullReferenceException: Object reference not set to an instance of an object
at ConfigNode.CopyToRecursive (.ConfigNode node) [0x00000] in :0
at ConfigNode.CopyToRecursive (.ConfigNode node) [0x00000] in :0
at ConfigNode.CopyToRecursive (.ConfigNode node) [0x00000] in :0
at ConfigNode.CopyTo (.ConfigNode node, System.String newName) [0x00000] in :0
at ModuleManager.MMPatchLoader.ModifyNode (.ConfigNode original, .ConfigNode mod) [0x00000] in :0
at ModuleManager.MMPatchLoader.ModifyNode (.ConfigNode original, .ConfigNode mod) [0x00000] in :0
at ModuleManager.MMPatchLoader+d__62.MoveNext () [0x00000] in :0
[LOG 06:14:18.552] [ModuleManager] @Kopernicus:FOR[SigmaBinary][@Kopernicus:FOR[SigmaBinary]]
@Kopernicus:FOR[SigmaBinary]
{
%sbMaxDistance = 113549713200
!Kopernicus,*
{
}
#@Kopernicus
{
}
@Kopernicus
{
!Body:HAS[!Orbit:HAS[#referenceBody[Sun]]]
{
}
@Body:HAS[@template[Dres]]
{
@orbit:HAS[~eccentricity[]]
{
eccentricity = 0.145
}
}
@Body:HAS[@template[Pol]]
{
@orbit:HAS[~eccentricity[]]
{
eccentricity = 0.17085
}
}
@Body:HAS[@template[Moho]]
{
@orbit:HAS[~eccentricity[]]
{
eccentricity = 0.200000002980232
}
}
@Body:HAS[@template[Bop]]
{
@orbit:HAS[~eccentricity[]]
{
eccentricity = 0.234999999403954
}
}
@Body:HAS[@template[Eeloo]]
{
@orbit:HAS[~eccentricity[]]
{
eccentricity = 0.26
}
}
@Body:HAS[@template[Jool]]
{
@orbit:HAS[~eccentricity[]]
{
eccentricity = 0.550000011920929
}
}
@Body,*
{
@orbit:HAS[#eccentricity[>0]]
{
@Eccentricity + = 1
@semiMajorAxis * = #$eccentricity$
}
@orbit
{
@semiMajorAxis - = #$/sbMaxDistance$
}
}
!Body:HAS[!Orbit:HAS[#semiMajorAxis[>0]]]
{
}
@Body,*
{
@orbit
{
@semiMajorAxis + = #$/sbMaxDistance$
}
}
}
!Kopernicus:HAS[!Body]
{
}
}
[LOG 06:14:18.570] [ModuleManager] Applying node Sigma/Binary/Configs/generateBarycenters/@Kopernicus:FOR[SigmaBinary] to Kopernicus/Config/System/Kerbol System
[LOG 06:14:18.593] [ModuleManager] Exception while processing node : Sigma/Binary/Configs/generateBarycenters/@Kopernicus:FOR[SigmaBinary]
System.NullReferenceException: Object reference not set to an instance of an object
at ConfigNode.CopyToRecursive (.ConfigNode node) [0x00000] in :0
at ConfigNode.CopyToRecursive (.ConfigNode node) [0x00000] in :0
at ConfigNode.CopyToRecursive (.ConfigNode node) [0x00000] in :0
at ConfigNode.CopyTo (.ConfigNode node, System.String newName) [0x00000] in :0
at ModuleManager.MMPatchLoader.ModifyNode (.ConfigNode original, .ConfigNode mod) [0x00000] in :0
at ModuleManager.MMPatchLoader+d__62.MoveNext () [0x00000] in :0
[LOG 06:14:18.597] [ModuleManager] @Kopernicus:FOR[SigmaBinary][@Kopernicus:FOR[SigmaBinary]]
@Kopernicus:FOR[SigmaBinary]
{
@Body:HAS[@orbit:HAS[#referenceBody[Sun]]]
{
!SigmaBinary,*
{
}
}
@Body:HAS[@SigmaBinary]
{
@SigmaBinary:HAS[~name[*]]
{
name = #$../Orbit/referenceBody$$../name$
}
}
+Body:HAS[@SigmaBinary]
{
@name = SigmaBarycenter
}
}
[LOG 06:14:18.603] [ModuleManager] Applying node Sigma/Binary/Configs/generateBarycenters/@contracts:FOR[SigmaBinary] to Squad/Contracts/Contracts/Contracts
[LOG 06:14:18.896] [ModuleManager] Applying node Sigma/Binary/Configs/generateOrbits/@Kopernicus:FOR[SigmaBinary] to Kopernicus/Config/System/Kerbol System
[LOG 06:14:18.917] [ModuleManager] Exception while processing node : Sigma/Binary/Configs/generateOrbits/@Kopernicus:FOR[SigmaBinary]
System.NullReferenceException: Object reference not set to an instance of an object
at ConfigNode.CopyToRecursive (.ConfigNode node) [0x00000] in :0
at ConfigNode.CopyToRecursive (.ConfigNode node) [0x00000] in :0
at ConfigNode.CopyToRecursive (.ConfigNode node) [0x00000] in :0
at ConfigNode.CopyTo (.ConfigNode node, System.String newName) [0x00000] in :0
at ModuleManager.MMPatchLoader.ModifyNode (.ConfigNode original, .ConfigNode mod) [0x00000] in :0
at ModuleManager.MMPatchLoader+d__62.MoveNext () [0x00000] in :0
[LOG 06:14:18.921] [ModuleManager] @Kopernicus:FOR[SigmaBinary][@Kopernicus:FOR[SigmaBinary]]
@Kopernicus:FOR[SigmaBinary]
{
@Body,*
{
@SigmaBinary
{
@redrawOrbit ^ = :f:F:
@redrawOrbit ^ = :A
@redrawOrbit ^ = :L:l:
@redrawOrbit ^ = :S:s:
@redrawOrbit ^ = :E:e:
}
}
+Body:HAS[@SigmaBinary:HAS[~redrawOrbit[False]]]
{
@name = SigmaOrbit
}
}
could you send me the complete log please?
does this happen with mm 2.6.25 but not with 2.6.24 ?
also, what mods are you using SB with?
Attached, I think you can get the mod list from the log.
I'm happy to try it slimmed down, too, take a peek and let me know if you want to try to narrow it down to a specific planet pack.
it looks like you have PluronKhato installed,
try the latest release it should solve this problem. (I have just released it)
if not, feel free to reopen the issue