Bug 107713 - NPE with addInSubqueryFilter on non-existant query
Summary: NPE with addInSubqueryFilter on non-existant query
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Web Application Framework
Classification: Retired
Component: persistence
Version: 6.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: ccm-bugs-list
QA Contact: Jon Orris
URL:
Whiteboard:
Depends On:
Blocks: 108447
TreeView+ depends on / blocked
 
Reported: 2003-10-22 13:12 UTC by Daniel Berrangé
Modified: 2007-04-18 16:58 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-09-02 17:24:18 UTC
Embargoed:


Attachments (Terms of Use)

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



Note You need to log in before you can comment on or make changes to this bug.