[FIXED B906.15] SR7 - Exception message on DB viewer
Posted: Thu Feb 09, 2017 5:37 pm
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
When attempting to add aircraft in Editor

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
Following errors seen with DB459 & 460
When viewing Aircraft in DB viewer
When attempting to add aircraft in Editor
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