-
Notifications
You must be signed in to change notification settings - Fork 37
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
JMXetricAgentIT fails with NumberFormatException #22
Comments
It seems like this line
is causing trouble, its return value should be |
Think I've found the problem. In
This meant that
would return 2 ways to fix this:
Referencing the
and note that dmax has an empty default string here as well. @dpocock which way would be suitable? |
I would suggest two things:
|
Below is the complete output of the test.
The problem is that in the
configureJMXetricFromXML
method call ofXMLConfigurationService
, while reading the first composite data, the missingdmax
attribute results in an empty string""
being passed toInteger.parseInt
on line 250.Still investigating why this happens, on first look it looks like the default value of "0" should have been passed in instead.
The text was updated successfully, but these errors were encountered: