<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:56:09 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[JAVA-2030] GridFS causes java.lang.ClassCastException</title>
                <link>https://jira.mongodb.org/browse/JAVA-2030</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;The line &lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/blob/169aa0c5db4387874b62005672ebdf529e9905c9/driver/src/main/com/mongodb/client/gridfs/GridFSFindIterableImpl.java#L125&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/blob/169aa0c5db4387874b62005672ebdf529e9905c9/driver/src/main/com/mongodb/client/gridfs/GridFSFindIterableImpl.java#L125&lt;/a&gt; causes the exception java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long on Android&lt;/p&gt;</description>
                <environment>&lt;br/&gt;
&lt;br/&gt;
</environment>
        <key id="238341">JAVA-2030</key>
            <summary>GridFS causes java.lang.ClassCastException</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="ross@mongodb.com">Ross Lawley</assignee>
                                    <reporter username="leisim">Simon</reporter>
                        <labels>
                            <label>regression</label>
                    </labels>
                <created>Sat, 7 Nov 2015 08:42:04 +0000</created>
                <updated>Fri, 1 Apr 2016 20:52:57 +0000</updated>
                            <resolved>Mon, 9 Nov 2015 22:12:53 +0000</resolved>
                                    <version>3.1.0</version>
                                    <fixVersion>3.1.1</fixVersion>
                    <fixVersion>3.2.0</fixVersion>
                                    <component>GridFS</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1086588" author="jeff.yemin" created="Thu, 12 Nov 2015 14:11:59 +0000"  >&lt;p&gt;Closing for 3.1.1 release.&lt;/p&gt;</comment>
                            <comment id="1084034" author="ross@10gen.com" created="Tue, 10 Nov 2015 02:45:42 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=leisim&quot; class=&quot;user-hover&quot; rel=&quot;leisim&quot;&gt;leisim&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;We now allow any number type and then get the int or the long value.  See: &lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/b67650fede9bac054fefa6a9319bec25a32766ac&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;b67650f &lt;/a&gt; for the full fix.&lt;/p&gt;

&lt;p&gt;Ross&lt;/p&gt;</comment>
                            <comment id="1083841" author="leisim" created="Mon, 9 Nov 2015 22:38:23 +0000"  >&lt;p&gt;Hiw did you fix the problem?&lt;/p&gt;</comment>
                            <comment id="1082511" author="leisim" created="Sat, 7 Nov 2015 14:28:27 +0000"  >&lt;p&gt;It was uploaded with a software called &quot;Mongo Management Studio&quot;...&lt;/p&gt;</comment>
                            <comment id="1082510" author="ross@10gen.com" created="Sat, 7 Nov 2015 14:26:56 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=leisim&quot; class=&quot;user-hover&quot; rel=&quot;leisim&quot;&gt;leisim&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks for the ticket - how was the file loaded into GridFS in the first place?  Was it through another API or an older version of the driver?&lt;/p&gt;

&lt;p&gt;Ross&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hre87j:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="779">Java Sprint 28</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>