<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:40:52 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>[CSHARP-1861] NullReferenceException when using MONGODB-X509 with 2.4.0 driver</title>
                <link>https://jira.mongodb.org/browse/CSHARP-1861</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;NullReferenceException when using MONGODB-X509 authentication with 2.4.0 driver. This leads to TimeoutException. The same application code works with 2.3.0 driver (username is used with both driver versions). Tested with MongoDB 3.2.11 and 3.4.0.&lt;/p&gt;
</description>
                <environment>Windows</environment>
        <key id="336269">CSHARP-1861</key>
            <summary>NullReferenceException when using MONGODB-X509 with 2.4.0 driver</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="robert@mongodb.com">Robert Stam</assignee>
                                    <reporter username="tpaananen">Tommi Paananen</reporter>
                        <labels>
                            <label>regression</label>
                    </labels>
                <created>Mon, 5 Dec 2016 12:18:59 +0000</created>
                <updated>Thu, 8 Dec 2016 20:17:37 +0000</updated>
                            <resolved>Thu, 8 Dec 2016 20:17:37 +0000</resolved>
                                    <version>2.4</version>
                                    <fixVersion>2.4.1</fixVersion>
                                    <component>Connectivity</component>
                    <component>Security</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1452708" author="xgen-internal-githook" created="Thu, 8 Dec 2016 20:17:23 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rstam&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@robertstam.org&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-1861&quot; title=&quot;NullReferenceException when using MONGODB-X509 with 2.4.0 driver&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-1861&quot;&gt;&lt;del&gt;CSHARP-1861&lt;/del&gt;&lt;/a&gt;: Fix NullReferenceException when using X509 authentication.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/788d933f37b54d76a0904255194796ac68c279ff&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/788d933f37b54d76a0904255194796ac68c279ff&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1449138" author="rstam" created="Mon, 5 Dec 2016 14:35:46 +0000"  >&lt;p&gt;We made a recent change to X509 authentication that has a bug in it. See:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-1822&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/CSHARP-1822&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I believe the problem is on this line:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/blob/master/src/MongoDB.Driver.Core/Core/Authentication/MongoDBX509Authenticator.cs#L129&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/blob/master/src/MongoDB.Driver.Core/Core/Authentication/MongoDBX509Authenticator.cs#L129&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The problem is that while we are opening the connection the Description property is still null (it will have a value once the connection is opened).&lt;/p&gt;

&lt;p&gt;Sorry for the problem. I don&apos;t think there is a workaround. We will fix this in 2.4.1. In the meantime please continue using 2.3.0.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="329542">CSHARP-1822</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="145314" name="nullrefexp-mongodb-csharp-driver.txt" size="4186" author="tpaananen" created="Mon, 5 Dec 2016 12:03:58 +0000"/>
                    </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|hrev1z:</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="1431">C# Sprint 46</customfieldvalue>

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