Julian Leichert created OFBIZ-9729:
--------------------------------------

             Summary: [FB] org.apache.ofbiz.order
                 Key: OFBIZ-9729
                 URL: https://issues.apache.org/jira/browse/OFBIZ-9729
             Project: OFBiz
          Issue Type: Sub-task
          Components: order
    Affects Versions: Trunk
            Reporter: Julian Leichert
            Priority: Minor


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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to