Page 1 of 1

[FIXED B906.15] SR7 - Exception message on DB viewer

Posted: Thu Feb 09, 2017 5:37 pm
by AlGrant
Some info on the issue first reported here http://www.matrixgames.com/forums/fb.asp?m=4232704

Following errors seen with DB459 & 460

When viewing Aircraft in DB viewer
Image

When attempting to add aircraft in Editor
Image

Following info seen in ExceptionLog.txt
=============================================================================

2/9/2017 8:34:22 PM -- B906.14 -- Conversion from type 'DBNull' to type 'Single' is not valid.
Exception: Conversion from type 'DBNull' to type 'Single' is not valid.
Stack Trace: at Microsoft.VisualBasic.CompilerServices.Conversions.ToSingle(Object Value, NumberFormatInfo NumberFormat)
at Microsoft.VisualBasic.CompilerServices.Conversions.ToSingle(Object Value)
at Command_Core.DAL.DBFunctions.(Scenario& theScen, Aircraft& theAircraft, Int32 AircraftDBID, Boolean LoadComponents)
at Command_Core.Scenario.(Side theSide, String theName, Double Longitude, Double Latitude, Int32 AircraftDBID, Int32 LoadoutID, Single Altitude, String theGUID)
Call Stack & Error details:
Error at 101034,

=============================================================================

Edit: Save game sent to Sunburn via PM



RE: SR7 - Exception message on DB viewer

Posted: Thu Feb 09, 2017 6:01 pm
by mikkey
Under B906.14 I have similar error messages. It can not be due to template file for aircraft "Aircraft.html"?

RE: SR7 - Exception message on DB viewer

Posted: Thu Feb 09, 2017 6:37 pm
by Rory Noonan
Same here

RE: SR7 - Exception message on DB viewer

Posted: Thu Feb 09, 2017 6:44 pm
by mikmykWS
Thanks All. Added as a priority issue.

Mike

RE: SR7 - Exception message on DB viewer

Posted: Thu Feb 09, 2017 7:05 pm
by MrGandi
Getting same error.

RE: SR7 - Exception message on DB viewer

Posted: Thu Feb 09, 2017 7:28 pm
by Zaslon
Tried to add a flying aircraft in an scenery and when I selected the loadout, same issue. Also DB viewer issue.

RE: SR7 - Exception message on DB viewer

Posted: Fri Feb 10, 2017 4:00 am
by Dimitris
Thanks, fixed in Build 906.15.

RE: SR7 - Exception message on DB viewer

Posted: Fri Feb 10, 2017 7:28 pm
by mikkey
B906.15 works okay, thanks!