DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to. DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued
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

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

Andy Jefferson added a comment - 11/Nov/10 11:34 AM
SVN trunk and branches/2.1 have this

Andy Jefferson made changes - 11/Nov/10 11:34 AM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 13/Nov/10 12:17 PM
Status Resolved [ 5 ] Closed [ 6 ]