Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik: Cliffs of Dover > FMB, Mission & Campaign builder Discussions

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-12-2012, 11:23 PM
Smokeynz Smokeynz is offline
Approved Member
 
Join Date: Apr 2011
Posts: 106
Default Null exception

@ kodiak or others who could ponder an issue.

We have been noticing after a mission is running for a while(it isnt consistant) we see a null exception error

System.NullReferenceException: Object reference not set to an instance of an object. at(blah blah CLOD code references)

I've been pondering if the reference is actually objects or lists of objects as Ai aircraft that are destroyed through despawner type methods. However the list reference is not completely cleared or purged from the system operating memory. Or if you have dual conditions to call a despawner, say at the completion of a path and time period, whre the object completes the path, the timer reference carries on and looks for the object when times up, and when the object does not exsist anymore and thus the exception.

The question is, is what I discribe a possibility, then if so, how do we purge the references. I was wondering if despawners should despawn the mission number they spawn in on.

Last edited by Smokeynz; 03-13-2012 at 05:56 AM.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:13 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.