Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • Trunk
    • 17.12.01
    • order
    • None

    Description

      OrderManagerEvents.java:101, NP_NULL_ON_SOME_PATH

      • NP: Possible null pointer dereference of results in org.apache.ofbiz.order.OrderManagerEvents.processOfflinePayments(HttpServletRequest, HttpServletResponse)

      There is a branch of statement that, if executed, guarantees that a null value will be dereferenced, which would generate a NullPointerException when the code is executed. Of course, the problem might be that the branch or statement is infeasible and that the null pointer exception can't ever be executed; deciding that is beyond the ability of FindBugs.

      OrderManagerEvents.java:212, NP_NULL_ON_SOME_PATH

      • NP: Possible null pointer dereference of results in org.apache.ofbiz.order.OrderManagerEvents.receiveOfflinePayment(HttpServletRequest, HttpServletResponse)

      There is a branch of statement that, if executed, guarantees that a null value will be dereferenced, which would generate a NullPointerException when the code is executed. Of course, the problem might be that the branch or statement is infeasible and that the null pointer exception can't ever be executed; deciding that is beyond the ability of FindBugs.

      Attachments

        Activity

          People

            mbrohl Michael Brohl
            jleichert Julian Leichert
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: