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.

Jenkins JIRA | Alexander Bertram | 2 years ago
  1. 0

    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}

    Jenkins JIRA | 2 years ago | 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.
  2. 0

    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}

    Jenkins JIRA | 2 years ago | 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.
  3. 0

    Flash builder error | Adobe Community

    adobe.com | 1 year ago
    java.lang.IllegalStateException: The platform metadata area could not be written: C:\.metadata.  By default the platform writes its content under the current working directory when the platform is launched.  Use the -data parameter to specify a different content area for the platform.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Flash builder error |Adobe Community

    adobe.com | 7 months ago
    java.lang.IllegalStateException: The platform metadata area could not be written: C:\.metadata.  By default the platform writes its content under the current working directory when the platform is launched.  Use the -data parameter to specify a different content area for the platform.
  6. 0

    Re: Getting Spring beans from CODI bean

    myfaces-users | 5 years ago | Jiayun
    java.lang.IllegalStateException: 1: Applicaiton context must be associated with the current classloader first

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. org.jenkinsci.plugins
      MvnGlobalSettingsProvider.supplySettings
      1. org.jenkinsci.plugins.configfiles.maven.job.MvnGlobalSettingsProvider.supplySettings(MvnGlobalSettingsProvider.java:97)
      1 frame
    3. jenkins.mvn
      GlobalSettingsProvider.getSettingsRemotePath
      1. jenkins.mvn.GlobalSettingsProvider.getSettingsFilePath(GlobalSettingsProvider.java:55)
      2. jenkins.mvn.GlobalSettingsProvider.getSettingsRemotePath(GlobalSettingsProvider.java:76)
      2 frames
    4. Hudson
      Run.execute
      1. hudson.tasks.Maven.perform(Maven.java:308)
      2. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      3. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761)
      4. hudson.model.Build$BuildExecution.build(Build.java:199)
      5. hudson.model.Build$BuildExecution.doRun(Build.java:160)
      6. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:536)
      7. hudson.model.Run.execute(Run.java:1718)
      7 frames
    5. com.github.mjdetullio
      FreeStyleBranchBuild.run
      1. com.github.mjdetullio.jenkins.plugins.multibranch.FreeStyleBranchBuild.run(FreeStyleBranchBuild.java:89)
      1 frame
    6. Hudson
      Executor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:89)
      2. hudson.model.Executor.run(Executor.java:240)
      2 frames