History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: COR-1081
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Patrick Roemer
Reporter: Andy 2003
Votes: 0
Watchers: 1
Operations

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

[NQ] Native query does no longer work with current svn version: InvalidIteratorException

Created: 09/Jan/08 02:14 PM   Updated: 18/Jan/08 08:01 PM
Component/s: Native Queries
Affects Version/s: None
Fix Version/s: 7.1.26

Time Tracking:
Original Estimate: Not Specified
Remaining Estimate: 0h
Time Spent - 4.07h
Time Spent: 4.07h
Time Spent - 4.07h

File Attachments: 1. Text File QueryFailureTestCase.patch (4 kb)

Environment: svn version

Peers: Adriano Verona
Order: 3
Iteration: 26
Original IDS Estimate: 2
Resolution Date: 17/Jan/08 01:03 PM
First Response Date: 17/Jan/08 01:03 PM
Labels:
Participants: Andy 2003 and Patrick Roemer
Number of Attachments: 1
Number of Comments: 1


 Description  « Hide
Some code in the svn is broken. A native query, which worked before does no longer work. I attach a TestCase reproducing this bug.

Here is the Stack trace:

com.db4o.test.nativequery.query.QueryTestCase.test: com.db4o.foundation.InvalidIteratorException
at com.db4o.foundation.Collection4Iterator.validate(Collection4Iterator.java:31)
at com.db4o.foundation.Collection4Iterator.moveNext(Collection4Iterator.java:20)
at com.db4o.internal.query.processor.QCon.removeChildrenJoins(QCon.java:619)
at com.db4o.internal.query.processor.QConObject.removeChildrenJoins(QConObject.java:281)
at com.db4o.internal.query.processor.QConObject.identity(QConObject.java:408)
at com.db4o.internal.query.processor.QConObject.setEvaluationMode(QConObject.java:436)
at com.db4o.internal.query.processor.QConClass.setEvaluationMode(QConClass.java:135)
at com.db4o.internal.query.processor.QQueryBase.checkConstraintsEvaluationMode(QQueryBase.java:448)
at com.db4o.internal.query.processor.QQueryBase.executeLocal(QQueryBase.java:453)
at com.db4o.internal.query.result.IdListQueryResult.loadFromQuery(IdListQueryResult.java:100)
at com.db4o.internal.LocalObjectContainer.executeQuery(LocalObjectContainer.java:800)
at com.db4o.internal.query.processor.QQueryBase.getQueryResult(QQueryBase.java:323)
at com.db4o.internal.query.processor.QQueryBase.execute(QQueryBase.java:308)
at com.db4o.internal.query.NativeQueryHandler.execute(NativeQueryHandler.java:49)
at com.db4o.internal.PartialObjectContainer.query(PartialObjectContainer.java:1278)
at com.db4o.internal.ExternalObjectContainer.query(ExternalObjectContainer.java:123)
at com.db4o.internal.ExternalObjectContainer.query(ExternalObjectContainer.java:119)

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Patrick Roemer - 17/Jan/08 01:03 PM
Was not related to NQ/evaluations at all, but due to a concurrent modification to a collection-backed iterator during SODA joint processing.