Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-31399

ConversionException while loading saved Job configuration

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: artifactory-plugin
    • Labels:
      None
    • Environment:
      Jenkins: 1.625.1
      ArtifactoryPlugin: 2.4.0
      OS: Centos7.1/64
      Jdk: openjdk 1.8.0
    • Similar Issues:

      Description

      Step to reproduce:

      • create a maven job
      • check "Resolve artifacts from Artifactory" box and configure instance and repositories
      • stop jenkins
      • start jenkins

      "Resolve artifacts from Artifactory" is not checked anymore and instance and repositories configuration is lost.

      • go to administrativeMonitor/OldData/manage jenkins page and you will see the following message:

      ConversionException: org.jfrog.hudson.maven3.ArtifactoryMaven3NativeConfigurator cannot be cast to org.jfrog.hudson.DeployerOverrider : org.jfrog.hudson.maven3.ArtifactoryMaven3NativeConfigurator cannot be cast to org.jfrog.hudson.DeployerOverrider ---- Debugging information ---- message : org.jfrog.hudson.maven3.ArtifactoryMaven3NativeConfigurator cannot be cast to org.jfrog.hudson.DeployerOverrider cause-exception : java.lang.ClassCastException cause-message : org.jfrog.hudson.maven3.ArtifactoryMaven3NativeConfigurator cannot be cast to org.jfrog.hudson.DeployerOverrider class : org.jfrog.hudson.maven3.ArtifactoryMaven3NativeConfigurator required-type : org.jfrog.hudson.maven3.ArtifactoryMaven3NativeConfigurator converter-type : hudson.util.XStream2$AssociatedConverterImpl path : /maven2-moduleset/buildWrappers/org.jfrog.hudson.maven3.ArtifactoryMaven3NativeConfigurator line number : 177 -------------------------------, InstantiationError: null

        Attachments

          Activity

            People

            • Assignee:
              eyalbe Eyal Ben Moshe
              Reporter:
              lucam Luca Menegus
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: