Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception getting metric if group is empty #51

Open
jvalkeal opened this issue Jan 10, 2012 · 0 comments
Open

Exception getting metric if group is empty #51

jvalkeal opened this issue Jan 10, 2012 · 0 comments

Comments

@jvalkeal
Copy link
Contributor

Tracking group metrics with no members throws exception. Need to check nulls...

2012-01-10 17:10:39,127 WARN [tomcat-http--1] [org.hyperic.hq.hqu.PluginWrapper@156] Error handling request from /media/uhome/hyperic/server-4.6-EE/hq-engine/hq-server/webapps/ROOT/hqu/wmvisualizer
java.lang.NullPointerException
at org.codehaus.groovy.runtime.dgmimpl.NumberNumberDiv$DoubleInteger.call(NumberNumberDiv.java:247)
at MetricstoreController.getMetrics(MetricstoreController:99)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant