ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Valentin Kulichenko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-1026) Existing queue can't be acquired on client
Date Thu, 18 Jun 2015 01:10:00 GMT
Valentin Kulichenko created IGNITE-1026:

             Summary: 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:
Ignite ignite = Ignition.start();

ignite.queue("queue", 1000, new CollectionConfiguration());
Client code:

Ignite ignite = Ignition.start();

IgniteQueue q = ignite.queue("queue", 0, null);
Start server, then client. The second will fail with NPE:
	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)

This message was sent by Atlassian JIRA

View raw message