java.lang.IllegalStateException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • This creates quite a headache when using the Config File Provider and there is for example, malformed XML. This leads to builds failing for no obvious reason until you discover the "failed to get the path to the alternate global settings.xml" message buried at the top of the build log. In my case, this is the exception that is thrown once the extra try-catch is removed from Global Settings Provider (pull request forthcoming) {noformat} java.lang.IllegalStateException: the global settings.xml could not be supplied for the current build: The reference to entity "characterEncoding" must end with the ';' delimiter. at org.jenkinsci.plugins.configfiles.maven.job.MvnGlobalSettingsProvider.supplySettings(MvnGlobalSettingsProvider.java:97) at jenkins.mvn.GlobalSettingsProvider.getSettingsFilePath(GlobalSettingsProvider.java:55) at jenkins.mvn.GlobalSettingsProvider.getSettingsRemotePath(GlobalSettingsProvider.java:76) at hudson.tasks.Maven.perform(Maven.java:308) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:536) at hudson.model.Run.execute(Run.java:1718) at com.github.mjdetullio.jenkins.plugins.multibranch.FreeStyleBranchBuild.run(FreeStyleBranchBuild.java:89) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) {noformat}
    via by Alexander Bertram,
  • This creates quite a headache when using the Config File Provider and there is for example, malformed XML. This leads to builds failing for no obvious reason until you discover the "failed to get the path to the alternate global settings.xml" message buried at the top of the build log. In my case, this is the exception that is thrown once the extra try-catch is removed from Global Settings Provider (pull request forthcoming) {noformat} java.lang.IllegalStateException: the global settings.xml could not be supplied for the current build: The reference to entity "characterEncoding" must end with the ';' delimiter. at org.jenkinsci.plugins.configfiles.maven.job.MvnGlobalSettingsProvider.supplySettings(MvnGlobalSettingsProvider.java:97) at jenkins.mvn.GlobalSettingsProvider.getSettingsFilePath(GlobalSettingsProvider.java:55) at jenkins.mvn.GlobalSettingsProvider.getSettingsRemotePath(GlobalSettingsProvider.java:76) at hudson.tasks.Maven.perform(Maven.java:308) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:536) at hudson.model.Run.execute(Run.java:1718) at com.github.mjdetullio.jenkins.plugins.multibranch.FreeStyleBranchBuild.run(FreeStyleBranchBuild.java:89) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) {noformat}
    via by Alexander Bertram,
    • java.lang.IllegalStateException: the global settings.xml could not be supplied for the current build: The reference to entity "characterEncoding" must end with the ';' delimiter. at org.jenkinsci.plugins.configfiles.maven.job.MvnGlobalSettingsProvider.supplySettings(MvnGlobalSettingsProvider.java:97) at jenkins.mvn.GlobalSettingsProvider.getSettingsFilePath(GlobalSettingsProvider.java:55) at jenkins.mvn.GlobalSettingsProvider.getSettingsRemotePath(GlobalSettingsProvider.java:76) at hudson.tasks.Maven.perform(Maven.java:308) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:536) at hudson.model.Run.execute(Run.java:1718) at com.github.mjdetullio.jenkins.plugins.multibranch.FreeStyleBranchBuild.run(FreeStyleBranchBuild.java:89) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240)
    No Bugmate found.