[jira] [Updated] (CASSANDRA-17596) Fix NPE in SimpleBuilders.ParititionUpdateBulder.RTBuilder.build
[ https://issues.apache.org/jira/browse/CASSANDRA-17596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Miklosovic updated CASSANDRA-17596: -- Bug Category: Parent values: Code(13163) Complexity: Low Hanging Fruit Discovered By: Adhoc Test Fix Version/s: 4.0.x 4.1.x 4.x Severity: Normal Assignee: Stefan Miklosovic Status: Open (was: Triage Needed) > Fix NPE in SimpleBuilders.ParititionUpdateBulder.RTBuilder.build > > > Key: CASSANDRA-17596 > URL: https://issues.apache.org/jira/browse/CASSANDRA-17596 > Project: Cassandra > Issue Type: Bug > Components: Legacy/Core >Reporter: Stefan Miklosovic >Assignee: Stefan Miklosovic >Priority: Normal > Fix For: 4.0.x, 4.1.x, 4.x > > > These two arrays are not initialised (1) which means that if I do not set > start nor end, when ClusteringBound.create is called, it will be null, but it > will fail here (2) as values will be null. > The fix consists of check if values are null and if they are, we build that > bound immediately. > (1) > https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/db/SimpleBuilders.java#L257-L258 > (2) > https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/db/ClusteringBound.java#L128 -- This message was sent by Atlassian Jira (v8.20.7#820007) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-17596) Fix NPE in SimpleBuilders.ParititionUpdateBulder.RTBuilder.build
[ https://issues.apache.org/jira/browse/CASSANDRA-17596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Miklosovic updated CASSANDRA-17596: -- Test and Documentation Plan: unit test Status: Patch Available (was: Open) https://github.com/apache/cassandra/pull/1602 > Fix NPE in SimpleBuilders.ParititionUpdateBulder.RTBuilder.build > > > Key: CASSANDRA-17596 > URL: https://issues.apache.org/jira/browse/CASSANDRA-17596 > Project: Cassandra > Issue Type: Bug > Components: Legacy/Core >Reporter: Stefan Miklosovic >Assignee: Stefan Miklosovic >Priority: Normal > Fix For: 4.0.x, 4.1.x, 4.x > > > These two arrays are not initialised (1) which means that if I do not set > start nor end, when ClusteringBound.create is called, it will be null, but it > will fail here (2) as values will be null. > The fix consists of check if values are null and if they are, we build that > bound immediately. > (1) > https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/db/SimpleBuilders.java#L257-L258 > (2) > https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/db/ClusteringBound.java#L128 -- This message was sent by Atlassian Jira (v8.20.7#820007) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-17596) Fix NPE in SimpleBuilders.ParititionUpdateBulder.RTBuilder.build
[ https://issues.apache.org/jira/browse/CASSANDRA-17596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Miklosovic updated CASSANDRA-17596: -- Fix Version/s: 4.1 4.0.5 (was: 4.0.x) (was: 4.1.x) > Fix NPE in SimpleBuilders.ParititionUpdateBulder.RTBuilder.build > > > Key: CASSANDRA-17596 > URL: https://issues.apache.org/jira/browse/CASSANDRA-17596 > Project: Cassandra > Issue Type: Bug > Components: Legacy/Core >Reporter: Stefan Miklosovic >Assignee: Stefan Miklosovic >Priority: Normal > Fix For: 4.1, 4.0.5, 4.x > > > These two arrays are not initialised (1) which means that if I do not set > start nor end, when ClusteringBound.create is called, it will be null, but it > will fail here (2) as values will be null. > The fix consists of check if values are null and if they are, we build that > bound immediately. > (1) > https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/db/SimpleBuilders.java#L257-L258 > (2) > https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/db/ClusteringBound.java#L128 -- This message was sent by Atlassian Jira (v8.20.7#820007) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-17596) Fix NPE in SimpleBuilders.ParititionUpdateBulder.RTBuilder.build
[ https://issues.apache.org/jira/browse/CASSANDRA-17596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Josh McKenzie updated CASSANDRA-17596: -- Fix Version/s: 4.1-rc (was: 4.1) > Fix NPE in SimpleBuilders.ParititionUpdateBulder.RTBuilder.build > > > Key: CASSANDRA-17596 > URL: https://issues.apache.org/jira/browse/CASSANDRA-17596 > Project: Cassandra > Issue Type: Bug > Components: Legacy/Core >Reporter: Stefan Miklosovic >Assignee: Stefan Miklosovic >Priority: Normal > Fix For: 4.0.5, 4.x, 4.1-rc > > > These two arrays are not initialised (1) which means that if I do not set > start nor end, when ClusteringBound.create is called, it will be null, but it > will fail here (2) as values will be null. > The fix consists of check if values are null and if they are, we build that > bound immediately. > (1) > https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/db/SimpleBuilders.java#L257-L258 > (2) > https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/db/ClusteringBound.java#L128 -- This message was sent by Atlassian Jira (v8.20.7#820007) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-17596) Fix NPE in SimpleBuilders.ParititionUpdateBulder.RTBuilder.build
[ https://issues.apache.org/jira/browse/CASSANDRA-17596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Miklosovic updated CASSANDRA-17596: -- Status: Open (was: Patch Available) > Fix NPE in SimpleBuilders.ParititionUpdateBulder.RTBuilder.build > > > Key: CASSANDRA-17596 > URL: https://issues.apache.org/jira/browse/CASSANDRA-17596 > Project: Cassandra > Issue Type: Bug > Components: Legacy/Core >Reporter: Stefan Miklosovic >Assignee: Stefan Miklosovic >Priority: Normal > Fix For: 4.0.5, 4.1-rc, 4.x > > > These two arrays are not initialised (1) which means that if I do not set > start nor end, when ClusteringBound.create is called, it will be null, but it > will fail here (2) as values will be null. > The fix consists of check if values are null and if they are, we build that > bound immediately. > (1) > https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/db/SimpleBuilders.java#L257-L258 > (2) > https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/db/ClusteringBound.java#L128 -- This message was sent by Atlassian Jira (v8.20.7#820007) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-17596) Fix NPE in SimpleBuilders.ParititionUpdateBulder.RTBuilder.build
[ https://issues.apache.org/jira/browse/CASSANDRA-17596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Miklosovic updated CASSANDRA-17596: -- Resolution: Won't Fix Status: Resolved (was: Open) > Fix NPE in SimpleBuilders.ParititionUpdateBulder.RTBuilder.build > > > Key: CASSANDRA-17596 > URL: https://issues.apache.org/jira/browse/CASSANDRA-17596 > Project: Cassandra > Issue Type: Bug > Components: Legacy/Core >Reporter: Stefan Miklosovic >Assignee: Stefan Miklosovic >Priority: Normal > Fix For: 4.0.5, 4.1-rc, 4.x > > > These two arrays are not initialised (1) which means that if I do not set > start nor end, when ClusteringBound.create is called, it will be null, but it > will fail here (2) as values will be null. > The fix consists of check if values are null and if they are, we build that > bound immediately. > (1) > https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/db/SimpleBuilders.java#L257-L258 > (2) > https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/db/ClusteringBound.java#L128 -- This message was sent by Atlassian Jira (v8.20.7#820007) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-17596) Fix NPE in SimpleBuilders.ParititionUpdateBulder.RTBuilder.build
[ https://issues.apache.org/jira/browse/CASSANDRA-17596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Semb Wever updated CASSANDRA-17596: --- Fix Version/s: 4.1 > Fix NPE in SimpleBuilders.ParititionUpdateBulder.RTBuilder.build > > > Key: CASSANDRA-17596 > URL: https://issues.apache.org/jira/browse/CASSANDRA-17596 > Project: Cassandra > Issue Type: Bug > Components: Legacy/Core >Reporter: Stefan Miklosovic >Assignee: Stefan Miklosovic >Priority: Normal > Fix For: 4.0.5, 4.1-rc, 4.1, 4.x > > Time Spent: 10m > Remaining Estimate: 0h > > These two arrays are not initialised (1) which means that if I do not set > start nor end, when ClusteringBound.create is called, it will be null, but it > will fail here (2) as values will be null. > The fix consists of check if values are null and if they are, we build that > bound immediately. > (1) > https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/db/SimpleBuilders.java#L257-L258 > (2) > https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/db/ClusteringBound.java#L128 -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-17596) Fix NPE in SimpleBuilders.ParititionUpdateBulder.RTBuilder.build
[ https://issues.apache.org/jira/browse/CASSANDRA-17596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Semb Wever updated CASSANDRA-17596: --- Fix Version/s: 4.1-rc1 > Fix NPE in SimpleBuilders.ParititionUpdateBulder.RTBuilder.build > > > Key: CASSANDRA-17596 > URL: https://issues.apache.org/jira/browse/CASSANDRA-17596 > Project: Cassandra > Issue Type: Bug > Components: Legacy/Core >Reporter: Stefan Miklosovic >Assignee: Stefan Miklosovic >Priority: Normal > Fix For: 4.0.5, 4.1-rc1, 4.1-rc, 4.1, 4.x > > Time Spent: 10m > Remaining Estimate: 0h > > These two arrays are not initialised (1) which means that if I do not set > start nor end, when ClusteringBound.create is called, it will be null, but it > will fail here (2) as values will be null. > The fix consists of check if values are null and if they are, we build that > bound immediately. > (1) > https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/db/SimpleBuilders.java#L257-L258 > (2) > https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/db/ClusteringBound.java#L128 -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-17596) Fix NPE in SimpleBuilders.ParititionUpdateBulder.RTBuilder.build
[ https://issues.apache.org/jira/browse/CASSANDRA-17596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Semb Wever updated CASSANDRA-17596: --- Fix Version/s: (was: 4.1-rc) > Fix NPE in SimpleBuilders.ParititionUpdateBulder.RTBuilder.build > > > Key: CASSANDRA-17596 > URL: https://issues.apache.org/jira/browse/CASSANDRA-17596 > Project: Cassandra > Issue Type: Bug > Components: Legacy/Core >Reporter: Stefan Miklosovic >Assignee: Stefan Miklosovic >Priority: Normal > Fix For: 4.0.5, 4.1-rc1, 4.1, 4.x > > Time Spent: 10m > Remaining Estimate: 0h > > These two arrays are not initialised (1) which means that if I do not set > start nor end, when ClusteringBound.create is called, it will be null, but it > will fail here (2) as values will be null. > The fix consists of check if values are null and if they are, we build that > bound immediately. > (1) > https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/db/SimpleBuilders.java#L257-L258 > (2) > https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/db/ClusteringBound.java#L128 -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org