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

Jason Coffman

I7-4790k @4.6GHZ, MSI,Mpower Max AC, MSI Duke 1080TI, 16gb ddr3, 256 SSD(WIndows10) 128SSD(FLIGHT SIM) 1TB HHD(storage & addons)

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

You are awesome! Ill try that out when I return home!


Jason Coffman

I7-4790k @4.6GHZ, MSI,Mpower Max AC, MSI Duke 1080TI, 16gb ddr3, 256 SSD(WIndows10) 128SSD(FLIGHT SIM) 1TB HHD(storage & addons)

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.


    48%
    $12,180.00 of $25,000.00 Donate Now
×
×
  • Create New...