I am trying to track down an error that I see in when viewing an edition by clicking the preview button under the publishing tab which launches the following URL:
I think you’re on the right track, although it’s also possible a missing template can cause this error. In either case, the place to start is the JCR Query. Use the Query Test JSP. If your query is invalid, it will report better errors than the content list will.
It turns out that we removed the erauphoto content type but did not update the jsr-100 query used to assemble the content list. Once we did this the problem went away.