System.Exception: Job stopped with an unexpected exit code: 0xC0000006

Hi guys,

While I was debugging my bot. I suddenly received the error message “System.Exception: Job stopped with an unexpected exit code: 0xC0000006” and it stopped.

The message appeared after retrieving some emails and checking the attachments.

I already tried to look in the Forum, but I found nothing for this specific error.

BR,
Franz

@franz.verga,

The exit code we get is very generic in nature. To get exact issue we will have to look into system logs of the operating system.

Get the system event logs to understand the issue. Follow this tutorial on how to get it.

https://uipath.my.salesforce-sites.com/CaseView/articles/Knowledge/How-to-get-Application-Logs-from-the-Event-Viewer

Thanks,
Ashok :slight_smile:

Hi @franz.verga

Check this

Regards,

Hi @ashokkarale,

From the event viewer I got this error, less than one minute earlier than the crash:

UiPath.Executor 23.10.5.0 System.NotSupportedException: Specified method is not supported. at System.Reflection.RuntimeMethodInfo.ThrowNoInvokeException() at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture) at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object index) at Microsoft.CodeAnalysis.Scripting.Hosting.ObjectFormatterHelpers.GetMemberValue(MemberInfo member, Object obj, Exception& exception) at Microsoft.CodeAnalysis.Scripting.Hosting.CommonObjectFormatter.Visitor.FormatObjectMembersRecursive(List1 result, Object obj, Boolean includeNonPublic, Int32& lengthLimit) at Microsoft.CodeAnalysis.Scripting.Hosting.CommonObjectFormatter.Visitor.FormatObjectMembers(Builder result, Object obj, TypeInfo preProxyTypeInfo, Boolean includeNonPublic, Boolean inline) at Microsoft.CodeAnalysis.Scripting.Hosting.CommonObjectFormatter.Visitor.FormatMembers(Builder result, Object obj, Object proxy, Boolean includeNonPublic, Boolean inlineMembers) at Microsoft.CodeAnalysis.Scripting.Hosting.CommonObjectFormatter.Visitor.FormatObjectRecursive(Builder result, Object obj, Boolean isRoot, String& debuggerDisplayName) at Microsoft.CodeAnalysis.Scripting.Hosting.CommonObjectFormatter.Visitor.FormatObjectMembersRecursive(List1 result, Object obj, Boolean includeNonPublic, Int32& lengthLimit) at Microsoft.CodeAnalysis.Scripting.Hosting.CommonObjectFormatter.Visitor.FormatObjectMembers(Builder result, Object obj, TypeInfo preProxyTypeInfo, Boolean includeNonPublic, Boolean inline) at Microsoft.CodeAnalysis.Scripting.Hosting.CommonObjectFormatter.Visitor.FormatMembers(Builder result, Object obj, Object proxy, Boolean includeNonPublic, Boolean inlineMembers) at Microsoft.CodeAnalysis.Scripting.Hosting.CommonObjectFormatter.Visitor.FormatObjectRecursive(Builder result, Object obj, Boolean isRoot, String& debuggerDisplayName) at Microsoft.CodeAnalysis.Scripting.Hosting.CommonObjectFormatter.Visitor.FormatObjectMembersRecursive(List`1 result, Object obj, Boolean includeNonPublic, Int32& lengthLimit) at Microsoft.CodeAnalysis.Scripting.Hosting.CommonObjectFormatter.Visitor.FormatObjectMembers(Builder result, Object obj, TypeInfo preProxyTypeInfo, Boolean includeNonPublic, Boolean inline) at Microsoft.CodeAnalysis.Scripting.Hosting.CommonObjectFormatter.Visitor.FormatMembers(Builder result, Object obj, Object proxy, Boolean includeNonPublic, Boolean inlineMembers) at Microsoft.CodeAnalysis.Scripting.Hosting.CommonObjectFormatter.Visitor.FormatObjectRecursive(Builder result, Object obj, Boolean isRoot, String& debuggerDisplayName) at Microsoft.CodeAnalysis.Scripting.Hosting.CommonObjectFormatter.Visitor.FormatObject(Object obj) at Microsoft.CodeAnalysis.Scripting.Hosting.CommonObjectFormatter.FormatObject(Object obj, PrintOptions options) at UiPath.Executor.Debugger.Locals.Models.LazyObjectDescription.FormatObject(Object value), HResult -2146233067

From this I can understand nothing… Do you have any idea?

BR,
Franz

@franz.verga

:scream: Mee too unable to see anything through this.

Try going through logs till what activity bot is able to execute.

Thanks,
Ashok :slightly_smiling_face:

https://www.google.com/search?q=0xC0000006

Hi @postwick,

I already found that, but it’s very generic, not specific for UiPath Studio…

So it’s not useful at all.

BR,
Franz

It’s not a UiPath specific error. It’s a Windows error. That’s why there is the 0xC.

From what I’ve read, I would suggest reinstalling Studio.