<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:21:10 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>[DRIVERS-282] Nullpointer when calling &quot;save&quot; GridFSInputFile</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-282</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;If I get an instance of GridFSInputFile from the method createFile() of GridFSInputFile, MongoDB Java Driver assigns null to the attribute _in.&lt;/p&gt;

&lt;p&gt;So, when I want to call the &quot;save&quot; method from GridFSInputFile, I always get a NullPointerException (line 295 - GridFSInputFile) because this value is null, and I cannot set it anywhere (the only place is the constructor and with by the method createFile() is always null)&lt;/p&gt;

&lt;p&gt;Does it make sense to have an method createFile without parameters if I always get a NullPointer when I try to save?&lt;/p&gt;

&lt;p&gt;Many thanks.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Paco.&lt;/p&gt;</description>
                <environment>Production - MongoJavaDriver 2.14.1</environment>
        <key id="259845">DRIVERS-282</key>
            <summary>Nullpointer when calling &quot;save&quot; GridFSInputFile</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="barrie">Barrie Segal</assignee>
                                    <reporter username="pacobenitezchico">Francisco Manuel Benitez Chico</reporter>
                        <labels>
                    </labels>
                <created>Thu, 21 Jan 2016 11:51:11 +0000</created>
                <updated>Mon, 15 Apr 2019 17:28:09 +0000</updated>
                            <resolved>Thu, 21 Jan 2016 12:14:17 +0000</resolved>
                                                                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1149713" author="christkv" created="Thu, 21 Jan 2016 12:14:17 +0000"  >&lt;p&gt;wrongly filed&lt;/p&gt;</comment>
                            <comment id="1149683" author="pacobenitezchico" created="Thu, 21 Jan 2016 11:55:00 +0000"  >&lt;p&gt;Sorry...wrong project, please close it &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/wink.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;I opened in the correct project: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2096&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/JAVA-2096&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks!&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|hshklz:</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_11150" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>SERVER fixVersion</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10942"><![CDATA[2.6]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>