CAPTAIN SIM FORUM
767 Captain II (P3D4) >> 767 Captain II - GeneralĀ  >> What can happen when you add liveries manually
https://www.captainsim.org/forum/csf.pl?num=1589395503

Message started by jasonboche on May 13th, 2020 at 6:45pm

Title: What can happen when you add liveries manually
Post by jasonboche on May 13th, 2020 at 6:45pm
I'm receiving an Unhandled Exception error when launching ACE to try new liveries.

I've tried launching normally.
I've tried launching as administrator.
I've tried launching normally with antivirus shields disabled for 1 hour.
I've tried launching as administrator with antivirus shields disabled for 1 hour.

If I click Continue the program launches and I can see liveries but they fail to install when I click download. Another Unhandled exception occurs after that.
2020-05-13_13-35-53.jpg ( 83 KB | 81 Downloads )

Title: Re: ACE Unhandled exception
Post by jasonboche on May 13th, 2020 at 6:46pm
ps. Thank you developers for a fine product thus far. I'm enjoying the 767 II

Title: Re: ACE Unhandled exception
Post by Captain Sim on May 13th, 2020 at 7:27pm
Thank you!
Pls copy and post the entire error message (ctrl+C)

Title: Re: ACE Unhandled exception
Post by jasonboche on May 13th, 2020 at 10:25pm
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 WindowsFormsApp1.Livery..ctor(String sectionName, String fileAircraft, IniSection fltsim)
   at WindowsFormsApp1.FormAce.DumpLiveryList()
   at WindowsFormsApp1.FormAce.FormAce_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4010.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
ace_767
    Assembly Version: 1.0.7437.25509
    Win32 Version: 0.9.5.23
    CodeBase: file:///E:/Program%20Files/Lockheed%20Martin/Prepar3D%20v4/Captain_Sim/767-II/ace/ace_767.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.



Title: Re: ACE Unhandled exception
Post by EY on May 14th, 2020 at 12:46am
After launching the ACE, what exactly are you doing, step by step?

Title: Re: ACE Unhandled exception
Post by jasonboche on May 14th, 2020 at 12:51am
I don't get that far before the error pops up.

1) Launch ACE
2) Error presents itself and waits for prompt to Continue or Quit.
3a) If I quit, the program doesn't finish launching.
3b) If I Continue, ACE finishes loading and gives the option to download 767 liveries from a pulldown menu. If I proceed to download, more errors like the one above occur and the livery never installs. So even though I can Continue from the first error, the program doesn't fully function or recover.

Title: Re: ACE Unhandled exception
Post by EY on May 14th, 2020 at 2:34pm
Please attach your aircraft.cfg here

Title: Re: ACE Unhandled exception
Post by jasonboche on May 14th, 2020 at 10:03pm
[fltsim.0]
title=CS 767-300ER Captain Sim House 2020 1
sim=cs767-300ER_PW4060
model=
panel=
sound=
texture=CS.2020
kb_checklists=
kb_reference=
atc_id=CSY763
atc_airline=CAPTAINSIM
atc_flight_number=CS767
atc_model=B763
atc_heavy=1
atc_parking_types=GATE,RAMP
ui_manufacturer=Boeing
ui_type=767-300ER PW4060
ui_variation=Captain Sim House 2020
ui_typerole=Commercial Airliner
ui_createdby=Captain Sim
ui_wglts=0
ui_ants=4095
sizek=4
description=Boeing 767-300ER (767 Captain II Base Pack)

[fltsim.1]
ui_variation=CS 767-332ER Delta Airlines (N1201P)
atc_id=N1201P
atc_airline=DELTA
atc_flight_number=767
description=Livery by Jviation | Boeing 767-300ER (767 Captain II Base Pack 1.0) - inibuilds.com
ui_ants=1067
ui_wglts=1
sizek=4
ui_type=767-300ER PW4060
atc_model=B763
sim=cs767-300ER_PW4060w
title=CS 767-332ER Delta Airlines (N1201P)
texture=n1201p

[fltsim.2]
ui_variation=CS 767-33AER Hawaiian Airlines (N582HA)
atc_id=N582HA
atc_airline=Hawaiian
atc_flight_number=767
description=Boeing 767-300ER (767 Captain II Base Pack 1.0) - inibuilds.com
ui_ants=1385
ui_wglts=1
sizek=4
ui_type=767-300ER PW4060
atc_model=B763
sim=cs767-300ER_PW4060w
title=CS 767-33AER Hawaiian Airlines (N582HA)
texture=hawaiiann582ha

[General]
atc_type=BOEING
atc_model=B763
editable=1
performance=PW4060 60,000 lbf (267 kN) x 2
Category=airplane


Title: Re: ACE Unhandled exception
Post by jasonboche on May 14th, 2020 at 10:30pm

EY wrote on May 14th, 2020 at 2:34pm:
Please attach your aircraft.cfg here


It looks like you're on to something here. I removed the 2 manually added aircraft paints and ACE opens without an error now.

Title: Re: ACE Unhandled exception
Post by EY on May 14th, 2020 at 10:30pm
Thanks!

Add the following strings to your [fltsim.2] section

model=
panel=
sound=

Title: Re: ACE Unhandled exception
Post by jasonboche on May 14th, 2020 at 10:41pm
Thank you kindly - great support!

CAPTAIN SIM FORUM » Powered by YaBB 2.6.0!
YaBB Forum Software © 2000-2024. All Rights Reserved.