net.adamcin.recap
net.adamcin.recap copied to clipboard
Empty batch_size exception/error
Hey, thanks for putting this up on github!
In my logs I can see the following error:
POST ....graniteconsole.html HTTP/1.1] net.adamcin.recap.impl.RecapAdapterFactory
failed to parse batch_size parameter:
java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
I only took a very quick look at the above mentioned file, but I'm wondering why the StringUtils.isNotBlank(rpBatchSize) does not catch the empty string? I did not specify the batch size so it shouldn't even go in there, right?
I think the double quotes may actually have been in the parameter value. I'll take a look at it.