[jira] [Created] (IGNITE-14200) Ignite Spring Data - IgniteRepositoryFactory swallow cause exception

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-14200) Ignite Spring Data - IgniteRepositoryFactory swallow cause exception

Anton Vinogradov (Jira)
Adrian created IGNITE-14200:
-------------------------------

             Summary: Ignite Spring Data - IgniteRepositoryFactory swallow cause exception
                 Key: IGNITE-14200
                 URL: https://issues.apache.org/jira/browse/IGNITE-14200
             Project: Ignite
          Issue Type: Bug
          Components: springdata
    Affects Versions: 2.9.1
            Reporter: Adrian


 

When using Spring Data with Ignite if an exception occurs we get only:
{code:java}
    throw new IgniteException("Failed to initialize Ignite repository factory. Ignite instance or"
        + " IgniteConfiguration or a path to Ignite's spring XML "
        + "configuration must be defined in the"
        + " application configuration");
}
{code}
 

So in my example, I got the error when creating IgniteConfigurer and the error I mentioned was meaningless. I couldn't get what is wrong. So I found that in:
{code:java}
IgniteRepositoryFactory.igniteForRepoConfig{code}
all parent errors are ignored. 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)