Errortrap log file - System.NullReferenceException

A null value was encountered where this forum description was required.
Post Reply
Fluffyminstrel
Reactions:
Posts: 4
Joined: February 19th, 2021, 1:15 pm

Errortrap log file - System.NullReferenceException

Post by Fluffyminstrel » March 23rd, 2021, 4:34 pm

Hi, I'm getting consistent errors when playing my game from Errortrap. The log file states 'System.NullReferenceException' and I have researched this with similiar forums and many state Register fixes the top problem - so I will do that. However, I'm not sure what '#1: 0x0018f stloc.np.o' and '#2: 0x00027 leave.s' means or how to fix it.
If someone could offer advice that'd be a massive help!

Code: Select all



-- Script Errors --

Proxy: Sims3.Gameplay.Roles.RoleManagerTask

 Counter: 3
 Sim-Time: Mon. at 11:34 AM
 Start-Time: 03/23/2021 19:28:40
 PreLoadup-Time: 03/23/2021 19:29:05
 Loadup-Time: 03/23/2021 19:29:43
 Log-Time: 03/23/2021 20:19:25

System.NullReferenceException: A null value was found where an object instance was required.
#0: 0x0019c callvirt   in Sims3.Gameplay.Roles.Sims3.Gameplay.Roles.RoleManagerTask:FillForeignRole (Sims3.Gameplay.Roles.Role/RoleType,Sims3.Gameplay.Roles.RoleData,System.Collections.Generic.List`1) (6D6C8870 [140790009] [53623F50] [3099800700861235224/0x2b04b45061574018] )
#1: 0x0018f stloc.np.o in Sims3.Gameplay.Roles.Sims3.Gameplay.Roles.RoleManagerTask:Simulate () ()
#2: 0x00027 leave.s    in ScriptCore.ScriptCore.ScriptProxy:Simulate () ()



Loaded Assemblies:
 006820782053055
 00687110377681227
 012279894131755
 017048552656527
 02070367140550062
 030653649924942
 041542472282309
 057034677644106
 066191842734486
 074685692061192
 077687491472514
 087524892290139
 091136277601221
 092688719466123
 094637742373381
 111109022525292
 114478073251358
 154627468467911
 159108728111498
 160880360537683
 163586038663060
 176121043606988
 194579275076210
 204025744915386
 207505271142156
 20860955320770759
 21065350638817818
 212349737448078
 222617917131088
 224050758156033
 228071563325154
 240655250789170
 245253843596753
 245977524949290
 270245642329830
 27922778751526495
 28550087115658
 305242482172758
 309599997276021
 323824909716466
 341061144561359
 343540144083303
 351714349462300
 384253191352922
 39699172708519938
 414328146563539
 419279046201508
 427202238334578
 428709064705563
 42942137219734
 43869708305341
 453359503026346
 458726372876006
 496488586127721
 533174169118415
 536654399204730
 538757987937678
 541294681893181
 542944605800796
 554043501870436
 559612690524657
 563784155899508
 605150682166675
 605256345983533
 61008935745222814
 631138152214020
 645731191822992
 677272182804164
 681889492799331
 695393726421492
 724888715550421
 730345125129580
 731865414636117
 73453418620011
 750161932046916
 750601468189493
 752829193982223
 770906229630757
 771622930688007
 773833181346144
 780839940803658
 799664306026556
 810206545228033
 818472007568528
 820236252778184
 845558128828074
 857045066233773
 86814979614473
 87589041153495
 895521773346780
 899192107265861
 906982785512209
 915090679441734
 925305477367248
 937794541984821
 949048356778656
 958271323711741
 96138553043997543
 968231935850343
 971389940529971
 974248230048760
 99179472494981883
 Arsil_ToddlerSleepingMat
 Buzz_ScribblingPad
 CherryTS3_ToddlerInteractions
 ClassGardenerService2
 Cmominator
 CombineMeshGroups
 Gamefreak130.ThankYouNotesFix
 NRaasCareer: Version 87
 NRaasDecensor: Version 14
 NRaasErrorTrap: Version 100
 NRaasMasterController: Version 134
 NRaasMasterControllerCheats: Version 134
 NRaasMasterControllerIntegration: Version 134
 NRaasOverwatch: Version 122
 NRaasPorter: Version 42
 NRaasStoryProgression: Version 267
 NRaasTraveler: Version 87
 NRaasWoohooer: Version 129
 NRaasWrittenWord: Version 10
 NeuroBlazer.RandomGenetics
 Nona_ExtraCredit
 ScriptCore
 SimIFace
 Sims3.Gameplay.Objects.CmoCigarette
 Sims3.Gameplay.Objects.CmoPoseBox
 Sims3GameplayObjects
 Sims3GameplaySystems
 Sims3Metadata
 Sims3StoreObjects
 SimsMxHospitalOverhaul
 StoreObjectsBakersStation
 StoreObjectsCarnivalFoodMachine
 StoreObjectsCarousel
 StoreObjectsCowPasture
 StoreObjectsCraftersConsignment
 StoreObjectsDoorOfLifeAndDeath
 StoreObjectsFixerCar
 StoreObjectsFountainGondola
 StoreObjectsGalleryShopBase
 StoreObjectsGalleryShopDoor
 StoreObjectsGlassAndJewelryWorkbench
 StoreObjectsGondola
 StoreObjectsHotTubGrottoGeo
 StoreObjectsJamMakingStation
 StoreObjectsMillWheel
 StoreObjectsPhoneTableMidCModsuite
 StoreObjectsPriusPlugin
 StoreObjectsRollerCoaster
 StoreObjectsStaircaseLanding
 StoreObjectsStaircaseLandingMansion
 StoreObjectsStoreHarvestables
 StoreObjectsTeaSet
 StoreObjectsToyMachine
 StoreObjectsTractor
 StoreObjectsWhackAChicken
 StoreObjectsZoe
 System
 System.Xml
 UI
 cmar.morphingPenis
 granthesOMSP
 icarusallsorts.ServeMeals
 lizcandorMixedPregnancyFeelings
 mscorlib

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

Errortrap log file - System.NullReferenceException

Post by igazor » March 23rd, 2021, 4:48 pm

The lines that begin with #0, #1, and #2 (etc.) are what the sim, object, or manager in question is scripted to do and in which order. Sometimes they go on for miles. The NullReferenceException above #0 is the actual error. That doesn't mean everything that follows is a different error, it's all one block of script code at that point.

At the risk of oversimplifying things a bit (our developer will pounce on us here if I am doing that too much, just wait for it...) usually it's the action in #0 that generates the error, as seems to be the case here, sometimes it includes what comes just a bit beyond that. My assumption is that if Register fixes the RoleManager error, then this all goes away. :)

Fluffyminstrel
Reactions:
Posts: 4
Joined: February 19th, 2021, 1:15 pm

Errortrap log file - System.NullReferenceException

Post by Fluffyminstrel » March 23rd, 2021, 5:59 pm

Ah I see! Thanks so much for clarifying and all your help

User avatar
Mandelyn
Reactions:
Posts: 311
Joined: January 3rd, 2012, 6:00 pm
Answers: 1

Errortrap log file - System.NullReferenceException

Post by Mandelyn » March 24th, 2021, 1:05 am

You also have the Hospital Overhaul mod which is extremely outdated, not since 1.55 and should be removed.

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

Errortrap log file - System.NullReferenceException

Post by igazor » March 24th, 2021, 8:29 am

Mandelyn post_id=81389 time=1616562321 user_id=176 wrote: You also have the Hospital Overhaul mod which is extremely outdated, not since 1.55 and should be removed.
Yep good catch, I missed seeing that somehow.

Post Reply