Bug 107713

Summary: NPE with addInSubqueryFilter on non-existant query
Product: [Retired] Red Hat Web Application Framework Reporter: Daniel BerrangĂ© <berrange>
Component: persistenceAssignee: ccm-bugs-list
Status: CLOSED WONTFIX QA Contact: Jon Orris <jorris>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-02 17:24:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 108447    

Description Daniel Berrangé 2003-10-22 13:12:19 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.9 (X11; Linux i686; U;) Gecko/20030314

Description of problem:
If you the query name you pass to addInSubqueryFilter doesn't exist in the
metadata root, then c.a.persistence.InFilter throws an NPE. This isn't much help
in figuring out which query doesn't exist. P4 change 37244 makes it throw a
PersistenceException detailing the name of the missing query instead.

This should be integrated with 6.0


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Add an subquery filter that doesn't exist
2. 
3.
    

Actual Results:  NPE

Expected Results:  PersistenceException with name of missing query.


Additional info:

Comment 1 Daniel Berrangé 2006-09-02 17:24:18 UTC
Closing old tickets