<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:58:42 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-3065] Although documented as @Nullable, passing a null filter to FindIterable#find throws a NullPointerException</title>
                <link>https://jira.mongodb.org/browse/JAVA-3065</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;Although documented (&lt;a href=&quot;https://mongodb.github.io/mongo-java-driver/3.5/javadoc/com/mongodb/async/client/FindIterable.html#filter-org.bson.conversions.Bson-&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://mongodb.github.io/mongo-java-driver/3.5/javadoc/com/mongodb/async/client/FindIterable.html#filter-org.bson.conversions.Bson-&lt;/a&gt;) as @Nullable, passing a null filter to FindIterable#find causes a NullPointerException to be thrown:&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;at com.mongodb.internal.operation.Operations.createFindOperation(Operations.java:141)&lt;br/&gt;
 at com.mongodb.internal.operation.Operations.find(Operations.java:129)&lt;br/&gt;
 at com.mongodb.internal.operation.AsyncOperations.find(AsyncOperations.java:84)&lt;br/&gt;
 at com.mongodb.async.client.FindIterableImpl.createFindOperation(FindIterableImpl.java:228)&lt;br/&gt;
 at com.mongodb.async.client.FindIterableImpl.asAsyncReadOperation(FindIterableImpl.java:224)&lt;br/&gt;
 at com.mongodb.async.client.MongoIterableImpl.batchCursor(MongoIterableImpl.java:161)&lt;br/&gt;
 at com.mongodb.async.client.MongoIterableSubscription.requestInitialData(MongoIterableSubscription.java:46)&lt;br/&gt;
 at com.mongodb.async.client.AbstractSubscription.tryRequestInitialData(AbstractSubscription.java:151)&lt;br/&gt;
 at com.mongodb.async.client.AbstractSubscription.request(AbstractSubscription.java:84)&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="629216">JAVA-3065</key>
            <summary>Although documented as @Nullable, passing a null filter to FindIterable#find throws a NullPointerException</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="13201">Fixed</resolution>
                                        <assignee username="ross@mongodb.com">Ross Lawley</assignee>
                                    <reporter username="etay2000">Eric Tray</reporter>
                        <labels>
                    </labels>
                <created>Mon, 5 Nov 2018 17:16:08 +0000</created>
                <updated>Sat, 28 Oct 2023 11:22:33 +0000</updated>
                            <resolved>Fri, 9 Nov 2018 09:24:09 +0000</resolved>
                                    <version>3.8.2</version>
                                    <fixVersion>3.9.1</fixVersion>
                                    <component>API</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2054672" author="xgen-internal-githook" created="Wed, 7 Nov 2018 16:33:52 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Ross Lawley&apos;, &apos;email&apos;: &apos;ross.lawley@gmail.com&apos;, &apos;username&apos;: &apos;rozza&apos;}
&lt;p&gt;Message: Ensure FindIterable.filter can handle nullable input&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-3065&quot; title=&quot;Although documented as @Nullable, passing a null filter to FindIterable#find throws a NullPointerException&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-3065&quot;&gt;&lt;del&gt;JAVA-3065&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: 3.9.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/77bddd6b3fd3f2c2d6fd31998d1f094a730466ec&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/77bddd6b3fd3f2c2d6fd31998d1f094a730466ec&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2054668" author="xgen-internal-githook" created="Wed, 7 Nov 2018 16:32:40 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Ross Lawley&apos;, &apos;email&apos;: &apos;ross.lawley@gmail.com&apos;, &apos;username&apos;: &apos;rozza&apos;}
&lt;p&gt;Message: Ensure FindIterable.filter can handle nullable input&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-3065&quot; title=&quot;Although documented as @Nullable, passing a null filter to FindIterable#find throws a NullPointerException&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-3065&quot;&gt;&lt;del&gt;JAVA-3065&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/efcc79bd60bfdfa6d62588c3e0dd2afe526fd4c6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/efcc79bd60bfdfa6d62588c3e0dd2afe526fd4c6&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2054410" author="ross@10gen.com" created="Wed, 7 Nov 2018 14:15:05 +0000"  >&lt;p&gt;Thanks &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=etay2000&quot; class=&quot;user-hover&quot; rel=&quot;etay2000&quot;&gt;etay2000&lt;/a&gt; for the ticket, that looks like a regression.&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|hu2cjr:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>