kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | 0f58dbbf1e0b0f7c201ba6688ecb2ad18d6c8ec80f52b68690a2b15ce05c3b70 |
|---|---|
| Author | Alexandre Dutra <alexandre.dutra@datastax.com> · 2016-04-08 10:08 +02:00 |
| Committer | Alexandre Dutra <alexandre.dutra@datastax.com> · 2016-04-08 10:08 +02:00 |
| Parents | 66e5cc716ac2 |
2 files changed
modified changelog/README.md +5 −0
| @@ -1,5 +1,10 @@ | ||
| 1 | 1 | ## Changelog |
| 2 | 2 | |
| 3 | +### 2.1.10.1 (in progress) | |
| 4 | + | |
| 5 | +[bug] JAVA-1152: Fix NPE at ControlConnection.refreshNodeListAndTokenMap(). | |
| 6 | + | |
| 7 | + | |
| 3 | 8 | ### 2.1.10 |
| 4 | 9 | |
| 5 | 10 | - [bug] JAVA-988: Metadata.handleId should handle escaped double quotes. |
modified driver-core/src/main/java/com/datastax/driver/core/ControlConnection.java +3 −0
| @@ -609,6 +609,9 @@ | ||
| 609 | 609 | continue; |
| 610 | 610 | |
| 611 | 611 | InetSocketAddress addr = addressToUseForPeerHost(row, connection.address, cluster); |
| 612 | + if (addr == null) | |
| 613 | + continue; | |
| 614 | + | |
| 612 | 615 | foundHosts.add(addr); |
| 613 | 616 | dcs.add(row.getString("data_center")); |
| 614 | 617 | racks.add(row.getString("rack")); |