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

Running the reverse migrator after upgrading to 1.597 throws NoClassDefFoundError: javax/servlet/http/HttpServletRequest

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      Description

      After upgrading to 1.597 from 1.588 on Windows

      • I cannot downgrade because trying to run the unmigrate script fails with:
        Exception in thread "main" java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest
                at hudson.Util.createSymlinkJava7(Util.java:1224)
                at hudson.Util.createSymlink(Util.java:1118)
                at jenkins.model.RunIdMigrator.unmigrateBuildsDir(RunIdMigrator.java:371
        )
                at jenkins.model.RunIdMigrator.unmigrateJobsDir(RunIdMigrator.java:320)
                at jenkins.model.RunIdMigrator.main(RunIdMigrator.java:307)
        Caused by: java.lang.ClassNotFoundException: javax.servlet.http.HttpServletRequest
                at java.net.URLClassLoader$1.run(Unknown Source)
                at java.net.URLClassLoader$1.run(Unknown Source)
                at java.security.AccessController.doPrivileged(Native Method)
                at java.net.URLClassLoader.findClass(Unknown Source)
                at java.lang.ClassLoader.loadClass(Unknown Source)
                at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
                at java.lang.ClassLoader.loadClass(Unknown Source)
                ... 5 more
        

        Attachments

          Issue Links

            Activity

            dhlight David Light created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Link This issue is blocking JENKINS-24380 [ JENKINS-24380 ]
            jglick Jesse Glick made changes -
            Priority Minor [ 4 ] Major [ 3 ]
            jglick Jesse Glick made changes -
            Summary Unmigrate script fails after upgrading to 1.597 NoClassDefFoundError: javax/servlet/http/HttpServletRequest from RunIdMigrator.unmigrateBuildsDir
            dhlight David Light made changes -
            Summary NoClassDefFoundError: javax/servlet/http/HttpServletRequest from RunIdMigrator.unmigrateBuildsDir Unmigrate script fails after upgrading to 1 .597
            jglick Jesse Glick made changes -
            Summary Unmigrate script fails after upgrading to 1 .597 NoClassDefFoundError: javax/servlet/http/HttpServletRequest from RunIdMigrator.unmigrateBuildsDir
            dhlight David Light made changes -
            Summary NoClassDefFoundError: javax/servlet/http/HttpServletRequest from RunIdMigrator.unmigrateBuildsDir Running the reverse migrator after upgrading to 1.597 throws NoClassDefFoundError: javax/servlet/http/HttpServletRequest
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 160647 ] JNJira + In-Review [ 180439 ]

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                dhlight David Light
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: