Just started getting these errors

I haven’t changed anything, and just started getting this error.

Application Execution Exception

Error Type: Application : [N/A]
Error Messages: Error while loading the entity.
org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: cbContent

Now the line of code that this is falling over on, is the following line of code.

var customFields = ORMService.findAllWhere( ‘cbCustomField’, { key = ‘cronus_relatedPosts’, relatedContent = prc.entry });

I switched the server off, and later back on. Logged into the dashboard of ContentBox and then went to create an entry and then it clicked as to what the actual problem is…

So the question now, what is the best method to see what state the object is in?