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

IL-2 Sturmovik: Cliffs of Dover Latest instalment in the acclaimed IL-2 Sturmovik series from award-winning developer Maddox Games.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 05-09-2012, 01:46 PM
MD_Marx MD_Marx is offline
Registered Member
 
Join Date: May 2010
Posts: 11
Default NullReference Exceptions

Quote:
Originally Posted by JG52Uther View Post
Intersting Macro. I play with grass and roads off and am having CTD's with the new patch, with the same 'NullReferenceException: Object reference not set to an instance of an object.' error in the logfile.
Sorry for sounding 'Techy', but I call myself a 'software engineer', and I too have had CTDs with this given as a reason. Either the report is incorrect (which doesn't make it very helpful for debugging), or it's true. If true, then something is very, very seriously wrong with the initialisation code of objects, because this should NEVER be seen. There are 2 levels of object initialisation - at start-up e.g. objects within the cockpit, and the more demanding level - dynamically i.e. in-flight. I wonder if the dynamic initialisation is falling behind, out of sequence when the method on the object is called? To me, this sounds like a basic threading error; probably difficult to reproduce, but a closer look in the code design/architecture at anything that affects the completion of the initialisation thread seems to be in order. I would have thought that test code could readily be instrumented to log when an object's method is called before the initialisation is complete? It certainly suggests to me that 'defensive' programming isn't being used............


Marx
Reply With Quote
 


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 11:34 PM.


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