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

Reply
 
Thread Tools Display Modes
  #1  
Old 08-09-2012, 08:33 AM
hc_wolf hc_wolf is offline
Approved Member
 
Join Date: Jul 2010
Posts: 439
Default System.NullReferenceException: Object reference not set to an instance of an object.

Hi,

Can anyone tell me what this error in the mission log is?



[18:28:59] Loading mission ...
[18:28:59] Server: OnMissionLoaded: 7
[18:28:59] Mission loaded. time = 0.142
[18:29:36] >timeout 420 chat Welcome to the ATAG server Test mission by ATAG_Wolf. ALL
[18:29:46]
[18:29:46] =================================================
[18:29:46] System.NullReferenceException: Object reference not set to an instance of an object.
[18:29:46] at DBYThdeDnubjGViJig4.dFycZMeOVHSQyfUJVK3.maddox.cor e.MsgCollisionListener.msgCollision(rnYEZTeeDMkTZg IDwq , String , String )
[18:29:46] at 3LgnNb98HHUOxnypdyW.Xwx0RV9CbhPwxUntbGy.1Yk6zsYmdf w(Object )
[18:29:46] at eqER1x60txt4AbwUKnw.s3bV556Ux20bbPSxAnE.80fkmS9XZJ (Object )
[18:29:46] =================================================
[18:29:46]
[18:29:46] =================================================
[18:29:46] System.NullReferenceException: Object reference not set to an instance of an object.
[18:29:46] at DBYThdeDnubjGViJig4.dFycZMeOVHSQyfUJVK3.maddox.cor e.MsgCollisionListener.msgCollision(rnYEZTeeDMkTZg IDwq , String , String )
[18:29:46] at 3LgnNb98HHUOxnypdyW.Xwx0RV9CbhPwxUntbGy.1Yk6zsYmdf w(Object )
[18:29:46] at eqER1x60txt4AbwUKnw.s3bV556Ux20bbPSxAnE.80fkmS9XZJ (Object )
[18:29:46] =================================================
__________________
__________________
Win7, 64bit Ultra
Asus P8P67Pro MB
Intel i7-2600K
Coursair 16GB (4x 4GB), DDR3-1600MHz
Gainward Nvidia 580GTX 3GB DDR5
850-Watt Modular Power Supply
WIN7 and COD on Gskill SSD 240GB
40" Panasonic LCD
TrackIR5 +
Thrustmaster Warthog stick, throttle & pedals
Reply With Quote
  #2  
Old 08-09-2012, 08:39 AM
salmo salmo is offline
Approved Member
 
Join Date: Mar 2011
Posts: 632
Default

Two possibilities:
(1) Looks like it's in the collisionlistener class. May be a hard-code bug, not a bug in your script.

or

(2) You have a null object in sub-mission 7 that's throwing an error when the mission loads. Look in the mission file & any script for the mission & see if you have any odd objects there.
__________________
When one engine fails on a two engine bomber, you will always have enough power left to get to the scene of the crash.

Get the latest COD Team Fusion patch info HERE

Last edited by salmo; 08-09-2012 at 08:42 AM.
Reply With Quote
  #3  
Old 08-10-2012, 04:25 AM
hc_wolf hc_wolf is offline
Approved Member
 
Join Date: Jul 2010
Posts: 439
Default

Thanks Salmo,

I had a look and I could see I was calling a random on 7 missions when there were 15 in the mix. so i changed the 7 to 16.

CurrentMissionGroundSelected = RandomIncidentMainMissionGround.Next(1, 7);

CurrentMissionGroundSelected = RandomIncidentMainMissionGround.Next(1, 16);

I also had a Bool trigger missing in another group.

Pactive = true; // this was missing

This should be it. There were no objects in the .mis files.
__________________
__________________
Win7, 64bit Ultra
Asus P8P67Pro MB
Intel i7-2600K
Coursair 16GB (4x 4GB), DDR3-1600MHz
Gainward Nvidia 580GTX 3GB DDR5
850-Watt Modular Power Supply
WIN7 and COD on Gskill SSD 240GB
40" Panasonic LCD
TrackIR5 +
Thrustmaster Warthog stick, throttle & pedals
Reply With Quote
Reply


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 08:59 AM.


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