[JAVA-378] ArrayIndexOutOfBoundsException at GridFSInputFile.java:353 when using chunksize > 256KB in GridFS Created: 11/Jun/11 Updated: 18/Jun/12 Resolved: 15/May/12 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | API |
| Affects Version/s: | 2.6.3 |
| Fix Version/s: | 2.8.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Joong Onn | Assignee: | Jeffrey Yemin |
| Resolution: | Done | Votes: | 2 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
To produce the exception: Mongo mongo = new Mongo("localhost", 27017); os.close(); It appears that the private _buffer[] in GridFSInputFile.java should be resized as well in the setChunkSize(long _chunkSize) method. Eg. — |
| Comments |
| Comment by Jeffrey Yemin [ 18/Jun/12 ] |
|
Closing for 2.8.0 release. |
| Comment by auto [ 14/May/12 ] |
|
Author: {u'login': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: |
| Comment by auto [ 12/May/12 ] |
|
Author: {u'login': u'rgnitz', u'name': u'Ryan', u'email': u'rgnitz@gmail.com'}Message: Merge pull request #75 from lesnail/master
|
| Comment by auto [ 12/May/12 ] |
|
Author: {u'login': u'', u'name': u'lesnail', u'email': u'thomas@scalableminds.com'}Message: |