Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-30327

Fix Connect Report unit test

    Details

    • Team:
      PLATFORM
    • Sprint:
      nxplatform #32
    • Story Points:
      1

      Description

      Unit tests are failing due to:

      java.lang.IllegalArgumentException: Operation dumpAllThreads on MBean java.lang:type=Threading is overloaded. Signatures found: (boolean,boolean,int),(boolean,boolean). Use a signature when specifying the operation.
      	at org.jolokia.handler.ExecHandler.extractOperationTypes(ExecHandler.java:138)
      	at org.jolokia.handler.ExecHandler.doHandleRequest(ExecHandler.java:84)
      	at org.jolokia.handler.ExecHandler.doHandleRequest(ExecHandler.java:40)
      	at org.jolokia.handler.JsonRequestHandler.handleRequest(JsonRequestHandler.java:89)
      	at org.jolokia.backend.MBeanServerExecutorLocal.handleRequest(MBeanServerExecutorLocal.java:109)
      	at org.jolokia.backend.MBeanServerHandler.dispatchRequest(MBeanServerHandler.java:159)
      	at org.jolokia.backend.LocalRequestDispatcher.dispatchRequest(LocalRequestDispatcher.java:99)
      	at org.jolokia.backend.BackendManager.callRequestDispatcher(BackendManager.java:413)
      	at org.jolokia.backend.BackendManager.handleRequest(BackendManager.java:158)
      	at org.nuxeo.connect.tools.report.management.MXComponent$RequestBuilder.run(MXComponent.java:106)
      	at org.nuxeo.connect.tools.report.management.MxThreadDumpReport.write(MxThreadDumpReport.java:33)
      	at org.nuxeo.connect.tools.report.ICanReportTest$When.i_run_the_report(ICanReportTest.java:194)
      	at org.nuxeo.connect.tools.report.ICanReportTest$When$ByteBuddy$NijDLKwx.i_run_the_report$accessor$Z88RFlEx(Unknown Source)
      	at org.nuxeo.connect.tools.report.ICanReportTest$When$ByteBuddy$NijDLKwx$auxiliary$2WnAjFrX.call(Unknown Source)
      

      The new method dumpAllThreads(boolean,boolean,int) was introduced by https://bugs.openjdk.java.net/browse/JDK-8251494

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                PagerDuty

                Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.