Uploaded image for project: 'transportpce'
  1. transportpce
  2. TRNSPRTPCE-716

getPM RPC may generate NPE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Chlorine, Argon
    • None
    • None
    • None

      If we invoke the getPM RPC with as input parameter the node-id of a non-mounted device, the current implementation generates a NPE.

      Moreover, there is no error message nor rpc result to help user to understand where the issue comes from.

      1) Secure the RPC input parameters

      2) return a RPC failed result instead of returning a RPC success

            gthouenon Gilles Thouenon
            gthouenon Gilles Thouenon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day
                1d