Give us a little more information for a start
Which version of Kodi are you using, which version of Windows, what were you trying to do when you got that error, what media source or add-on were you using?
If you can reproduce the issue, you can also please gather a
debug log (wiki), upload it to pastebin.com or a similar site and supply the link they will give you here.