<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:00:41 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-3884] Coverity analysis defect 116506: Dereference null return value</title>
                <link>https://jira.mongodb.org/browse/JAVA-3884</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;Dereference null return value&lt;/p&gt;

&lt;p&gt; If the function actually returns a null value, a NullPointerException will be thrown. Return value of function which returns null is dereferenced without checking&lt;br/&gt;
/bson/src/main/org/bson/codecs/pojo/PojoBuilderHelper.java:121: NULL_RETURNS 116506 &quot;getSuperclass&quot; returns &quot;null&quot; (checked 2 out of 9 times).&lt;br/&gt;
/bson/src/main/org/bson/codecs/pojo/PojoBuilderHelper.java:121: NULL_RETURNS 116506 Assigning: &quot;currentClass&quot; = &quot;null&quot; return value from &quot;getSuperclass&quot;.&lt;br/&gt;
/bson/src/main/org/bson/codecs/pojo/PojoBuilderHelper.java:58: NULL_RETURNS 116506 Calling a method on null object &quot;currentClass&quot;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1535102">JAVA-3884</key>
            <summary>Coverity analysis defect 116506: Dereference null return value</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="13202">Works as Designed</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="xgen-internal-coverity">Coverity Collector User</reporter>
                        <labels>
                    </labels>
                <created>Thu, 5 Nov 2020 20:49:02 +0000</created>
                <updated>Fri, 27 Oct 2023 13:20:57 +0000</updated>
                            <resolved>Wed, 25 Nov 2020 17:59:53 +0000</resolved>
                                                                    <component>Internal</component>
                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="3505696" author="jeff.yemin" created="Wed, 25 Nov 2020 17:59:53 +0000"  >&lt;p&gt;Coverity doesn&apos;t realize that we&apos;re dealing with a class hierarchy and that the value of Class.getSuperclass for any given instance of Class can&apos;t change.  So once we check that getSuperclass is not null, we know that it will remain not null.&lt;/p&gt;</comment>
                            <comment id="3478248" author="xgen-internal-coverity" created="Thu, 5 Nov 2020 20:49:04 +0000"  >&lt;p&gt;A new defect has been detected and assigned to jeff.yemin in Coverity Connect.&lt;br/&gt;
              &lt;a href=&quot;http://coverity.mongodb.com/query/defects.htm?project=Java+Driver&amp;amp;cid=116506&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://coverity.mongodb.com/query/defects.htm?project=Java+Driver&amp;amp;cid=116506&lt;/a&gt; &lt;br/&gt;
              The defect was flagged by checker NULL_RETURNS in &lt;br/&gt;
                    file /bson/src/main/org/bson/codecs/pojo/PojoBuilderHelper.java &lt;br/&gt;
                    function org.bson.codecs.pojo.PojoBuilderHelper.configureClassModelBuilder(org.bson.codecs.pojo.ClassModelBuilder, java.lang.Class) &lt;br/&gt;
              and this ticket was created by milkie &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|hy2ag7:</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>