java.io.IOException: Expecting class hudson.model.FreeStyleProject but got class hudson.maven.MavenModuleSet instead

Jenkins JIRA | Oliver Gondža | 1 year ago
  1. 0

    It seems that when a job is recreated on source instance with different type, it is not possible to push updates. {noformat}hudson.plugins.build_publisher.ServerFailureException: .../config.xml responded with status 500 at hudson.plugins.build_publisher.HTTPBuildTransmitter.followRedirects(HTTPBuildTransmitter.java:193) at hudson.plugins.build_publisher.HTTPBuildTransmitter.executeMethod(HTTPBuildTransmitter.java:158) at hudson.plugins.build_publisher.PublisherThread.executeMethod(PublisherThread.java:306) at hudson.plugins.build_publisher.PublisherThread.submitConfig(PublisherThread.java:273) at hudson.plugins.build_publisher.PublisherThread.createOrSynchronize(PublisherThread.java:266) at hudson.plugins.build_publisher.PublisherThread.synchronizeProjectSettings(PublisherThread.java:220) at hudson.plugins.build_publisher.PublisherThread.run(PublisherThread.java:113) Caused by: hudson.plugins.build_publisher.ServerFailureException: .../config.xml responded with status 500 at hudson.plugins.build_publisher.HTTPBuildTransmitter.followRedirects(HTTPBuildTransmitter.java:191) {noformat} This is what public reports: {noformat} java.io.IOException: Expecting class hudson.model.FreeStyleProject but got class hudson.maven.MavenModuleSet instead at hudson.model.AbstractItem.updateByXml(AbstractItem.java:644) at hudson.model.AbstractItem.doConfigDotXml(AbstractItem.java:601) {noformat}

    Jenkins JIRA | 1 year ago | Oliver Gondža
    java.io.IOException: Expecting class hudson.model.FreeStyleProject but got class hudson.maven.MavenModuleSet instead
  2. 0

    It seems that when a job is recreated on source instance with different type, it is not possible to push updates. {noformat}hudson.plugins.build_publisher.ServerFailureException: .../config.xml responded with status 500 at hudson.plugins.build_publisher.HTTPBuildTransmitter.followRedirects(HTTPBuildTransmitter.java:193) at hudson.plugins.build_publisher.HTTPBuildTransmitter.executeMethod(HTTPBuildTransmitter.java:158) at hudson.plugins.build_publisher.PublisherThread.executeMethod(PublisherThread.java:306) at hudson.plugins.build_publisher.PublisherThread.submitConfig(PublisherThread.java:273) at hudson.plugins.build_publisher.PublisherThread.createOrSynchronize(PublisherThread.java:266) at hudson.plugins.build_publisher.PublisherThread.synchronizeProjectSettings(PublisherThread.java:220) at hudson.plugins.build_publisher.PublisherThread.run(PublisherThread.java:113) Caused by: hudson.plugins.build_publisher.ServerFailureException: .../config.xml responded with status 500 at hudson.plugins.build_publisher.HTTPBuildTransmitter.followRedirects(HTTPBuildTransmitter.java:191) {noformat} This is what public reports: {noformat} java.io.IOException: Expecting class hudson.model.FreeStyleProject but got class hudson.maven.MavenModuleSet instead at hudson.model.AbstractItem.updateByXml(AbstractItem.java:644) at hudson.model.AbstractItem.doConfigDotXml(AbstractItem.java:601) {noformat}

    Jenkins JIRA | 1 year ago | Oliver Gondža
    java.io.IOException: Expecting class hudson.model.FreeStyleProject but got class hudson.maven.MavenModuleSet instead
  3. 0

    Jenkins users - REST API update job boken?

    nabble.com | 1 year ago
    java.io.IOException: Failed to persist config.xml
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jenkins [Jenkins]

    theforeman.org | 1 year ago
    java.io.IOException: Failed to persist config.xml
  6. 0

    Repository browser expects http urls only

    YouTrack | 2 years ago
    java.io.IOException: Expected class java.net.HttpURLConnection, but got class sun.net.www.protocol.file.FileURLConnection

    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.io.IOException

      Expecting class hudson.model.FreeStyleProject but got class hudson.maven.MavenModuleSet instead

      at hudson.model.AbstractItem.updateByXml()
    2. Hudson
      AbstractItem.doConfigDotXml
      1. hudson.model.AbstractItem.updateByXml(AbstractItem.java:644)
      2. hudson.model.AbstractItem.doConfigDotXml(AbstractItem.java:601)
      2 frames