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

Jenkins 2.89 fails to load

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Duplicate
    • Component/s: core
    • Labels:
      None
    • Environment:
      CentOS Linux release 7.3.1611 (Core)
    • Similar Issues:

      Description

      When downgrading to 2.88 everything runs fine, in 2.89 (tested 2 times) the following error occurs:

      SEVERE: Failed to initialize Jenkins
      hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: java.lang.Error: java.lang.reflect.InvocationTargetException
              at hudson.WebAppMain$3.run(WebAppMain.java:250)
      Caused by: org.jvnet.hudson.reactor.ReactorException: java.lang.Error: java.lang.reflect.InvocationTargetException
              at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269)
              at jenkins.InitReactorRunner.run(InitReactorRunner.java:47)
              at jenkins.model.Jenkins.executeReactor(Jenkins.java:1099)
              at jenkins.model.Jenkins.<init>(Jenkins.java:904)
              at hudson.model.Hudson.<init>(Hudson.java:86)
              at hudson.model.Hudson.<init>(Hudson.java:82)
              at hudson.WebAppMain$3.run(WebAppMain.java:233)
      Caused by: java.lang.Error: java.lang.reflect.InvocationTargetException
              at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:110)
              at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175)
              at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
              at jenkins.model.Jenkins$5.runTask(Jenkins.java:1065)
              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:748)
      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:498)
              at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:104)
              ... 8 more
      Caused by: java.lang.NumberFormatException: For input string: "reis"
              at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
              at java.lang.Integer.parseInt(Integer.java:580)
              at jenkins.model.IdStrategy$CaseInsensitive.idFromFilename(IdStrategy.java:306)
              at hudson.model.User$AllUsers.scanAll(User.java:1057)
              ... 13 more

      Probably something in our setup - but what? And why hasn't that failed before?

        Attachments

          Issue Links

            Activity

            martoeng Martin Walter created issue -
            Hide
            danielbeck Daniel Beck added a comment -

            Martin Walter This could be related to one of the security fixes in 2.89. Could you provide a directory listing of JENKINS_HOME/users?

            CC Rebecca Ysteboe

            Show
            danielbeck Daniel Beck added a comment - Martin Walter This could be related to one of the security fixes in 2.89. Could you provide a directory listing of JENKINS_HOME/users? CC Rebecca Ysteboe
            danielbeck Daniel Beck made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-47909 [ JENKINS-47909 ]
            Hide
            danielbeck Daniel Beck added a comment -

            If I had to guess, there are users named like this: whatever$reiswhatever

            Show
            danielbeck Daniel Beck added a comment - If I had to guess, there are users named like this: whatever$reiswhatever
            jglick Jesse Glick made changes -
            Resolution Duplicate [ 3 ]
            Status Open [ 1 ] Resolved [ 5 ]
            Hide
            jglick Jesse Glick added a comment -

            Martin Walter comment on JENKINS-47909 please.

            Show
            jglick Jesse Glick added a comment - Martin Walter comment on  JENKINS-47909 please.
            Hide
            martoeng Martin Walter added a comment -

            Daniel Beck yep, good guess. Would never have assumed that, because we authenticate against an Active Directory and we definitely have no user names containing a dollar sign.

            Show
            martoeng Martin Walter added a comment - Daniel Beck yep, good guess. Would never have assumed that, because we authenticate against an Active Directory and we definitely have no user names containing a dollar sign.

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              martoeng Martin Walter
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: