- Messages
- 33
- Country
I'm having a slight problem with the new 0.91.2628 update. I was able to open APX25160 in the 0302 folder just fine with SDE 0.91.2624, but when I try to open the same .bgl after installing the new jmFlightSimLib.dll file, I get the following error message:
Decompiler Output...
. 3284 39672 13 ... Airport
. 42956 37820 13 ... Airport
. 80776 29216 8 ... Airport
. 109992 24764 13 ... Airport
. 134756 10440 10 ... Airport
. 145196 20356 4 ... Airport
. 165552 20844 6 ... Airport
. 186396 11376 5 ... Airport
. 197772 57232 28 ... Airport
. 255004 48308 19 ... Airport
. 303312 106224 31 ... Airport
. 409536 85796 25 ... Airport
. 495332 100480 29 ... Airport
. 595812 45328 17 ... Airport
. 641140 90844 27 ... Airport
. 731984 258084 23 ... Airport
ByteArray Error Exception of type 'System.OutOfMemoryException' was thrown.
ByteArray Error Exception of type 'System.OutOfMemoryException' was thrown.
ByteArray Error Exception of type 'System.OutOfMemoryException' was thrown.
ByteArray Error Exception of type 'System.OutOfMemoryException' was thrown.
=======Error Caught========
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.BitConverter.ToInt16(Byte[] value, Int32 startIndex)
at ScruffyDuck.Flightsim.Scenery.SceneryObject.AirportRecord.Runway.Decompile(Byte[] rawdata)
at ScruffyDuck.Flightsim.Scenery.SceneryObject.AirportRecord.Runway..ctor(String objectName, Byte[] rawdata, Int32 offset, SceneryBase parent)
at ScruffyDuck.Flightsim.Scenery.SceneryObject.Airport.Decompile(Byte[] rawdata)
at ScruffyDuck.Flightsim.Scenery.SceneryObject.Airport..ctor(String objectName, Byte[] rawdata, Int32 offset, SceneryBase parent)
at ScruffyDuck.Flightsim.Scenery.SceneryFile.ObjectFactory.New(String newType, String newName, Byte[] rawdata, Int32 offset, SceneryBase parent)
at ScruffyDuck.Flightsim.Scenery.SceneryFile.ObjectFactory.New(SceneryObjectType newType, String newName, Byte[] rawdata, Int32 offset, SceneryBase parent)
at ScruffyDuck.Flightsim.Scenery.SceneryFile.SceneryFile.processAirport(Int32 pointer)
at ScruffyDuck.Flightsim.Scenery.SceneryFile.SceneryFile.processGeneralSection(SectionPointer currentSection)
at ScruffyDuck.Flightsim.Scenery.SceneryFile.SceneryFile.decompileFull()
at ScruffyDuck.Flightsim.Scenery.SceneryFile.SceneryFile.Decompile(DecompileType decompileType)
==========
If I replace the newer jmFlightSimLib.dll file with the old one, it opens again with no problems. Any clue on what the problem could be?
Decompiler Output...
. 3284 39672 13 ... Airport
. 42956 37820 13 ... Airport
. 80776 29216 8 ... Airport
. 109992 24764 13 ... Airport
. 134756 10440 10 ... Airport
. 145196 20356 4 ... Airport
. 165552 20844 6 ... Airport
. 186396 11376 5 ... Airport
. 197772 57232 28 ... Airport
. 255004 48308 19 ... Airport
. 303312 106224 31 ... Airport
. 409536 85796 25 ... Airport
. 495332 100480 29 ... Airport
. 595812 45328 17 ... Airport
. 641140 90844 27 ... Airport
. 731984 258084 23 ... Airport
ByteArray Error Exception of type 'System.OutOfMemoryException' was thrown.
ByteArray Error Exception of type 'System.OutOfMemoryException' was thrown.
ByteArray Error Exception of type 'System.OutOfMemoryException' was thrown.
ByteArray Error Exception of type 'System.OutOfMemoryException' was thrown.
=======Error Caught========
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.BitConverter.ToInt16(Byte[] value, Int32 startIndex)
at ScruffyDuck.Flightsim.Scenery.SceneryObject.AirportRecord.Runway.Decompile(Byte[] rawdata)
at ScruffyDuck.Flightsim.Scenery.SceneryObject.AirportRecord.Runway..ctor(String objectName, Byte[] rawdata, Int32 offset, SceneryBase parent)
at ScruffyDuck.Flightsim.Scenery.SceneryObject.Airport.Decompile(Byte[] rawdata)
at ScruffyDuck.Flightsim.Scenery.SceneryObject.Airport..ctor(String objectName, Byte[] rawdata, Int32 offset, SceneryBase parent)
at ScruffyDuck.Flightsim.Scenery.SceneryFile.ObjectFactory.New(String newType, String newName, Byte[] rawdata, Int32 offset, SceneryBase parent)
at ScruffyDuck.Flightsim.Scenery.SceneryFile.ObjectFactory.New(SceneryObjectType newType, String newName, Byte[] rawdata, Int32 offset, SceneryBase parent)
at ScruffyDuck.Flightsim.Scenery.SceneryFile.SceneryFile.processAirport(Int32 pointer)
at ScruffyDuck.Flightsim.Scenery.SceneryFile.SceneryFile.processGeneralSection(SectionPointer currentSection)
at ScruffyDuck.Flightsim.Scenery.SceneryFile.SceneryFile.decompileFull()
at ScruffyDuck.Flightsim.Scenery.SceneryFile.SceneryFile.Decompile(DecompileType decompileType)
==========
If I replace the newer jmFlightSimLib.dll file with the old one, it opens again with no problems. Any clue on what the problem could be?