java.lang.NoSuchMethodError: java.lang.System.lineSeparator()Ljava/lang/String;

Jenkins JIRA | Aiko Mastboom | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      java.lang.System.lineSeparator()Ljava/lang/String;

      at org.jenkinsci.plugins.dockerbuildstep.util.PortUtils.parsePorts()
    2. org.jenkinsci.plugins
      DockerBuilder.perform
      1. org.jenkinsci.plugins.dockerbuildstep.util.PortUtils.parsePorts(PortUtils.java:52)
      2. org.jenkinsci.plugins.dockerbuildstep.cmd.StartCommand.execute(StartCommand.java:72)
      3. org.jenkinsci.plugins.dockerbuildstep.DockerBuilder.perform(DockerBuilder.java:65)
      3 frames
    3. Hudson
      Build$BuildExecution.doRun
      1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785)
      3. hudson.model.Build$BuildExecution.build(Build.java:199)
      4. hudson.model.Build$BuildExecution.doRun(Build.java:160)
      4 frames
    4. hudson.plugins.project_inheritance
      InheritanceBuild$InheritanceBuildExecution.doRun
      1. hudson.plugins.project_inheritance.projects.InheritanceBuild$InheritanceBuildExecution.doRun(InheritanceBuild.java:111)
      1 frame
    5. Hudson
      Run.execute
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:566)
      2. hudson.model.Run.execute(Run.java:1678)
      2 frames
    6. hudson.plugins.project_inheritance
      InheritanceBuild.run
      1. hudson.plugins.project_inheritance.projects.InheritanceBuild.run(InheritanceBuild.java:96)
      1 frame
    7. Hudson
      Executor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:88)
      2. hudson.model.Executor.run(Executor.java:231)
      2 frames