A shot in the dark, but are you sure that the IndexSettingsService is used
in the constructor? Try using the index settings directly (which should be
injected):
public UrlTokenizerFactory(Index index, @IndexSettings Settings
indexSettings, @Assisted String name, @Assisted Settings settings)