Jump to content

error log

Recommended Posts

got another one. after i found out the system doesn't like the 8.33 stuff.

Input string was not in a correct format.
   at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
   at System.Int32.Parse(String s)
   at vatsys.LogicalPositions.Load()
   at vatsys.MainForm..ctor()
   at vatsys.Program.Main()

Link to post
Share on other sites

getting an iso string error
Object reference not set to an instance of an object.
   at vatsys.Coordinate.ParseIsoString(String isoStr)
   at vatsys.Coordinate..ctor(String isoString)
   at vatsys.Airspace2.LoadNavData()
   at vatsys.MainForm..ctor()
   at vatsys.Program.Main()

however i am not entirely sure what the error could be.

Link to post
Share on other sites
On 9/11/2020 at 4:25 AM, Jake Saw said:

ParseIsoString is it failing to parse a Coordinate, and given it's Airspace2 it'll be in Airspace.xml somewhere

i looked at the file but cannot see any error.  only thing is there are some repeated iso values but i caannot imagine that causing the a fore mentioned issue.

Link to post
Share on other sites
1 hour ago, Jake Saw said:


The majority of your longitudes are not in the correct format


Should be:


(longitude must be 3 digit degrees)

These data came from your program to convert sct to xml. That output is what I used in an excel sheet to get my dataset.

online i found, https://www.w3.org/2005/Incubator/geo/Wiki/LatitudeLongitudeAltitude . which matches up with all coordinates.

   Latitude and Longitude in Degrees:
      ±DD.DDDD±DDD.DDDD/         (eg +12.345-098.765/)
   Latitude and Longitude in Degrees and Minutes:
      ±DDMM.MMMM±DDDMM.MMMM/     (eg +1234.56-09854.321/)
   Latitude and Longitude in Degrees, Minutes and Seconds:
      ±DDMMSS.SSSS±DDDMMSS.SSSS/ (eg +123456.7-0985432.1/
Edited by Koen Meier
Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now
  • Create New...