<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:52:44 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-636] Massive amounts of Null Pointer Exceptions logged by Replica Set Updater Thread</title>
                <link>https://jira.mongodb.org/browse/JAVA-636</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;I have seen this error in both 2.7.3 and 2.9.0 when connecting to a replica set that seems to be up and running and in good status.&lt;/p&gt;

&lt;p&gt;java.lang.NullPointerException&lt;br/&gt;
        at com.mongodb.OutMessage.query(OutMessage.java:79)&lt;br/&gt;
        at com.mongodb.OutMessage.query(OutMessage.java:75)&lt;br/&gt;
        at com.mongodb.DBPort.findOne(DBPort.java:142)&lt;br/&gt;
        at com.mongodb.DBPort.runCommand(DBPort.java:148)&lt;br/&gt;
        at com.mongodb.ConnectionStatus$UpdatableNode.update(ConnectionStatus.java:184)&lt;br/&gt;
        at com.mongodb.ReplicaSetStatus$UpdatableReplicaSetNode.update(ReplicaSetStatus.java:614)&lt;br/&gt;
        at com.mongodb.ReplicaSetStatus$Updater.updateAll(ReplicaSetStatus.java:766)&lt;br/&gt;
        at com.mongodb.ReplicaSetStatus$Updater.run(ReplicaSetStatus.java:736)&lt;/p&gt;

&lt;p&gt;We have seen this error occur intermittently which will quickly fill up our logs and roll them continuously. It is often seen with the &quot;server seen down&quot; error, but then this error takes over the logs.&lt;/p&gt;
</description>
                <environment></environment>
        <key id="49101">JAVA-636</key>
            <summary>Massive amounts of Null Pointer Exceptions logged by Replica Set Updater Thread</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="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="dtaylor@marketlive.com">David Taylor</reporter>
                        <labels>
                            <label>java</label>
                    </labels>
                <created>Fri, 31 Aug 2012 23:46:51 +0000</created>
                <updated>Fri, 7 Apr 2023 12:57:49 +0000</updated>
                            <resolved>Wed, 5 Sep 2012 00:10:56 +0000</resolved>
                                    <version>2.9.0</version>
                                                    <component>Cluster Management</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="160381" author="jeff.yemin" created="Wed, 5 Sep 2012 00:10:56 +0000"  >&lt;p&gt;This duplicates &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-581&quot; title=&quot;Background threads continue to run after a web app is undeployed unless Mongo#close is called&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-581&quot;&gt;&lt;del&gt;JAVA-581&lt;/del&gt;&lt;/a&gt;, so I&apos;m going to close it.  Thanks for the report.&lt;/p&gt;</comment>
                            <comment id="160371" author="dtaylor@marketlive.com" created="Tue, 4 Sep 2012 23:38:11 +0000"  >&lt;p&gt;I called close() in the shutdown hook of my spring container for all my Mongo objects, and that fixed the problem. I am no longer seeing the exceptions. &lt;/p&gt;

&lt;p&gt;I&apos;ll leave the issue open though, as I think its something you&apos;d want to fix if possible. The app is running on Glassfish 2.1, which could have some side-effects as to why your threads get in this state &lt;/p&gt;</comment>
                            <comment id="159634" author="jeff.yemin" created="Sat, 1 Sep 2012 03:10:30 +0000"  >&lt;p&gt;Are you running in an application server and redeploying a web app right before this starts to happen?  If so, make sure your app is calling the close method on all Mongo instances when the web app is undeployed.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="40444">JAVA-581</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <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|hrg83r:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8218</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>