[JAVA-1566] Exception printed when calling FindFluent#first Created: 18/Nov/14 Updated: 01/Apr/16 Resolved: 08/Dec/14 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Async |
| Affects Version/s: | 3.0.0 |
| Fix Version/s: | 3.0.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Nick Scavelli | Assignee: | Jeffrey Yemin |
| Resolution: | Done | Votes: | 0 |
| Labels: | rc | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Getting the following stacktrace (operation still succeeds) when calling FindFluent#first
|
| Comments |
| Comment by Githook User [ 30/Jan/15 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: In AsyncQueryBatchCursor, setting connectionSource to null after release so that it's not double-released if killCursor is called more than once. |
| Comment by Ross Lawley [ 10/Dec/14 ] |
|
This looks to have been resolved. I've also added a general smoke test for the async driver to help catch regressions. |
| Comment by Jeffrey Yemin [ 05/Dec/14 ] |
|
Yeah, if you're on Java 7/8 and aren't using SSL, then you'll get AsynchronousSocketChannelStream, not NettyStream. Thanks. |
| Comment by Nick Scavelli [ 05/Dec/14 ] |
|
Whatever the default one is, NIO one iirc. |
| Comment by Jeffrey Yemin [ 05/Dec/14 ] |
|
nscavell which Stream implementation are you using? |
| Comment by Nick Scavelli [ 05/Dec/14 ] |
|
Looks like this commit fixes things. |
| Comment by Githook User [ 05/Dec/14 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: In AsyncQueryBatchCursor, setting connectionSource to null after release so that it's not double-released if killCursor is called more than once. |
| Comment by Nick Scavelli [ 05/Dec/14 ] |
|
Correction, FindFluent#first doesn't work at all. I'm getting this exception for FindFluent#into when using a limit of 1. |
| Comment by Nick Scavelli [ 04/Dec/14 ] |
|
I was not getting this exception as of Sat commit 5a9393afaa836daf3175675939c1ad92a6bcde7f. Now FindFluent#first is not working, and I'm getting this exception again. |
| Comment by Matt Hurne [ 01/Dec/14 ] |
|
I'm no longer seeing this exception occur in the latest snapshot build. |
| Comment by Ross Lawley [ 20/Nov/14 ] |
| Comment by Nick Scavelli [ 19/Nov/14 ] |
|
Looks like something with the iterable, as it's not just FindFluent#first. |