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

Empty batch_size exception/error #6

Open
paulrohrbeck opened this issue Jun 11, 2014 · 1 comment
Open

Empty batch_size exception/error #6

paulrohrbeck opened this issue Jun 11, 2014 · 1 comment

Comments

@paulrohrbeck
Copy link

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?

@adamcin
Copy link
Owner

adamcin commented Jun 12, 2014

I think the double quotes may actually have been in the parameter value. I'll take a look at it.

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

No branches or pull requests

2 participants