<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:55:04 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-1620] 2.12.x breaks compatibility with mongoDB v1.8</title>
                <link>https://jira.mongodb.org/browse/JAVA-1620</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;Using the Java driver 2.12.x against a mongoDB version 1.8 fails at startup due to com.mongodb.MongoTimeoutException caused by java.lang.NullPointerException (see stack trace below).&lt;/p&gt;

&lt;p&gt;The root cause seems to be the expected existence of &quot;versionArray&quot; in com.mongodb.ServerStateNotifier.getVersion(final CommandResult buildInfoResult) (v. 2.12.0, later moved to ServerMonitor.getVersion in 2.12.2)&lt;/p&gt;

&lt;p&gt;Apparently, mongoDB v1.8 doesn&apos;t provide the version as array.&lt;/p&gt;

&lt;p&gt;Is having a structured ServerVersion class really worth breaking backwards compatibility? Looks rather accidental to me.&lt;/p&gt;

&lt;p&gt;com.mongodb.MongoTimeoutException: Timed out after 10000 ms while waiting to connect. Client view of cluster state is {type=Unknown, servers=&lt;span class=&quot;error&quot;&gt;&amp;#91;{address=127.0.0.1:27017, type=Unknown, state=Connecting, exception={java.lang.NullPointerException}}&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at com.mongodb.BaseCluster.getDescription(BaseCluster.java:128)&lt;br/&gt;
	at com.mongodb.DBTCPConnector.getClusterDescription(DBTCPConnector.java:396)&lt;br/&gt;
	at com.mongodb.DBTCPConnector.getType(DBTCPConnector.java:569)&lt;br/&gt;
	at com.mongodb.DBTCPConnector.isMongosConnection(DBTCPConnector.java:370)&lt;br/&gt;
	at com.mongodb.Mongo.isMongosConnection(Mongo.java:645)&lt;br/&gt;
	at com.mongodb.DBCollection.findOne(DBCollection.java:865)&lt;br/&gt;
	at com.mongodb.DBCollection.findOne(DBCollection.java:843)&lt;br/&gt;
	at com.mongodb.DBCollection.findOne(DBCollection.java:789)&lt;br/&gt;
	at com.sap.sse.security.userstore.mongodb.impl.DomainObjectFactoryImpl.loadSettingTypes(DomainObjectFactoryImpl.java:199)&lt;br/&gt;
	at com.sap.sse.security.userstore.mongodb.UserStoreImpl.&amp;lt;init&amp;gt;(UserStoreImpl.java:55)&lt;br/&gt;
	at com.sap.sse.security.userstore.mongodb.impl.Activator.start(Activator.java:30)&lt;br/&gt;
	at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:771)&lt;br/&gt;
	at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)&lt;br/&gt;
	at java.security.AccessController.doPrivileged(Native Method)&lt;br/&gt;
	at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:764)&lt;br/&gt;
	at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:721)&lt;br/&gt;
	at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:936)&lt;br/&gt;
	at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:319)&lt;br/&gt;
	at org.eclipse.osgi.container.Module.doStart(Module.java:571)&lt;br/&gt;
	at org.eclipse.osgi.container.Module.start(Module.java:439)&lt;br/&gt;
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)&lt;br/&gt;
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1562)&lt;br/&gt;
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)&lt;br/&gt;
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)&lt;br/&gt;
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)&lt;br/&gt;
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)&lt;br/&gt;
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)&lt;/p&gt;</description>
                <environment></environment>
        <key id="178909">JAVA-1620</key>
            <summary>2.12.x breaks compatibility with mongoDB v1.8</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="-1">Unassigned</assignee>
                                    <reporter username="jens.rommel">Jens Rommel</reporter>
                        <labels>
                    </labels>
                <created>Thu, 15 Jan 2015 13:46:37 +0000</created>
                <updated>Thu, 15 Jan 2015 14:18:14 +0000</updated>
                            <resolved>Thu, 15 Jan 2015 14:11:17 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="805255" author="jens.rommel" created="Thu, 15 Jan 2015 14:18:14 +0000"  >&lt;p&gt;Thanks Jeff!&lt;/p&gt;

&lt;p&gt;We&apos;re going to upgrade our mongodb anyway. We just came across this issue during migration and thought it might have just been accidental.&lt;/p&gt;</comment>
                            <comment id="805246" author="jeff.yemin" created="Thu, 15 Jan 2015 14:11:17 +0000"  >&lt;p&gt;Hi Jens,&lt;/p&gt;

&lt;p&gt;The 2.12 driver series is not tested with MongoDB 1.8, as that version is no longer supported, so you&apos;ll either have to use an older driver or upgrade to a more recent version of the server.  &lt;/p&gt;

&lt;p&gt;You can see from our &lt;a href=&quot;https://jenkins.10gen.com/view/Java/job/mongo-java-driver-test/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;test matrix&lt;/a&gt; that we test back to server version 2.2.&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|hs5hiv:</customfieldvalue>

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