[JAVA-1357] Fix numberFormatException when providing server address without port Created: 08/Aug/14  Updated: 30/Jan/15  Resolved: 12/Aug/14

Status: Closed
Project: Java Driver
Component/s: Error Handling
Affects Version/s: None
Fix Version/s: 2.13.0, 3.0.0

Type: Improvement Priority: Minor - P4
Reporter: Ross Lawley Assignee: Ross Lawley
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

See the pull request: https://github.com/mongodb/mongo-java-driver/pull/229



 Comments   
Comment by Githook User [ 30/Jan/15 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Fixed NumberFormat Exception when uri is missing the port

JAVA-913 JAVA-1357
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/0b2734a76536ecfdcbbba2b3a35496410ae87566

Comment by Githook User [ 12/Aug/14 ]

Author:

{u'username': u'neerajbhatt', u'name': u'neerajbhatt', u'email': u'neerajbhatt2000@gmail.com'}

Message: Fixing NumberFormatException when parsing http:// address

https://jira.mongodb.org/browse/JAVA-913 Fixed, When http:// address is
given to MongoClient, it now throws a MongoException as told by Jeff

Refs JAVA-1357
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/b844c523143fdd56466cd98e18af8d0da294f554

Comment by Githook User [ 12/Aug/14 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Fixed NumberFormat Exception when uri is missing the port

JAVA-913 JAVA-1357
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/0b2734a76536ecfdcbbba2b3a35496410ae87566

Comment by Ross Lawley [ 12/Aug/14 ]

JAVA-913

Comment by Githook User [ 12/Aug/14 ]

Author:

{u'username': u'neerajbhatt', u'name': u'neerajbhatt', u'email': u'neerajbhatt2000@gmail.com'}

Message: Fixing NumberFormatException when parsing http:// address

https://jira.mongodb.org/browse/JAVA-913 Fixed, When http:// address is
given to MongoClient, it now throws a MongoException as told by Jeff

Refs JAVA-1357
Branch: 2.13.x
https://github.com/mongodb/mongo-java-driver/commit/a965d3900d3730c84bdb23b138439af6ab4215e9

Generated at Thu Feb 08 08:54:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.