#vulnerable code 
                             @Override
	public void extractConfigurationParameters() {
		super.extractConfigurationParameters();

		// Load configuration parameters.
		configColor = ChatColor.getByChar(mainConfig.getString("Color", "5"));
		configIcon = StringEscapeUtils.unescapeJava(mainConfig.getString("Icon", "\u2618"));
		configAdditionalEffects = mainConfig.getBoolean("AdditionalEffects", true);
		configSound = mainConfig.getBoolean("Sound", true);
		configSoundStats = mainConfig.getString("SoundStats", "ENTITY_FIREWORK_ROCKET_BLAST").toUpperCase();

		langNumberAchievements = pluginHeader + LangHelper.get(CmdLang.NUMBER_ACHIEVEMENTS, langConfig) + " " + configColor;
	} 
                            #location 10 
                            #vulnerability type NULL_DEREFERENCE
#fixed code
                             @Override
	public void extractConfigurationParameters() {
		super.extractConfigurationParameters();

		// Load configuration parameters.
		configColor = ChatColor.getByChar(mainConfig.getString("Color", "5"));
		configIcon = mainConfig.getString("Icon", "\u2618");
		configAdditionalEffects = mainConfig.getBoolean("AdditionalEffects", true);
		configSound = mainConfig.getBoolean("Sound", true);
		configSoundStats = mainConfig.getString("SoundStats", "ENTITY_FIREWORK_ROCKET_BLAST").toUpperCase();

		langNumberAchievements = pluginHeader + LangHelper.get(CmdLang.NUMBER_ACHIEVEMENTS, langConfig) + " " + configColor;
	}