-
-
Notifications
You must be signed in to change notification settings - Fork 925
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
Java::JavaLang::NegativeArraySizeException when generating JSON #1609
Comments
with the output from the gist look like rails ? a small 'demo' setup which |
You are correct in your observation =)
|
https://github.com/kwando/json_error Here is testapp, jruby-1.7.11, rails 3.2.17
Same app on rails 4 works without that error. |
thanx, that helped - I can reproduce it now ;) and grabbing the code from app/controllers/application_controller.rb works let's see if I can find something . . . |
@mkristian Any progress here? |
only that you need rails to reproduce it. I do have time right now . . . On Mon, Apr 7, 2014 at 5:12 PM, Charles Oliver Nutter <
|
Could this be related to ruby/json#181? |
yes, indeed - copied the required from ruby/json#181 and then I see the error with:
|
So there is already a pull request (ruby/json#195) with a fix we just need to convince @flori to merge it. |
seems to be working on 9.1.8.0 (using Rails 4.2.8) :
|
I got a java exception when crafting a JSON response.
https://gist.github.com/kwando/9971023
The text was updated successfully, but these errors were encountered: