Along with NPE, ArrayIndexOutOfBoundsException questions appear with regularity. I always wonder why people keep posting duplicates, and I tried to find the canonical duplicate, "what causes arrayindexoutofboundsexception":
Huh?! I KNOW there's a canonical duplicate in the system. Someone else marked the question as a duplicate, and it turns out it's here:
What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it?
Is there a sane reason why my query did not find this?
THIS (meta) question may have been asked before, but I couldn't find the duplicate. Penalizing people for asking duplicate questions if they cannot be found is just silly, and it's kind of sad that SO's search is so anemic.
is:q code:ArrayIndexOutOfBoundsException what causes
finds it. I guess "java.lang.ArrayIndexOutOfBoundsException" isn't being split, and the body instances are in code formatting.what causes *arrayindexoutofboundsexception
.