Jump to content

Sign in to follow this  

Aerosoft sceneries generate unhandled exception error

Recommended Posts

Hi Oliver,

I'm running v1.04 of Addon Organizer. I've installed several Aerosoft sceneries that have been updated for P3D v4. I've followed the install directions provided by the installers. These sceneries appear in the scenery.cfg and are light green in the Scenery tab of Addon Organizer. If I highlight any of these sceneries and then press the "Edit scenery" button, I get a window that says there's been an "unhandled exception." This only happens with Aerosoft sceneries. All other scenery entries can be edited. All these uneditable Aerosoft sceneries are installed by default into an Aerosoft folder inn Ecosystem folder in the main P3D v4 folder.

At the moment I have no need to edit these sceneries. But I did notice this error and thought I'd pass it on to you. Below is the full text of the Details provided in the error window.


Text of Details of Error Message:

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at P3DV4AddonOrganizer.EditScenery..ctor(SceneryElement toEdit)
   at P3DV4AddonOrganizer.MainDialog.bEditScenery_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


Robert Chartoff

Share this post

Link to post
Share on other sites

Hello Robert,

many thanks for the heads up - the issue will be corrected in 1.05. I am thinking about a feature to move a scenery definition from the cfg into an xml and back and want to implement this before releasing the next version, but it wont be too long I hope.

Btw. this error should happen with all sceneries that are in the scenery.cfg.

Best regards


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online

  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
  • Donation Goals

    AVSIM's 2020 Fundraising Goal

    Donate to our annual general fundraising goal. This donation keeps our doors open and providing you service 24 x 7 x 365. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. We reset this goal every new year for the following year's goal.

    $11,465.00 of $25,000.00 Donate Now
  • Create New...