Script Error

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

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
Organizer
Reactions:
Posts: 17102
Joined: April 8th, 2013, 6:00 pm
Answers: 203
Location: Everyone should strive to find their inner platypus.

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
Organizer
Reactions:
Posts: 17102
Joined: April 8th, 2013, 6:00 pm
Answers: 203
Location: Everyone should strive to find their inner platypus.

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!

ginseng14
Reactions:
Posts: 3
Joined: December 14th, 2020, 11:12 am

Script Error

Post by ginseng14 » December 14th, 2020, 11:24 am

Hello, I know it's been almost 2 years since the last reply but I really need help. My game crashed while loading a save, and I got a very similar, if not identical, script error message. However, removing my mods did not help so I don't know what to do. I deleted those 5 cache files every time before starting the game. I updated and restarted my computer. I even clicked "repair" in origin but that didn't fix my game.

User avatar
igazor
Organizer
Reactions:
Posts: 17102
Joined: April 8th, 2013, 6:00 pm
Answers: 203
Location: Everyone should strive to find their inner platypus.

Script Error

Post by igazor » December 14th, 2020, 12:29 pm

ginseng14 - Do (or did) you have the Everyone Can Carry Children, or possibly the Children Can Carry, mod in play before you removed them all? The OP here was suffering from lingering effects of one or both of those mods after they had been removed, but such effects would only be on the ongoing game save that had been using them. Do you have a backup save of this game from a somewhat earlier time that you can now try to load?

Just FYI, Origin Repairs can't fix things like this. For TS3, all the Repair function does is realign the game install with Origin and refresh some of its Program Files. Mods are in and work from the TS3 user folder in Documents, not the Program Files.

ginseng14
Reactions:
Posts: 3
Joined: December 14th, 2020, 11:12 am

Script Error

Post by ginseng14 » December 14th, 2020, 2:17 pm

No, I never had that mod, never knew it existed until reading this thread. I continued trying different things to fix my game, and I actually managed to fix it on my own, by something I should have done at the start: reinstalling the game. I put my save, options, user presets and mods back in and it worked. But I still don't know why I got that script error if I never had the carry children mod. But I did have NRaas mods. I think maybe what could have contributed to the crashing of my game was playing it for hours straight, and it running for too long, because that was the only difference in how I played compared to the past. When I quit and started the game again, that's when it stopped working. But again, why would the script error mention the child carry mod if I never had it?

Locked