Do you have AEC installed?

It sounds like it's trying to access something from AEC and it's obviously not finding it, do you have any lisp routines running?

Anything customised in your cui?

That's about all I can think of that's not file dependant. (unless it's an object that's in all of your drawings/templates.

When does the error occur?

I can recommend to stop the error online: https://onlinefilerepair.com/en/auto...ir-online.html