You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Semen Boikov (JIRA)" <ji...@apache.org> on 2015/12/18 10:11:46 UTC
[jira] [Closed] (IGNITE-2192) Calling forOldest() on an empty
cluster group raises a NullPointerException
[ https://issues.apache.org/jira/browse/IGNITE-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Semen Boikov closed IGNITE-2192.
--------------------------------
Assignee: (was: Semen Boikov)
> 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)