Fix org scan errors in GitHub wire mock tests

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Blue Ocean 1.2-beta3, Blue Ocean 1.2-beta4, Blue Ocean 1.2, Blue Ocean 1.3

      Github org folder wire mock tests trigger organization folder scanning that reports error. Its possibly due to incorrect commons io charset library. While tests themselves continue passing for what they test, these errors should be fixed to show underlying indexing by branch source plugin. As reported by teilo.

      Jul 18, 2017 11:01:39 PM jenkins.scm.api.SCMSourceEvent$DispatcherImpl log
      WARNING: SCMEventListener.onSCMSourceEvent(SCMSourceEvent) jenkins.branch.MultiBranchProject$SCMEventListenerImpl@67b9d6f3 propagated an exception
      java.lang.NoClassDefFoundError: org/apache/commons/io/Charsets
              at jenkins.branch.MultiBranchProject$SCMEventListenerImpl.globalEventsListener(MultiBranchProject.java:1098)
              at jenkins.branch.MultiBranchProject$SCMEventListenerImpl.onSCMSourceEvent(MultiBranchProject.java:1661)
              at jenkins.scm.api.SCMSourceEvent$DispatcherImpl.fire(SCMSourceEvent.java:179)
              at jenkins.scm.api.SCMSourceEvent$DispatcherImpl.fire(SCMSourceEvent.java:162)
              at jenkins.scm.api.SCMEvent$Dispatcher.run(SCMEvent.java:481)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
              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.ClassNotFoundException: org.apache.commons.io.Charsets
              at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
              at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
              ... 12 more

            Assignee:
            Vivek Pandey
            Reporter:
            Vivek Pandey
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: