You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2026/09/08 11:40:00 UTC
[jira] [Commented] (OFBIZ-13556) lookupParty crashes on empty search criteria
[ https://issues.apache.org/jira/browse/OFBIZ-13556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18112680#comment-18112680 ]
ASF subversion and git services commented on OFBIZ-13556:
---------------------------------------------------------
Commit 4de1d2eb80c836c00d5965e52b3e98da6e384eee in ofbiz-framework's branch refs/heads/release24.09 from Mridul Pathak
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=4de1d2eb80 ]
Fixed: lookupParty crashes on empty search criteria (OFBIZ-13556)
lookupParty crashed with a NullPointerException on empty search criteria, since performFindParty (the shared service it now delegates to, replacing minilang's self-contained <find-by-and>) only populates its listIt result under certain input conditions, and no null-check was added for the remaining case. Also restores minilang's explicit "No match" placeholder entry on a zero-match search, which the conversion silently dropped in favor of an empty result list. The EntityListIterator is also explicitly closed after use to release its underlying database cursor.
> lookupParty crashes on empty search criteria
> --------------------------------------------
>
> Key: OFBIZ-13556
> URL: https://issues.apache.org/jira/browse/OFBIZ-13556
> Project: OFBiz
> Issue Type: Bug
> Components: party
> Affects Versions: Upcoming Branch, 24.09.07
> Reporter: Mridul Pathak
> Assignee: Mridul Pathak
> Priority: Major
>
> Also drops the original "no match" placeholder on zero results.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)