View Issue Details

IDProjectCategoryLast Update
0004147Valley 1Crash/ExceptionSep 28, 2011 12:17 am
ReporterGrimerX Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Fixed in Version0.503 
Summary0004147: NullReferenceException (WSorld.FindSettlementWhereNPCResides)
DescriptionHit this after killing a resource-guarding boss....
TagsNo tags attached.
Internal WeightNew

Activities

Chris_McElligottPark

Sep 28, 2011 12:10 am

administrator   ~0014148

We need the actual exception files whenever there's an exception, too, not just the world file. Though that's also helpful. Thanks!

GrimerX

Sep 28, 2011 12:11 am

reporter   ~0014149

UnhandledErrors.txt doesn't seem to be attached, and when I tried to re-attach it, I got a 504 from mantis.

9/27/2011 9:03:53 PM (0.502)
-----------------------------------Error-----------------------------------Log String: FixedUpdate: System.NullReferenceException: Object reference not set to an instance of an object
  at World.FindSettlementWhereNPCResides (Int64 EntityID) [0x00000] in <filename unknown>:0
  at World.ProcessNPCDeath (Int64 EntityID) [0x00000] in <filename unknown>:0
  at GameEntity.PerformPreRemovalFromExistenceLogic () [0x00000] in <filename unknown>:0
  at Chunk.ProcessSimStep () [0x00000] in <filename unknown>:0
  at Game.ProcessSimStep () [0x00000] in <filename unknown>:0
  at Game.RunNextCycle (Boolean DoRendering) [0x00000] in <filename unknown>:0
  at Game.RunFrame () [0x00000] in <filename unknown>:0
  at MainCameraLogic.Update () [0x00000] in <filename unknown>:0
Stack Trace: at World.FindSettlementWhereNPCResides (Int64 EntityID) [0x00000] in <filename unknown>:0
  at World.ProcessNPCDeath (Int64 EntityID) [0x00000] in <filename unknown>:0
  at GameEntity.PerformPreRemovalFromExistenceLogic () [0x00000] in <filename unknown>:0
  at Chunk.ProcessSimStep () [0x00000] in <filename unknown>:0
  at Game.ProcessSimStep () [0x00000] in <filename unknown>:0
  at Game.RunNextCycle (Boolean DoRendering) [0x00000] in <filename unknown>:0
  at Game.RunFrame () [0x00000] in <filename unknown>:0
  at MainCameraLogic.Update () [0x00000] in <filename unknown>:0

Chris_McElligottPark

Sep 28, 2011 12:12 am

administrator   ~0014151

I think I've solved this one based on the title alone, though.

GrimerX

Sep 28, 2011 12:12 am

reporter   ~0014152

In the world file, if you go to the only guarded resource, maybe you can get a repro. I'll also try and get you a dumpfile... hang on.

Chris_McElligottPark

Sep 28, 2011 12:14 am

administrator   ~0014154

No worries, all good. Dump files don't help, just the specific txt files like you posted an excerpt from there. All good!

GrimerX

Sep 28, 2011 12:15 am

reporter   ~0014157

Ah, mono+wndbg=no joy and lost the process. Have to put the kid to bed now, AFK for a bit

Chris_McElligottPark

Sep 28, 2011 12:17 am

administrator   ~0014158

No worries on the dump files -- we just delete them without looking at them, because they have line numbers and method names that are completely unrelated to our actual code thanks to our code being run inside the unity processes. So we really can't make use of them at all, in any way.

Anyway, no worries, this one is handled and I'm going to push a fix out before heading to bed myself. Cheers!

Issue History

Date Modified Username Field Change
Sep 28, 2011 12:09 am GrimerX New Issue
Sep 28, 2011 12:10 am GrimerX File Added: Totus.zip
Sep 28, 2011 12:10 am Chris_McElligottPark Note Added: 0014148
Sep 28, 2011 12:11 am GrimerX Note Added: 0014149
Sep 28, 2011 12:12 am Chris_McElligottPark Internal Weight => New
Sep 28, 2011 12:12 am Chris_McElligottPark Note Added: 0014151
Sep 28, 2011 12:12 am Chris_McElligottPark Status new => resolved
Sep 28, 2011 12:12 am Chris_McElligottPark Fixed in Version => 0.503
Sep 28, 2011 12:12 am Chris_McElligottPark Resolution open => fixed
Sep 28, 2011 12:12 am Chris_McElligottPark Assigned To => Chris_McElligottPark
Sep 28, 2011 12:12 am GrimerX Note Added: 0014152
Sep 28, 2011 12:14 am Chris_McElligottPark Note Added: 0014154
Sep 28, 2011 12:14 am Chris_McElligottPark File Deleted: Totus.zip
Sep 28, 2011 12:15 am GrimerX Note Added: 0014157
Sep 28, 2011 12:17 am Chris_McElligottPark Note Added: 0014158
Apr 14, 2014 9:27 am Chris_McElligottPark Category Bug - Crash or Exception => Crash/Exception