October 16, 20214 yr Hi! Sorry about my English! I want to use the program and am currently working with the trial version. Until yesterday everything was fine and I even made a flight. The program worked great! But today the program refused to work! It starts, but instead of a MAP - a black screen! And there are no buttons on the map screen and flight planner screen. If I click on the FPL button at the top of the right column, the buttons appear on the planner screen, but if I press it again and there is one window in the program and nothing else can be done with it! I was trying to reinstall the program with the data saved. Completely reinstalled the program to clean (deleted all folders from the program, including in Roaming prog folder). I tried to install the program and then install the update! Nothing helped! Every time after launch, the same thing happens (what I described above). Sorry! But I was looking for a similar situation on this forum for someone else (I've seen threads with "black-MAP window", but that's not it!), but I could not find a solution to my problem (I've tried resizing the program window. Did the restore of the window. I tried manipulating with arrow in the lower left corner of the program (near COM buttons)! Nothing!!! Spoiler http:// http:// Spoiler My log file: "P2A_2020_Trace_File1.log" if it help/ Program StartedPilot 2 ATC (P2A) - version 2.6.2.3_x64_R2 10/16/2021 16:32:12 Trying to create DB_Dyno. DB_Dyno created successfully. Init 15% done. Trying to create DB_Base. DB_Base created successfully. Application frmP2AMain starting 10/16/2021 16:32:40 Loading Joystick Devices - 8 devices loaded. Loading Form Main form opened: Pilot2ATC 2020 v. 2.6.2.3_x64_R2 Navigraph - AIRAC cycle: 2110 Loading Joystick Devices - 8 devices loaded. Loading Joystick Devices - 8 devices loaded. Loading Joystick Devices - 8 devices loaded. Loading Joystick Devices - 8 devices loaded. Joystick Device number 0 successfully activated. Error in frmP2AMain Load System.NullReferenceException: Object reference not set to an instance of an object. at System.Speech.Internal.Helpers.CompareInvariantCulture(CultureInfo culture1, CultureInfo culture2) at System.Speech.Internal.Synthesis.VoiceSynthesis.CalcMatchValue(CultureInfo culture, VoiceGender gender, VoiceAge age, VoiceInfo voiceInfo) at System.Speech.Internal.Synthesis.VoiceSynthesis.MatchVoice(InstalledVoice defaultTokenInfo, CultureInfo culture, VoiceGender gender, VoiceAge age, Int32 variant, List`1 tokensInfo) at System.Speech.Internal.Synthesis.VoiceSynthesis.MatchVoice(CultureInfo culture, VoiceGender gender, VoiceAge age, Int32 variant, Boolean switchContext, InstalledVoice& viDefault) at System.Speech.Internal.Synthesis.VoiceSynthesis.GetEngineWithVoice(TTSVoice defaultVoice, VoiceInfo defaultVoiceId, String name, CultureInfo culture, VoiceGender gender, VoiceAge age, Int32 variant, Boolean switchContext) at System.Speech.Synthesis.SpeechSynthesizer.SelectVoiceByHints(VoiceGender gender, VoiceAge age, Int32 voiceAlternate, CultureInfo culture) at P2A_2020.modTTSGlobal.gPilotVoiceChanged() at P2A_2020.frmP2AMain.c3e25b757a7fa4d178b5e3d21b153338e() at P2A_2020.frmP2AMain.c424c0727d8265a54a468474462fc820d() at P2A_2020.frmP2AMain.c4acddb6593079e134d55e579f4382726(Object cb25b07786a6e786dea76cf87175f59f0, EventArgs cb4d4bf05d278f00a41fc902f6c5d26a2) Object reference not set to an instance of an object. at P2A_2020.frmP2AMain.c626e81fd52aa4d71cdc91e3e88956a80() at P2A_2020.frmP2AMain.cebdff24ebb3c0f2b7c5bf7e49b6ba509(Object cb25b07786a6e786dea76cf87175f59f0, EventArgs cb4d4bf05d278f00a41fc902f6c5d26a2) 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) Object reference not set to an instance of an object. at P2A_2020.frmP2AMain.c626e81fd52aa4d71cdc91e3e88956a80() at P2A_2020.frmP2AMain.cebdff24ebb3c0f2b7c5bf7e49b6ba509(Object cb25b07786a6e786dea76cf87175f59f0, EventArgs cb4d4bf05d278f00a41fc902f6c5d26a2) 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) Object reference not set to an instance of an object. at P2A_2020.frmP2AMain.c626e81fd52aa4d71cdc91e3e88956a80() at P2A_2020.frmP2AMain.cebdff24ebb3c0f2b7c5bf7e49b6ba509(Object cb25b07786a6e786dea76cf87175f59f0, EventArgs cb4d4bf05d278f00a41fc902f6c5d26a2) 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) Application frmP2AMain ended normally 10/16/2021 17:01:39 Object of type SlimDX.DirectInput.Joystick was not disposed. Stack trace of object creation: Total of 1 objects still alive. Thanks for any help! Edited October 16, 20214 yr by AndrewZAP1977
October 16, 20214 yr Commercial Member It would appear from the error message that P2A is not finding any SAPI5 Desktop voices available. It is not even able to load a voice by letting Windows pick the voice. What Windows Desktop voices do you have installed? Dave
October 16, 20214 yr Author Dave! Thanks! I additionally have AWS Polly Voices installed on my Win10. Before that, I read somewhere that access to them is not always correct! As soon as I read your answer, I immediately understood everything! I experimented last night and completely forgot that left the voice by default in the system (in the text-to-speech menu) one of the AWS Polly voices. Now I returned the standard "Microsoft David Desktop - English (United States)" voice and tried to run the P2A. And it worked again! AWS Polly Voices - sound good! But .... Anyway, thank you Dave!!! P.S. Once again I tried to change the default voice in the system to AWS Polly and tried to run the program. Again the same situation!!! So the reason really was in this !!! AWS Polly by default system voices not a good idea to use it with P2A! Edited October 16, 20214 yr by AndrewZAP1977
Archived
This topic is now archived and is closed to further replies.