Issue Details (XML | Word | Printable)

Key: NUCCORE-593
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DataNucleus Core

Query InMemory evaluator doesn't cater for no results and used by aggregate

Created: 11/Nov/10 11:30 AM   Updated: 13/Nov/10 12:17 PM   Resolved: 11/Nov/10 11:34 AM
Component/s: Queries
Affects Version/s: 2.1.2, 2.2.0.m2
Fix Version/s: 2.1.3, 2.2.0.m3


 Description  « Hide
If we have a JDOQL such as
SELECT COUNT() FROM MyClass WHERE field == 'impossibleValue'
we get an ArrayIndexOutOfBoundsException, presumably because there are no results

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 11/Nov/10 11:34 AM
SVN trunk and branches/2.1 have this