[ 
https://issues.apache.org/jira/browse/OFBIZ-9818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Brohl closed OFBIZ-9818.
--------------------------------
    Resolution: Not A Problem

I'll close as not a problem because it is clear that the initial nextReIndex 
variable is initialized with null.

It is questionable why nextReIndex is calculated so many times in the code but 
never seems to be really used somewhere but this is another issue...

> [FB] Package org.apache.ofbiz.content.search
> --------------------------------------------
>
>                 Key: OFBIZ-9818
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9818
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: content
>    Affects Versions: Trunk
>            Reporter: Julian Leichert
>            Assignee: Michael Brohl
>            Priority: Minor
>         Attachments: 
> OFBIZ-9818_org.apache.ofbiz.content.search_bugfixes.patch, 
> OFBIZ-9818_org.apache.ofbiz.content.search_bugfixes.patch
>
>
> ProductDocument.java:90, NP_LOAD_OF_KNOWN_NULL_VALUE
> - NP: Load of known null value in 
> org.apache.ofbiz.content.search.ProductDocument.prepareDocument(Delegator)
> The variable referenced at this point is known to be null due to an earlier 
> check against null. Although this is valid, it might be a mistake (perhaps 
> you intended to refer to a different variable, or perhaps the earlier check 
> to see if the variable is null should have been a check to see if it was 
> non-null). 



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

Reply via email to