Skip to content

Cannot pass null as param to Client.invoke #12

Description

@ivantv

We are not able to pass null as param to invoke. A small fix is needed in javaJmx.js:

  function jsParams2JavaParams(params, signature) {
    var javaParams = [];
    signature.forEach(function(className) {
      var value = params.shift();
      if (value!= null && typeof value.getClass !== "function") { // Fix

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions