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

threaddump does not work with java 6

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • other
    • None
    • Platform: All, OS: All

      threadDump on java6 will 500. should revert to java5 compatible threadDump

      HTTP Status 500 -

      type Exception report

      message

      description The server encountered an internal error () that prevented it from
      fulfilling this request.

      exception

      javax.servlet.ServletException: java.io.IOException: Remote call failed
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:316)
      org.kohsuke.stapler.MetaClass$15.dispatch(MetaClass.java:361)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:307)
      org.kohsuke.stapler.MetaClass$7.doDispatch(MetaClass.java:208)
      org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:307)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:244)
      org.kohsuke.stapler.Stapler.service(Stapler.java:92)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      hudson.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:79)

      root cause

      java.io.IOException: Remote call failed
      hudson.remoting.Channel.call(Channel.java:265)
      hudson.model.Computer.getThreadDump(Computer.java:295)
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      java.lang.reflect.Method.invoke(Method.java:585)
      org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:103)
      org.kohsuke.stapler.MetaClass$7.doDispatch(MetaClass.java:208)
      org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:307)
      org.kohsuke.stapler.MetaClass$15.dispatch(MetaClass.java:361)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:307)
      org.kohsuke.stapler.MetaClass$7.doDispatch(MetaClass.java:208)
      org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:307)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:244)
      org.kohsuke.stapler.Stapler.service(Stapler.java:92)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      hudson.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:79)

      root cause

      java.lang.NoSuchMethodError:
      java.lang.management.ThreadMXBean.isObjectMonitorUsageSupported()Z
      hudson.Functions.getThreadInfos(Functions.java:497)
      hudson.model.Computer$GetThreadDump.call(Computer.java:301)
      hudson.model.Computer$GetThreadDump.call(Computer.java:298)
      hudson.remoting.UserRequest.perform(UserRequest.java:57)
      hudson.remoting.UserRequest.perform(UserRequest.java:22)
      hudson.remoting.Request$2.run(Request.java:178)
      java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      java.lang.Thread.run(Thread.java:595)

            kohsuke Kohsuke Kawaguchi
            arnaud_lacour arnaud_lacour
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: