You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Dmitriy Pavlov (JIRA)" <ji...@apache.org> on 2017/07/19 15:52:00 UTC
[jira] [Comment Edited] (IGNITE-5123) Ignite.cache(String) returns
null in PluginProvider.onIgniteStart()
[ https://issues.apache.org/jira/browse/IGNITE-5123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16093304#comment-16093304 ]
Dmitriy Pavlov edited comment on IGNITE-5123 at 7/19/17 3:51 PM:
-----------------------------------------------------------------
See also related discussions on dev list
http://apache-ignite-developers.2346864.n4.nabble.com/IGNITE-5123-td19337.html
http://apache-ignite-developers.2346864.n4.nabble.com/IGNITE-5123-Review-td19813.html
was (Author: dpavlov):
See also related discussion on dev list http://apache-ignite-developers.2346864.n4.nabble.com/IGNITE-5123-Review-td19813.html
> Ignite.cache(String) returns null in PluginProvider.onIgniteStart()
> -------------------------------------------------------------------
>
> Key: IGNITE-5123
> URL: https://issues.apache.org/jira/browse/IGNITE-5123
> Project: Ignite
> Issue Type: Bug
> Affects Versions: 2.0
> Reporter: Nick Pordash
> Assignee: Yevgeniy Ignatyev
> Fix For: 2.2
>
> Attachments: ignite-plugin-failure.zip
>
>
> Given an Ignite node that has pre-configured caches (via IgniteConfiguration.setCacheConfiguration) if you try to obtain a reference to the cache instance in PluginProvider.onIgniteStart() you'll get a null reference.
> @Override
> public void onIgniteStart() throws IgniteCheckedException {
> ignite.cacheNames().forEach(name -> {
> assert ignite.cache(name) != null : "Cache is null: " + name;
> });
> }
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)