I use Auctex to create a beamer document. Frequently I run into this rather uninformative error message:
TeX-error: Error occured after last TeX file closed
I found a similar thread here and followed the suggestions to include this
(setq LaTeX-command-style '(("" "%(PDF)%(latex) -file-line-error %S%(PDFout)")))
in my .emacs. This solved the issue for me in the past but does not help in all cases. How to proceed If I still get this error?