I think it was a Batch Processor error, because I could save a project and close Hugin, but could not close BP.
The message window was empty and not responsive to clicks. I closed BP with Task manager.
When I opened the saved project in Hugin again, the panorama was stitched normally.
