<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:57:54 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-2714] EnumCodec stop to work</title>
                <link>https://jira.mongodb.org/browse/JAVA-2714</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;It seems that the enum codec stop to work in 3.6.0&lt;/p&gt;

&lt;p&gt;When I use the MongoStorageTest class usin mongo-java-driver 3.5.0&lt;br/&gt;
the test work fine (object is inserted)&lt;br/&gt;
When I change the driver to 3.6.0 I got a nullPointerException&lt;/p&gt;

&lt;p&gt;java.lang.NullPointerException at org.bson.codecs.pojo.PojoCodecImpl.shouldSpecialize(PojoCodecImpl.java:337)&lt;/p&gt;

&lt;p&gt;After trying to debug a little bit it appear that the enum BLABLA is considered having class java.lang.class when converted to TypeWithTypeParameters so the EnumPropertyCodecProvider return null instead of an instance of EnumCodec&lt;/p&gt;</description>
                <environment></environment>
        <key id="474703">JAVA-2714</key>
            <summary>EnumCodec stop to work</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="f-renout">f-renout</reporter>
                        <labels>
                    </labels>
                <created>Wed, 20 Dec 2017 15:16:28 +0000</created>
                <updated>Wed, 20 Dec 2017 16:26:26 +0000</updated>
                            <resolved>Wed, 20 Dec 2017 16:26:26 +0000</resolved>
                                    <version>3.6.0</version>
                                                    <component>POJO</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1756906" author="jeff.yemin" created="Wed, 20 Dec 2017 16:26:26 +0000"  >&lt;p&gt;Glad to hear it.&lt;/p&gt;</comment>
                            <comment id="1756847" author="f-renout" created="Wed, 20 Dec 2017 15:52:04 +0000"  >&lt;p&gt;I tried and the SNAPSHOT version fixes the issue&lt;/p&gt;</comment>
                            <comment id="1756809" author="jeff.yemin" created="Wed, 20 Dec 2017 15:24:36 +0000"  >&lt;p&gt;This could be a duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2709&quot; title=&quot;Pojo with method returning an Enum - NPE / &amp;quot;Can&amp;#39;t find a codec for class&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2709&quot;&gt;&lt;del&gt;JAVA-2709&lt;/del&gt;&lt;/a&gt;, which has been fixed and is scheduled for release in 3.6.1.  If you&apos;d like you can test against the 3.6.1-SNAPSHOT build, available at &lt;a href=&quot;https://oss.sonatype.org/content/repositories/snapshots&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://oss.sonatype.org/content/repositories/snapshots&lt;/a&gt; to see if it fixes the issue.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="472853">JAVA-2709</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="174076" name="BLABLA.java" size="81" author="f-renout" created="Wed, 20 Dec 2017 15:03:56 +0000"/>
                            <attachment id="174078" name="MongoStorageTest.java" size="1723" author="f-renout" created="Wed, 20 Dec 2017 15:03:41 +0000"/>
                            <attachment id="174077" name="Toto.java" size="527" author="f-renout" created="Wed, 20 Dec 2017 15:03:47 +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|hte7j3:</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>