Easy chart error when doing realtime trending

I have several 8 hour real-time trends using the easy chart object. These trends report a query error every few days, usually in the middle of the night. How might I fix the problem?

Can you post the details of the error so we can see the stack trace?