I'm facing similar issue but with a different code 42308. Thanks @mattbaker.digital I could figure out that some controls and protected VIs in a class was causing this trouble. To add complexity, I have that class in a packed library. For now it got fixed when I made all of those class scope to public. Not an ideal solution to put all of them in public, but considering the project timeline to release, this is best to go ahead instead of dealing with this forever.
Regards,
Ajay.