[ https://issues.apache.org/jira/browse/IGNITE-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitriy Setrakyan updated IGNITE-2192: -------------------------------------- Fix Version/s: 1.5 > Calling forOldest() on an empty cluster group raises a NullPointerException > --------------------------------------------------------------------------- > > Key: IGNITE-2192 > URL: https://issues.apache.org/jira/browse/IGNITE-2192 > Project: Ignite > Issue Type: Bug > Affects Versions: 1.5, 1.4 > Reporter: Noam Liran > Fix For: 1.5 > > > Easy to reproduce and fix: > {code} > import org.apache.ignite.Ignite; > import org.apache.ignite.Ignition; > import org.apache.ignite.cluster.ClusterGroup; > import org.apache.ignite.configuration.IgniteConfiguration; > /** > * Created by noliran on 17/12/2015. > */ > public class Main { > public static void main(String[] args) throws InterruptedException { > Ignite ignite = Ignition.start(new IgniteConfiguration()); > ClusterGroup clusterGroup = > ignite.cluster().forAttribute("nonexistent", "value").forOldest(); > // Exception was just raised > } > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)