You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Taras Ledkov (JIRA)" <ji...@apache.org> on 2017/06/27 13:53:00 UTC

[jira] [Comment Edited] (IGNITE-5340) AssertionError in index name check

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

Taras Ledkov edited comment on IGNITE-5340 at 6/27/17 1:52 PM:
---------------------------------------------------------------

Not reproduced on 2.1.

The index name contains with non letter symbols is added to configuration in the base class for query tests: {{IgniteCacheAbstractQuerySelfTest}}

[Tests results|http://195.239.208.174/project.html?projectId=Ignite20Tests&tab=projectOverview&branch_Ignite20Tests=pull%2F2206%2Fhead]


was (Author: tledkov-gridgain):
[Tests results|http://195.239.208.174/project.html?projectId=Ignite20Tests&tab=projectOverview&branch_Ignite20Tests=pull%2F2206%2Fhead]

> AssertionError in index name check
> ----------------------------------
>
>                 Key: IGNITE-5340
>                 URL: https://issues.apache.org/jira/browse/IGNITE-5340
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Vladislav Pyatkov
>             Fix For: 2.1
>
>
> The exception will be got when index name manual assign with "#" symbol, through the method {{org.apache.ignite.cache.QueryIndex#setName()}}
> {noformat}
> java.lang.AssertionError: null
>          at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.escapeName(IgniteH2Indexing.java:1980) 
>          at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing$TableDescriptor.createUserIndex(IgniteH2Indexing.java:3214) 
>          at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing$TableDescriptor.createUserIndexes(IgniteH2Indexing.java:3199) 
>          at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.createTable(IgniteH2Indexing.java:2041) 
>          at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.registerType(IgniteH2Indexing.java:1909) 
>          at org.apache.ignite.internal.processors.query.GridQueryProcessor.registerCache0(GridQueryProcessor.java:1298) 
>          at org.apache.ignite.internal.processors.query.GridQueryProcessor.initializeCache(GridQueryProcessor.java:751) 
>          at org.apache.ignite.internal.processors.query.GridQueryProcessor.onCacheStart(GridQueryProcessor.java:809) 
>          at org.apache.ignite.internal.processors.cache.GridCacheProcessor.startCache(GridCacheProcessor.java:1261) 
>          at org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareCacheStart(GridCacheProcessor.java:1930) 
>          at org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareCacheStart(GridCacheProcessor.java:1817) 
>          at org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.onCacheChangeRequest(CacheAffinitySharedManager.java:384) 
>          at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onCacheChangeRequest(GridDhtPartitionsExchangeFuture.java:764) 
>          at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:556) 
>          at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:1824)
>          at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
>          at java.lang.Thread.run(Thread.java:745)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)