TAP5-2128: @Import leads to StringIndexOutOfBoundsException