I have same issue, found that meric graph on dashboard causing this error. Refreshing the page ctrl+f5 will clear the error but as soon dashboard with metric graph(s) is open exception will be thrown again. The work around is to remove all metric graphs from dashboard.
I have the same problem.
If you delete these files
rhqserver works fine one session, but error appears again in other sessions.
find this file
delete this function
restart rhqserver. The problem
(TypeError): Object [object Object] has no method 'sparkline'
the problem has disappeared. You can see all sparkline graps in server or agents, but now... the Dashboard... doesn't work fine...
now de Dashboard works fine. We have a problem with two agents with same security-token.
Thanks you. I'll try the version as soon as possible