Visit Captain Sim web site  
  Welcome, Guest. Please Login or Register

 

Page Index Toggle Pages: 1 Send TopicPrint
 10 What can happen when you add liveries manually (Read 1744 times)
jasonboche
Full Member
*
Offline



Posts: 53
Joined: May 7th, 2020
What can happen when you add liveries manually
May 13th, 2020 at 6:45pm
Print Post  
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 | 80 Downloads )
2020-05-13_13-35-53.jpg
Back to top
 
IP Logged
 
jasonboche
Full Member
*
Offline



Posts: 53
Joined: May 7th, 2020
Re: ACE Unhandled exception
Reply #1 - May 13th, 2020 at 6:46pm
Print Post  
ps. Thank you developers for a fine product thus far. I'm enjoying the 767 II
  
Back to top
 
IP Logged
 
Captain Sim
CS Team
*
Offline



Posts: 4245
Joined: Nov 7th, 2005
Re: ACE Unhandled exception
Reply #2 - May 13th, 2020 at 7:27pm
Print Post  
Thank you!
Pls copy and post the entire error message (ctrl+C)
  
Back to top
IP Logged
 
jasonboche
Full Member
*
Offline



Posts: 53
Joined: May 7th, 2020
Re: ACE Unhandled exception
Reply #3 - May 13th, 2020 at 10:25pm
Print Post  
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/ac
e/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__b77a5c56
1934e089/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__b77
a5c561934e089/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__b77a
5c561934e089/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__b
03f5f7f11d50a3a/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.


  
Back to top
 
IP Logged
 
EY
CS Team
*
Offline



Posts: 356
Location: Canada
Joined: Nov 9th, 2005
Gender: Male
Re: ACE Unhandled exception
Reply #4 - May 14th, 2020 at 12:46am
Print Post  
After launching the ACE, what exactly are you doing, step by step?
  

Back to top
IP Logged
 
jasonboche
Full Member
*
Offline



Posts: 53
Joined: May 7th, 2020
Re: ACE Unhandled exception
Reply #5 - May 14th, 2020 at 12:51am
Print Post  
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.
  
Back to top
 
IP Logged
 
EY
CS Team
*
Offline



Posts: 356
Location: Canada
Joined: Nov 9th, 2005
Gender: Male
Re: ACE Unhandled exception
Reply #6 - May 14th, 2020 at 2:34pm
Print Post  
Please attach your aircraft.cfg here
  

Back to top
IP Logged
 
jasonboche
Full Member
*
Offline



Posts: 53
Joined: May 7th, 2020
Re: ACE Unhandled exception
Reply #7 - May 14th, 2020 at 10:03pm
Print Post  
[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

  
Back to top
 
IP Logged
 
jasonboche
Full Member
*
Offline



Posts: 53
Joined: May 7th, 2020
Re: ACE Unhandled exception
Reply #8 - May 14th, 2020 at 10:30pm
Print Post  
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.
  
Back to top
 
IP Logged
 
EY
CS Team
*
Offline



Posts: 356
Location: Canada
Joined: Nov 9th, 2005
Gender: Male
Re: ACE Unhandled exception
Reply #9 - May 14th, 2020 at 10:30pm
Print Post  
Thanks!

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

model=
panel=
sound=
  

Back to top
IP Logged
 
jasonboche
Full Member
*
Offline



Posts: 53
Joined: May 7th, 2020
Re: ACE Unhandled exception
Reply #10 - May 14th, 2020 at 10:41pm
Print Post  
Thank you kindly - great support!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint
 
  « Board Index ‹ Board  ^Top