Page 1 of 1
[FIXED] Error in Exception Handler! OnThreadException
Posted: Wed Dec 21, 2022 1:05 pm
by zx900a10
Hi,
I have renewed my PC from Win10 to 11.
After renewal, I have encountered avobe errors every 10 to 30 minutes and screen shows red big X...
I assume this may be partly due to windows 11 which is not supported by Command.
But if you could help somethig it is very helpful.
My save files and PC specs are attached or below.
12th Gen Intel(R) Core(TM) i7-12700H 2.30 GHz
16 GB memory
Windows 11 Home 22H2
IrisĀ® Xe or RTX3050
Again thank you in advance.
Re: Error in Exception Handler! OnThreadException
Posted: Wed Dec 21, 2022 2:33 pm
by thewood1
When you reinstalled CMO, did you install the DirectX and .net that come with CMO?
Re: Error in Exception Handler! OnThreadException
Posted: Thu Dec 22, 2022 10:57 am
by zx900a10
Thank you for swift response.
I already checked that direct X 12 is installed before posting this.
But for .net I have not yet checked and reinstalled v4.8 for sure.
(I thought these softwares were pre-installed as a part of windows...)
Even so, this still happen and annoying me...
if somebody could give me solution, it woul be great gift of this holiday season!.
Re: Error in Exception Handler! OnThreadException
Posted: Thu Dec 22, 2022 12:15 pm
by thewood1
Don't assume that just because DX12 is part of Windows that its all set. If this is a non-steam version, you have to run the DX9 installer in the prerequisites folder. It has libraries need by CMO.
Re: Error in Exception Handler! OnThreadException
Posted: Fri Dec 23, 2022 3:15 am
by zx900a10
As per your advice, I have installed DirectX End-User Runtimes (June 2010) and this works!!
Thank you very much.
Command is great and your support is great as well.
Have a nice holiday season.
Re: Error in Exception Handler! OnThreadException
Posted: Wed Jan 04, 2023 8:53 am
by zx900a10
Hi,
Thank you for your last advice.
I thought it worked, but it is still happening.
Although It is not critical, but it happens every a few hours and annoying me.
I have updated direct X but .net yet. May I ask which version of .net is reccomennded?
I would like to try reinstalling it...
Thank you in advance.
For your reference purpose, I have abstracted exception log.
I am wondering even after update, something is happening on direct X ...
2023/01/04 17:34:55 -- B1297.1 -- An error occurred in the application.
Exception: An error occurred in the application.
Stack Trace: Place Microsoft.DirectX.Direct3D.Device.DrawUserPrimitives(PrimitiveType primitiveType, Int32 primitiveCount, Object vertexStreamZeroData)
Place chPu3JaApund3ho7RgAh.m3MYmRw34Ye(Object , PrimitiveType , Int32 , Object , chPu3JaApund3ho7RgAh )
Place Worldwind.Component.CommandLayer.DrawLine(Color color, Single line_thickness, Single x1, Single y1, Single x2, Single y2)
Place Worldwind.Component.CommandLayer.DrawLine(Color color, Single line_thickness, Point p1, Point p2)
PlaceCommand.MainForm.L28xm2RW1IunLlZcmbAN(Object , Color , Single , Point , Point )
Place Command.MainForm.CL_DrawHealthBarForThisUnit(ActiveUnit theUnit)
Call Stack & Error details:
Error at 101151,
Re: Error in Exception Handler! OnThreadException
Posted: Wed Jan 04, 2023 10:12 am
by Dimitris
* Is the OS fully updated? Graphics drivers updated? Direct-X 9 installed?
* Is Command running as admin? (ie. prompting you "are you sure you want to run this program" when you launch it)
* (Steam only) Are Steam overlays disabled for Command?
* (Steam only) Is Direct-Write disabled on the Steam client?
* Are all other applications (and especially hardware-helper apps like RivaTuner, Nahimic, MSI Afterburner etc.) shut down?
* Are you using a high-DPI desktop? (ie. font size >100%)
* Are you using Norton antivirus? (This POS is very frequently silently blocking file updates)
Re: Error in Exception Handler! OnThreadException
Posted: Thu Jan 05, 2023 9:26 am
by zx900a10
Hi,
Thank you for your swift responce as always.
I have checked all items and disabled Direct-Write on steam application.
Things are getting better but still it happen...
It is playable and endurable but if you could help something, it is more than welcome.
Let me share erro log for you reference.
2023/01/05 18:11:51 -- B1297.1 -- An error occurred in the application
Exception: An error occurred in the application
Stack Trace: Place Microsoft.DirectX.Direct3D.Device.DrawUserPrimitives(PrimitiveType primitiveType, Int32 primitiveCount, Object vertexStreamZeroData)
Place chPu3JaApund3ho7RgAh.m3MYmRw34Ye(Object , PrimitiveType , Int32 , Object , chPu3JaApund3ho7RgAh )
Place Worldwind.Component.CommandLayer.DrawLine(Color color, Single line_thickness, Single x1, Single y1, Single x2, Single y2)
Place Worldwind.Component.CommandLayer.DrawLine(Color color, Single line_thickness, Point p1, Point p2)
Place Command.MainForm.L28xm2RW1IunLlZcmbAN(Object , Color , Single , Point , Point )
Place Command.MainForm.CL_DrawHealthBarForThisUnit(ActiveUnit theUnit)
Call Stack & Error details:
Error at 101151,
Re: Error in Exception Handler! OnThreadException
Posted: Sat Jan 21, 2023 7:01 am
by zx900a10
Hi,
Below solution from STEAM forum worked somehow.
I hhave posted this for your reference purpose.
Thank you VPaulus!
>VPaulus
>Have you tried the Microsoft .NET Framework Repair Tool?
>If not please try it:
>
https://support.microsoft.com/en-us/top ... 4a2f4b612a