-
1. Re: RHQ UI Sparkline Exceptions
achmykh Dec 7, 2012 11:16 AM (in response to umutcelik)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.
-
2. Re: RHQ UI Sparkline Exceptions
achmykh Dec 7, 2012 11:27 AM (in response to achmykh)not sure if this relevant: http://stackoverflow.com/questions/3626714/no-method-sparkline
-
3. Re: RHQ UI Sparkline Exceptions
jmenengo Jan 14, 2013 7:22 AM (in response to umutcelik)I have the same problem.
If you delete these files
./jbossas/server/default/deploy/rhq.ear/coregui.war/js/jquery.sparkline-2.0.min.js
./jbossas/server/default/deploy/rhq.ear/coregui.war/js/jquery-1.7.2.min.js
rhqserver works fine one session, but error appears again in other sessions.
-
4. Re: RHQ UI Sparkline Exceptions
jmenengo Jan 29, 2013 8:41 AM (in response to umutcelik)resolved partially
find this file
./rhq-server-4.5.1/jbossas/server/default/deploy/rhq.ear/coregui.war/org.rhq.enterprise.gui.coregui.CoreGUI/716ADA316946734AA7DDBED4029049E9.cache.html
delete this function
function graphSparkLines(){
$wnd.jQuery('.dynamicsparkline').sparkline();
}
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...
-
5. Re: RHQ UI Sparkline Exceptions
jmenengo Jan 30, 2013 4:08 AM (in response to jmenengo)now de Dashboard works fine. We have a problem with two agents with same security-token.
-
6. Re: RHQ UI Sparkline Exceptions
jkremser Feb 7, 2013 4:53 AM (in response to umutcelik)This should be fixed in 4.6.0. The problem was the jQuery version conflict, because sparkline has its own jQuery and gflot too.
-
7. Re: RHQ UI Sparkline Exceptions
jmenengo Feb 7, 2013 12:14 PM (in response to jkremser)Thanks you. I'll try the version as soon as possible