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

Something broken in 1.525 (issue loading maven plugin?)

    Details

    • Similar Issues:

      Description

      I was unable to update core 1.522 to 1.525.
      The Jenkins webpage shows the error below.

      Rolling back to the old jenkins.war fixed it.

      org.jvnet.hudson.reactor.ReactorException: java.lang.Error: java.lang.reflect.InvocationTargetException
      	at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:246)
      	at jenkins.InitReactorRunner.run(InitReactorRunner.java:43)
      	at jenkins.model.Jenkins.executeReactor(Jenkins.java:906)
      	at jenkins.model.Jenkins.<init>(Jenkins.java:806)
      	at hudson.model.Hudson.<init>(Hudson.java:81)
      	at hudson.model.Hudson.<init>(Hudson.java:77)
      	at hudson.WebAppMain$2.run(WebAppMain.java:214)
      Caused by: java.lang.Error: java.lang.reflect.InvocationTargetException
      	at hudson.init.InitializerFinder.invoke(InitializerFinder.java:124)
      	at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:184)
      	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
      	at jenkins.model.Jenkins$7.runTask(Jenkins.java:895)
      	at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
      	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.reflect.InvocationTargetException
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at hudson.init.InitializerFinder.invoke(InitializerFinder.java:120)
      	... 8 more
      Caused by: java.lang.NoClassDefFoundError: hudson/maven/MavenModule
      	at hudson.plugins.jobConfigHistory.JobConfigHistory.isSaveable(JobConfigHistory.java:426)
      	at hudson.plugins.jobConfigHistory.JobConfigHistorySaveableListener.onChange(JobConfigHistorySaveableListener.java:28)
      	at hudson.model.listeners.SaveableListener.fireOnChange(SaveableListener.java:78)
      	at hudson.model.UpdateCenter.save(UpdateCenter.java:519)
      	at hudson.util.PersistedList.onModified(PersistedList.java:173)
      	at hudson.util.PersistedList._onModified(PersistedList.java:181)
      	at hudson.util.PersistedList.add(PersistedList.java:72)
      	at hudson.model.UpdateCenter.load(UpdateCenter.java:549)
      	at hudson.model.UpdateCenter.init(UpdateCenter.java:1546)
      	... 13 more
      Caused by: java.lang.ClassNotFoundException: hudson.maven.MavenModule
      	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
      	... 22 more
      

        Attachments

          Issue Links

            Activity

            Hide
            bgolding Ben Golding added a comment -

            Please advise how I could help to debug the root cause...

            Show
            bgolding Ben Golding added a comment - Please advise how I could help to debug the root cause...
            Hide
            danielbeck Daniel Beck added a comment -

            Did you disable the Maven plugin? It's a non-optional dependency of Job Config History and the bug JENKINS-18654 probably hid that in unsupported configurations before.

            Show
            danielbeck Daniel Beck added a comment - Did you disable the Maven plugin? It's a non-optional dependency of Job Config History and the bug JENKINS-18654 probably hid that in unsupported configurations before.
            Hide
            bgolding Ben Golding added a comment -

            Updated to core/maven 1.526 and made sure maven is enabled, cannot reproduce the issue any more.

            Show
            bgolding Ben Golding added a comment - Updated to core/maven 1.526 and made sure maven is enabled, cannot reproduce the issue any more.

              People

              • Assignee:
                Unassigned
                Reporter:
                bgolding Ben Golding
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: