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

ConversionException while loading saved Job configuration

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • artifactory-plugin
    • None
    • Jenkins: 1.625.1
      ArtifactoryPlugin: 2.4.0
      OS: Centos7.1/64
      Jdk: openjdk 1.8.0

      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

          [JENKINS-31399] ConversionException while loading saved Job configuration

          Luca Menegus created issue -
          Luca Menegus made changes -
          Description Original: 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" in 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
          New: 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
          Daniel Beck made changes -
          Assignee Original: yossis [ yossis ] New: Eyal Ben Moshe [ eyalbe ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 166739 ] New: JNJira + In-Review [ 182455 ]

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

              Created:
              Updated: