You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Alexey Kuznetsov (JIRA)" <ji...@apache.org> on 2015/11/25 04:15:10 UTC
[jira] [Created] (IGNITE-1996) NPE in case of not valid QueryEntity
configuration
Alexey Kuznetsov created IGNITE-1996:
----------------------------------------
Summary: NPE in case of not valid QueryEntity configuration
Key: IGNITE-1996
URL: https://issues.apache.org/jira/browse/IGNITE-1996
Project: Ignite
Issue Type: Bug
Components: SQL
Affects Versions: 1.5
Reporter: Alexey Kuznetsov
Assignee: Sergi Vladykin
Fix For: 1.5
In case if user specified in xml configuration not existing value for QueryEntity.valueType that GridQueryProcessor failed with NPE, but should throw appropriate exception with name of invalid class name.
{code}
Caused by: java.lang.NullPointerException
at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing$DBTypeEnum.fromClass(IgniteH2Indexing.java:1704)
at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.dbTypeFromClass(IgniteH2Indexing.java:1175)
at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.createTable(IgniteH2Indexing.java:1146)
at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.registerType(IgniteH2Indexing.java:1050)
at org.apache.ignite.internal.processors.query.GridQueryProcessor.initializeCache(GridQueryProcessor.java:253)
at org.apache.ignite.internal.processors.query.GridQueryProcessor.onCacheStart(GridQueryProcessor.java:374)
at org.apache.ignite.internal.processors.cache.GridCacheProcessor.startCache(GridCacheProcessor.java:1015)
at org.apache.ignite.internal.processors.cache.GridCacheProcessor.onKernalStart(GridCacheProcessor.java:786)
at org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:944)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)