You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Valentin Kulichenko (JIRA)" <ji...@apache.org> on 2015/06/18 03:10:00 UTC

[jira] [Commented] (IGNITE-1026) Existing queue can't be acquired on client

    [ https://issues.apache.org/jira/browse/IGNITE-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14591071#comment-14591071 ] 

Valentin Kulichenko commented on IGNITE-1026:
---------------------------------------------

Need to check other data structures as well and create tests.

> Existing queue can't be acquired on client
> ------------------------------------------
>
>                 Key: IGNITE-1026
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1026
>             Project: Ignite
>          Issue Type: Bug
>          Components: data structures
>    Affects Versions: sprint-4
>            Reporter: Valentin Kulichenko
>            Assignee: Semen Boikov
>            Priority: Blocker
>             Fix For: sprint-6
>
>
> Server code:
> {code}
> Ignite ignite = Ignition.start();
> ignite.queue("queue", 1000, new CollectionConfiguration());
> {code}
> Client code:
> {code}
> Ignition.setClientMode(true);
> Ignite ignite = Ignition.start();
> IgniteQueue q = ignite.queue("queue", 0, null);
> {code}
> Start server, then client. The second will fail with NPE:
> {code}
> 	at org.apache.ignite.internal.processors.datastructures.DataStructuresProcessor.getCollection(DataStructuresProcessor.java:911)
> 	at org.apache.ignite.internal.processors.datastructures.DataStructuresProcessor.queue(DataStructuresProcessor.java:777)
> 	at org.apache.ignite.internal.IgniteKernal.queue(IgniteKernal.java:2768)
> 	at Client.main(Client.java:30)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)