Skip to content

Instantly share code, notes, and snippets.

@florin141
Created July 22, 2020 01:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save florin141/c8064fe230bcb3bea6ceed870cde84be to your computer and use it in GitHub Desktop.
Save florin141/c8064fe230bcb3bea6ceed870cde84be to your computer and use it in GitHub Desktop.
System.InvalidOperationException
HResult=0x80131509
Message=There was an error reflecting type 'aero.aixm.schema._5_1_1.WorkAreaType'.
Source=System.Xml
StackTrace:
at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping(TypeModel model, String ns, ImportContext context, String dataType, XmlAttributes a, Boolean repeats, Boolean openModel, RecursionLimiter limiter)
at System.Xml.Serialization.XmlReflectionImporter.ImportElement(TypeModel model, XmlRootAttribute root, String defaultNamespace, RecursionLimiter limiter)
at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping(Type type, XmlRootAttribute root, String defaultNamespace)
at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
at System.Xml.Serialization.XmlSerializer..ctor(Type type)
at aixm_bindings_sharp.Program.Serialize[T](T obj) in C:\Users\username\Source\Repos\aixm-bindings-sharp\aixm-bindings-sharp\Program.cs:line 41
at aixm_bindings_sharp.Program.Main(String[] args) in C:\Users\username\Source\Repos\aixm-bindings-sharp\aixm-bindings-sharp\Program.cs:line 25
This exception was originally thrown at this call stack:
[External Code]
Inner Exception 1:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.AbstractAerialRefuellingAnchorExtension'.
Inner Exception 2:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.AbstractDirectFlightType'.
Inner Exception 3:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.DirectFlightClassType'.
Inner Exception 4:
InvalidOperationException: There was an error reflecting property 'Annotation'.
Inner Exception 5:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.NotePropertyType'.
Inner Exception 6:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.AerialRefuellingAnchorPropertyType'.
Inner Exception 7:
InvalidOperationException: There was an error reflecting property 'AerialRefuellingAnchor'.
Inner Exception 8:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.AerialRefuellingAnchorType'.
Inner Exception 9:
InvalidOperationException: There was an error reflecting property 'Extent'.
Inner Exception 10:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.SurfacePropertyType'.
Inner Exception 11:
InvalidOperationException: There was an error reflecting property 'Surface'.
Inner Exception 12:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.SurfaceType'.
Inner Exception 13:
InvalidOperationException: There was an error reflecting type 'net.opengis.gml._3.AbstractCurveType'.
Inner Exception 14:
InvalidOperationException: There was an error reflecting type 'net.opengis.gml._3.AbstractRingType'.
Inner Exception 15:
InvalidOperationException: There was an error reflecting type 'net.opengis.gml._3.LinearRingType'.
Inner Exception 16:
InvalidOperationException: There was an error reflecting property 'PointProperty'.
Inner Exception 17:
InvalidOperationException: There was an error reflecting type 'net.opengis.gml._3.PointPropertyType'.
Inner Exception 18:
InvalidOperationException: There was an error reflecting property 'Point'.
Inner Exception 19:
InvalidOperationException: There was an error reflecting type 'net.opengis.gml._3.PointType'.
Inner Exception 20:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.ElevatedPointType'.
Inner Exception 21:
InvalidOperationException: There was an error reflecting property 'Extension'.
Inner Exception 22:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.ElevatedPointTypeExtension'.
Inner Exception 23:
InvalidOperationException: There was an error reflecting property 'AbstractElevatedPointExtension'.
Inner Exception 24:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.extensions.eur.adr.AirspaceExtensionType'.
Inner Exception 25:
InvalidOperationException: There was an error reflecting property 'Nearby'.
Inner Exception 26:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.RoutePortionPropertyType'.
Inner Exception 27:
InvalidOperationException: There was an error reflecting property 'RoutePortion'.
Inner Exception 28:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.RoutePortionType'.
Inner Exception 29:
InvalidOperationException: There was an error reflecting property 'Extension'.
Inner Exception 30:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.RoutePortionTypeExtension'.
Inner Exception 31:
InvalidOperationException: There was an error reflecting property 'AbstractRoutePortionExtension'.
Inner Exception 32:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.extensions.eur.adr.AirspaceActivationExtensionType'.
Inner Exception 33:
InvalidOperationException: There was an error reflecting property 'FuaRestriction'.
Inner Exception 34:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.extensions.eur.adr.FUARestrictionActivationPropertyType'.
Inner Exception 35:
InvalidOperationException: There was an error reflecting property 'FUARestrictionActivation'.
Inner Exception 36:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.extensions.eur.adr.FUARestrictionActivationType'.
Inner Exception 37:
InvalidOperationException: There was an error reflecting property 'Extension'.
Inner Exception 38:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.extensions.eur.adr.FUARestrictionActivationTypeExtension'.
Inner Exception 39:
InvalidOperationException: There was an error reflecting property 'AbstractFUARestrictionActivationExtension'.
Inner Exception 40:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.extensions.eur.adr.DesignatedPointExtensionType'.
Inner Exception 41:
InvalidOperationException: There was an error reflecting property 'PointUsage'.
Inner Exception 42:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.extensions.eur.adr.PointUsagePropertyType'.
Inner Exception 43:
InvalidOperationException: There was an error reflecting property 'PointUsage'.
Inner Exception 44:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.extensions.eur.adr.PointUsageType'.
Inner Exception 45:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.AirportHeliportAvailabilityType'.
Inner Exception 46:
InvalidOperationException: There was an error reflecting property 'TimeInterval'.
Inner Exception 47:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.TimesheetPropertyType'.
Inner Exception 48:
InvalidOperationException: There was an error reflecting property 'Timesheet'.
Inner Exception 49:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.TimesheetType'.
Inner Exception 50:
InvalidOperationException: There was an error reflecting property 'Extension'.
Inner Exception 51:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.TimesheetTypeExtension'.
Inner Exception 52:
InvalidOperationException: There was an error reflecting property 'AbstractTimesheetExtension'.
Inner Exception 53:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.extensions.eur.adr.FlightConditionElementExtensionType'.
Inner Exception 54:
InvalidOperationException: There was an error reflecting property 'BorderCrossingCondition'.
Inner Exception 55:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.extensions.eur.adr.AirspaceBorderCrossingObjectPropertyType'.
Inner Exception 56:
InvalidOperationException: There was an error reflecting property 'AirspaceBorderCrossingObject'.
Inner Exception 57:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.extensions.eur.adr.AirspaceBorderCrossingObjectType'.
Inner Exception 58:
InvalidOperationException: There was an error reflecting property 'Extension'.
Inner Exception 59:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.extensions.eur.adr.AirspaceBorderCrossingObjectTypeExtension'.
Inner Exception 60:
InvalidOperationException: There was an error reflecting property 'AbstractAirspaceBorderCrossingObjectExtension'.
Inner Exception 61:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.extensions.eur.adr.ProcedureExtensionType'.
Inner Exception 62:
InvalidOperationException: There was an error reflecting property 'HasSynonym'.
Inner Exception 63:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.extensions.eur.adr.SynonymPropertyType'.
Inner Exception 64:
InvalidOperationException: There was an error reflecting property 'Synonym'.
Inner Exception 65:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.extensions.eur.adr.SynonymType'.
Inner Exception 66:
InvalidOperationException: There was an error reflecting property 'Extension'.
Inner Exception 67:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.extensions.eur.adr.SynonymTypeExtension'.
Inner Exception 68:
InvalidOperationException: There was an error reflecting property 'AbstractSynonymExtension'.
Inner Exception 69:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.extensions.eur.adr.RoutePortionExtensionType'.
Inner Exception 70:
InvalidOperationException: There was an error reflecting property 'IntermediatePoint'.
Inner Exception 71:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.extensions.eur.adr.IntermediateSignificantPointPropertyType'.
Inner Exception 72:
InvalidOperationException: There was an error reflecting property 'IntermediateSignificantPoint'.
Inner Exception 73:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.extensions.eur.adr.IntermediateSignificantPointType'.
Inner Exception 74:
InvalidOperationException: There was an error reflecting property 'Extension'.
Inner Exception 75:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.extensions.eur.adr.IntermediateSignificantPointTypeExtension'.
Inner Exception 76:
InvalidOperationException: There was an error reflecting property 'AbstractIntermediateSignificantPointExtension'.
Inner Exception 77:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.extensions.eur.adr.RouteSegmentExtensionType'.
Inner Exception 78:
InvalidOperationException: There was an error reflecting property 'VerticalLimit'.
Inner Exception 79:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.extensions.eur.adr.RouteSegmentVerticalLimitPropertyType'.
Inner Exception 80:
InvalidOperationException: There was an error reflecting property 'RouteSegmentVerticalLimit'.
Inner Exception 81:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.extensions.eur.adr.RouteSegmentVerticalLimitType'.
Inner Exception 82:
InvalidOperationException: There was an error reflecting property 'Range'.
Inner Exception 83:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.AirspaceLayerPropertyType'.
Inner Exception 84:
InvalidOperationException: There was an error reflecting property 'AirspaceLayer'.
Inner Exception 85:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.AirspaceLayerType'.
Inner Exception 86:
InvalidOperationException: There was an error reflecting property 'Extension'.
Inner Exception 87:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.AirspaceLayerTypeExtension'.
Inner Exception 88:
InvalidOperationException: There was an error reflecting property 'AbstractAirspaceLayerExtension'.
Inner Exception 89:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.extensions.eur.adr.StandardInstrumentArrivalExtensionType'.
Inner Exception 90:
InvalidOperationException: There was an error reflecting property 'ConnectingPoint'.
Inner Exception 91:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.TerminalSegmentPointPropertyType'.
Inner Exception 92:
InvalidOperationException: There was an error reflecting property 'TerminalSegmentPoint'.
Inner Exception 93:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.TerminalSegmentPointType'.
Inner Exception 94:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.AerialRefuellingPointType'.
Inner Exception 95:
InvalidOperationException: There was an error reflecting property 'Extension'.
Inner Exception 96:
InvalidOperationException: There was an error reflecting type 'aero.aixm.schema._5_1_1.AerialRefuellingPointTypeExtension'.
Inner Exception 97:
InvalidOperationException: There was an error reflecting property 'AbstractAerialRefuellingPointExtension'.
Inner Exception 98:
InvalidOperationException: The XML element 'AircraftCharacteristicExtension' from namespace 'http://www.aixm.aero/schema/5.1.1/extensions/EUR/ADR' is already present in the current scope. Use XML attributes to specify another XML name or namespace for the element.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment