Uploaded image for project: 'Jenkins Artifactory Plug-in'
  1. Jenkins Artifactory Plug-in
  2. HAP-660

ConversionException while loading saved Job configuration

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.4.1
    • Component/s: Maven3
    • Labels:
      None

      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 (Inactive)
              Reporter:
              lucam Luca Menegus
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: