You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/04/16 14:47:00 UTC

[jira] [Commented] (IGNITE-8280) NPE on some cases at the QueryEntity.getDecimalInfo

    [ https://issues.apache.org/jira/browse/IGNITE-8280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16439537#comment-16439537 ] 

ASF GitHub Bot commented on IGNITE-8280:
----------------------------------------

GitHub user tledkov-gridgain opened a pull request:

    https://github.com/apache/ignite/pull/3831

    IGNITE-8280: fix NPE

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gridgain/apache-ignite ignite-8280

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/3831.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3831
    
----
commit 45ae97c730d5548a2d288a4ca794abafb11cc9c1
Author: tledkov-gridgain <tl...@...>
Date:   2018-04-16T14:20:59Z

    IGNITE-8280: fix NPE

----


> NPE on some cases at the QueryEntity.getDecimalInfo
> ---------------------------------------------------
>
>                 Key: IGNITE-8280
>                 URL: https://issues.apache.org/jira/browse/IGNITE-8280
>             Project: Ignite
>          Issue Type: Task
>    Affects Versions: 2.4
>            Reporter: Taras Ledkov
>            Assignee: Taras Ledkov
>            Priority: Major
>             Fix For: 2.5
>
>
> {code}
> Caused by: java.lang.NullPointerException
>     at java.util.Collections$UnmodifiableMap.<init>(Collections.java:1446)
>     at java.util.Collections.unmodifiableMap(Collections.java:1433)
>     at org.apache.ignite.cache.QueryEntity.getDecimalInfo(QueryEntity.java:581)
>     at org.apache.ignite.internal.processors.query.QueryUtils.normalizeQueryEntity(QueryUtils.java:268)
>     at org.apache.ignite.internal.processors.query.QueryUtils.normalizeQueryEntities(QueryUtils.java:215)
>     at org.apache.ignite.internal.processors.cache.GridCacheUtils.initializeConfigDefaults(GridCacheUtils.java:1688)
>     at org.apache.ignite.internal.processors.cache.GridCacheProcessor.initialize(GridCacheProcessor.java:270)
>     at org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareCacheChangeRequest(GridCacheProcessor.java:4305)
>     at org.apache.ignite.internal.processors.cache.GridCacheProcessor.dynamicStartCachesByStoredConf(GridCacheProcessor.java:2956)
>     at org.gridgain.grid.internal.processors.cache.database.snapshot.SnapshotRestoreFuture.startCaches(SnapshotRestoreFuture.java:371)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)