[FIXED] Error in Exception Handler! OnThreadException

Post bug reports and ask for game support here.

Moderator: MOD_Command

Post Reply
zx900a10
Posts: 18
Joined: Wed Mar 20, 2019 11:02 pm

[FIXED] Error in Exception Handler! OnThreadException

Post 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.
Attachments
ExceptionLog.txt
(69.99 KiB) Downloaded 6 times
You BREXIT - You Fix it!.zip
(1.83 MiB) Downloaded 5 times
cmo_error.jpg
cmo_error.jpg (392.32 KiB) Viewed 615 times
cmano_error.txt
(2.19 KiB) Downloaded 5 times
thewood1
Posts: 10101
Joined: Sun Nov 27, 2005 6:24 pm
Location: Boston

Re: Error in Exception Handler! OnThreadException

Post by thewood1 »

When you reinstalled CMO, did you install the DirectX and .net that come with CMO?
zx900a10
Posts: 18
Joined: Wed Mar 20, 2019 11:02 pm

Re: Error in Exception Handler! OnThreadException

Post 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!.
thewood1
Posts: 10101
Joined: Sun Nov 27, 2005 6:24 pm
Location: Boston

Re: Error in Exception Handler! OnThreadException

Post 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.
zx900a10
Posts: 18
Joined: Wed Mar 20, 2019 11:02 pm

Re: Error in Exception Handler! OnThreadException

Post 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.
zx900a10
Posts: 18
Joined: Wed Mar 20, 2019 11:02 pm

Re: Error in Exception Handler! OnThreadException

Post 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,
Dimitris
Posts: 15329
Joined: Sun Jul 31, 2005 10:29 am
Contact:

Re: Error in Exception Handler! OnThreadException

Post 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)
zx900a10
Posts: 18
Joined: Wed Mar 20, 2019 11:02 pm

Re: Error in Exception Handler! OnThreadException

Post 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,
zx900a10
Posts: 18
Joined: Wed Mar 20, 2019 11:02 pm

Re: Error in Exception Handler! OnThreadException

Post 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
Post Reply

Return to “Tech Support”