[
https://issues.apache.org/jira/browse/OFBIZ-9818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16289273#comment-16289273 ]
Julian Leichert commented on OFBIZ-9818:
----------------------------------------
nextReIndex is set multiple times, but apparently never used.
Should it be removed?
> [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)