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

ParserConfigurator#applyConfiguration() should not refer the Jenkins class

XMLWordPrintable

      "SlaveComputer.getChannelToMaster()" should be used instead. Jenkins instance retrieval is a heavy operation which may cause timeouts while classloading.

       

      <clinit>: Failed to load Jenkins.class
      java.lang.ExceptionInInitializerError
          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 java.lang.Class.getEnumConstantsShared(Class.java:3320)
          at java.lang.Class.getEnumConstants(Class.java:3297)
          at jenkins.model.Jenkins.<clinit>(Jenkins.java:4805)
          at hudson.util.io.ParserConfigurator.applyConfiguration(ParserConfigurator.java:78)
          at hudson.tasks.junit.SuiteResult.parse(SuiteResult.java:124)
          at hudson.tasks.junit.TestResult.parse(TestResult.java:301)
          at hudson.tasks.junit.TestResult.parsePossiblyEmpty(TestResult.java:244)
          at hudson.tasks.junit.TestResult.parse(TestResult.java:175)
          at hudson.tasks.junit.TestResult.parse(TestResult.java:154)
          at hudson.tasks.junit.TestResult.<init>(TestResult.java:126)
          at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:132)
          at 

            Unassigned Unassigned
            oleg_nenashev Oleg Nenashev
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: