I have an array of BufferedImage's. In the example breakpoint the array contains two elements. Anyway the length property returns the value of 20. How is that even possible?

That seems like an IDE setting. It will only show the non-null elements in the array in debug view. Eclipse does this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With