ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Goncharuk (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-1996) NPE in case of not valid QueryEntity configuration
Date Thu, 26 Nov 2015 17:05:11 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-1996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexey Goncharuk updated IGNITE-1996:
-------------------------------------
    Assignee: Pavel Konstantinov  (was: Alexey Goncharuk)

> 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: Pavel Konstantinov
>             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)

Mime
View raw message