If the index characters AND the exemplar characters are either missing or empty (""), then we get an exception in Java. This only happens with ULocale.ROOT.
Here is test code that we should add to TestAlphabeticIndex (and the corresponding code for C also).
This could be fixed by changing line 473 of AlphabeticIndex:
This is done in the code already, so closing as duplicate.