Jump to content
Sign in to follow this  
JasonC

P4AO 1.31b02 Unhandled Exception

Recommended Posts

Good Afternoon. Having Trouble with Addon Organizer today. I keep getting and unhandled exception when trying to export scenery for external tool. Export aircraft is working just fine just can't get Export Library for External Tool to work. The Exception naturally creates a blank Scenery file however it does go through the steps of saving the current scenery file before the Null Object happens. Any Help would be great.

 

 

********* Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at P3DV4AddonOrganizer.SceneryElement.ExportToSceneryCfg(StreamWriter writer, Int32 index)
   at P3DV4AddonOrganizer.SceneryExporter.bExport_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)


[snip]

Edited by Lorby_SI

Share this post


Link to post
Share on other sites

Hi,

these are usually caused by invalid scenery.cfg entries. Check your (actual) scenery.cfg if there are areas that have no path tag (Local and/or Remote).

Best regards


LORBY-SI

Share this post


Link to post
Share on other sites

... if you can't locate the invalid elements, please try the new P4AO version 1.31 b03. It should catch those exceptions and show you a list of the invalid entries - if it can.

Best regards


LORBY-SI

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.
×
×
  • Create New...