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

Jenkins startup fails if there's an unsupported item in unique-id migration

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: unique-id
    • Labels:
      None
    • Similar Issues:

      Description

      Log with one of internal types:

      SEVERE: Failed IdStoreMigratorV1ToV2.migrateIdStore
      java.lang.Error: java.lang.reflect.InvocationTargetException
      	at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:109)
      	at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:169)
      	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
      	at jenkins.model.Jenkins$7.runTask(Jenkins.java:886)
      	at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
      	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.reflect.InvocationTargetException
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:105)
      	... 8 more
      Caused by: java.lang.IllegalArgumentException: Unsupported type: /*Internal Item type*/
      	at org.jenkinsci.plugins.uniqueid.impl.LegacyIdStore.getId(LegacyIdStore.java:95)
      	at org.jenkinsci.plugins.uniqueid.impl.IdStoreMigratorV1ToV2.migrate(IdStoreMigratorV1ToV2.java:85)
      	at org.jenkinsci.plugins.uniqueid.impl.IdStoreMigratorV1ToV2.performMigration(IdStoreMigratorV1ToV2.java:68)
      	at org.jenkinsci.plugins.uniqueid.impl.IdStoreMigratorV1ToV2.migrateIdStore(IdStoreMigratorV1ToV2.java:57)
      	... 13 more
      

        Attachments

          Issue Links

            Activity

            oleg_nenashev Oleg Nenashev created issue -
            oleg_nenashev Oleg Nenashev made changes -
            Field Original Value New Value
            Status Open [ 1 ] In Progress [ 3 ]
            oleg_nenashev Oleg Nenashev made changes -
            Summary unique-id migration in 2.0 may fail if there's an unsupported item Jenkins startup fails if there's an unsupported item in unique-id migration
            oleg_nenashev Oleg Nenashev made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            oleg_nenashev Oleg Nenashev made changes -
            Remote Link This issue links to "unique-id-plugin/pull/4 (Web Link)" [ 12948 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 163747 ] JNJira + In-Review [ 197300 ]

              People

              • Assignee:
                oleg_nenashev Oleg Nenashev
                Reporter:
                oleg_nenashev Oleg Nenashev
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: