Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Potential NPE in AbstractBigArray.grow #53835
I have a plugin that uses
This is an example of how I am using big arrays and what is triggering the resize and NPE.
Relevant part of the stacktrace.
That reproducing code looks buggy to me and without seeing the full stack trace/reproducing-code it is very hard to tell what is going on here. Regardless, you will need to close the
This will require to wrap
I don't see how there is a possible bug here at this point so I'm closing this. If you want to discuss the details of the above I'd ask you to open an issue on our discuss forums since we reserve Github for feature requests and confirmed bug reports.
@original-brownbear thanks, the snippet was intentionally short to try and show where the exception is being thrown from. In the real one code the builder is closed, exception happens before that though. Also, using
Anyways, pretty sure there is a bug in the page recycling code somewhere as using the non-recycling big arrays won't reproduce. Will move to the mailing list if I can't track this down myself.