Script Error

A null value was encountered where this forum description was required.
User avatar
sittingbear
Reactions:
Posts: 2004
Joined: January 20th, 2017, 6:00 pm
Answers: 1

Script Error

Post by sittingbear » January 11th, 2019, 8:00 am

Tigerman wrote:
January 11th, 2019, 7:27 am
It's probably Children Can Carry Children mod.

http://modthesims.info/download.php?t=616566
Tigerman wrote:
January 11th, 2019, 7:34 am
Also I have no conlict or corrupt mods according to Delphy's Dashboard.
That one is a script mod Delphy's would be useless in finding conflicts with script mods.
Delphy's only works in finding tuning mod conflicts.

User avatar
igazor
Reactions:
Posts: 10760
Joined: April 8th, 2013, 6:00 pm
Answers: 14

Script Error

Post by igazor » January 11th, 2019, 8:01 am

It's not a matter of conflicts or corruption. The mod that is throwing the error is identified in the script code. The actual error is this part:

A null value was found where an object instance was required.
#0: 0x00011 callvirt in Sims3.Gameplay.Autonomy.Sims3.Gameplay.Autonomy.InteractionObjectPair:Equals (object) (30248E88 [30248798] )

Any mod can do that without being a corrupt file or conflicting according to Dashboard (that check is not viable for script mods anyway). This one identifies itself a couple of lines further down. What the log says it is complaining about is the equivalent of an undefined variable, it is a script programming error.

That's really about all the assistance we can offer here as the mod throwing the error is not an NRaas mod. Its developer would be the one to explain or fix what is happening, whether that be Skydome/PuddingFace, TheSweetToddler, or someone else entirely. I do see now that the two of them worked on the mod you linked to together.

Tigerman
Reactions:
Posts: 10
Joined: January 10th, 2019, 7:11 pm

Script Error

Post by Tigerman » January 11th, 2019, 3:22 pm

This for your help guys.

Tigerman
Reactions:
Posts: 10
Joined: January 10th, 2019, 7:11 pm

Script Error

Post by Tigerman » January 11th, 2019, 3:46 pm

Sorry to be a pain but I got rid of that mod and then deleted the Cache and got a new script error.

<?xml version="1.0" encoding="utf-8"?>
<NRaas.Selector>
<ModVersion value="13"/>
<BuildVersion value="0.2.0.32"/>
<Installed value="BaseGame, SP1, EP3"/>
<Enumerator value="4"/>
<Content>
Type: Sim
Counter: 10
Sim-Time: Sun. at 8:27 AM
Start-Time: 01/11/2019 15:30:53
Loadup-Time: 01/11/2019 15:34:28
Log-Time: 01/11/2019 15:44:07

System.NullReferenceException: A null value was found where an object instance was required.
#0: 0x0000c callvirt in Sims3.Gameplay.Autonomy.Sims3.Gameplay.Autonomy.InteractionObjectPair:AddInteractions (Sims3.Gameplay.Interfaces.IActor,System.Collections.Generic.List`1) (2178C6C0 [32E94C00] [6412845597564158864/0x58ff0118223d4390] )
#1: 0x00030 callvirt in Sims3.Gameplay.Abstracts.Sims3.Gameplay.Abstracts.GameObject:BuildInteractions (Sims3.Gameplay.Interfaces.IActor,System.Collections.Generic.List`1) (32E94C00 [32E94C00] [552956936/0x20f57408] )
#2: 0x00039 call in Sims3.Gameplay.Abstracts.Sims3.Gameplay.Abstracts.GameObject:GetAllInteractionsForActor (Sims3.Gameplay.Interfaces.IActor) (32E94C00 [32E94C00] )
#3: 0x00038 call in Sims3.Gameplay.Actors.Sims3.Gameplay.Actors.Sim:GetAllInteractionsForActor (Sims3.Gameplay.Interfaces.IActor) (32E94C00 [32E94C00] )
#4: 0x000cf callvirt in Sims3.Gameplay.Abstracts.Sims3.Gameplay.Abstracts.GameObject:OnPick (Sims3.UI.UIMouseEventArgs,Sims3.SimIFace.GameObjectHit) (32E94C00 [32DE2F50] [vt:1FCB79AC] )
#5: 0x0012b callvirt in Sims3.Gameplay.Tasks.Sims3.Gameplay.Tasks.PickObjectTask:ProcessClick (Sims3.UI.ScenePickArgs,bool) (13B38230 [vt:1FCB7904] [0] )
#6: 0x00019 call in NRaas.SelectorSpace.Tasks.NRaas.SelectorSpace.Tasks.PickTask:ProcessClick (Sims3.UI.ScenePickArgs) (13B38230 [vt:1FCB782C] )
#7: 0x00017 callvirt in Sims3.Gameplay.Abstracts.Sims3.Gameplay.Abstracts.UiMouseClickProcessorTask:Simulate () ()


</Content>
</NRaas.Selector>

User avatar
igazor
Reactions:
Posts: 10760
Joined: April 8th, 2013, 6:00 pm
Answers: 14

Script Error

Post by igazor » January 11th, 2019, 6:25 pm

It's almost the same error as before, except now it's being thrown by NRaas Selector. I can't really tell if the issue is left over from the mod you just removed or if the underlying cause is really something else not yet identified, I note that it's happening near the beginning of your game session. But we'll need our developer to look this thread over and comment.

In the meantime, if you could, perhaps try a test run with all non-NRaas mods removed and see if the errors stop happening.

Tigerman
Reactions:
Posts: 10
Joined: January 10th, 2019, 7:11 pm

Script Error

Post by Tigerman » January 11th, 2019, 7:30 pm

I found out it is a mod. I moved all mods ino a folder on my desktop and it works. I just need to find what mod is causing this error.

Tigerman
Reactions:
Posts: 10
Joined: January 10th, 2019, 7:11 pm

Script Error

Post by Tigerman » January 11th, 2019, 7:39 pm

I got it fixed but no odea what the cause was!

Post Reply