We were receiving this error when trying to create a new article from the front-end or the back-end of the Joomla 2.5.25 site. Using the extension named Attachments to attach files to articles. After a bit of investigation, I determined that they had created an attachment but not associated it with any article. The problem was corrected by going into the Attachments manager and associating the attachment problematic attachment with an article.