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

kcheng.mvp commented on IGNITE-10612:
-------------------------------------

Notice there is a change in 2.7 
https://issues.apache.org/jira/browse/IGNITE-9574

After change all java.util.Date to java.sql.Timestamp then everything goes well

> java.lang.IllegalAccessError: tried to access field 
> org.h2.util.LocalDateTimeUtils.LOCAL_DATE from class 
> org.apache.ignite.internal.processors.query.h2.H2DatabaseType
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-10612
>                 URL: https://issues.apache.org/jira/browse/IGNITE-10612
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: 2.7
>            Reporter: kcheng.mvp
>            Priority: Major
>
> below is my environment
> ignite 2.7
>  
> There are about 82 unit test for my system. it works fine in ignite 2.7
>  
> when I switch to 2.7 I got below error for my unit test.
>  
>  
>  
> java.lang.IllegalAccessError: tried to access field 
> org.h2.util.LocalDateTimeUtils.LOCAL_DATE from class 
> org.apache.ignite.internal.processors.query.h2.H2DatabaseType
>  at 
> org.apache.ignite.internal.processors.query.h2.H2DatabaseType.fromClass(H2DatabaseType.java:147)
>  at 
> org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.dbTypeFromClass(IgniteH2Indexing.java:2972)
>  at 
> org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.createTable(IgniteH2Indexing.java:2869)
>  at 
> org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.registerType(IgniteH2Indexing.java:2809)
>  at 
> org.apache.ignite.internal.processors.query.GridQueryProcessor.registerCache0(GridQueryProcessor.java:1633)
>  at 
> org.apache.ignite.internal.processors.query.GridQueryProcessor.onCacheStart0(GridQueryProcessor.java:805)
>  at 
> org.apache.ignite.internal.processors.query.GridQueryProcessor.onCacheStart(GridQueryProcessor.java:866)
>  at 
> org.apache.ignite.internal.processors.cache.GridCacheProcessor.startCache(GridCacheProcessor.java:1330)
>  at 
> org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareCacheStart(GridCacheProcessor.java:2165)
>  at 
> org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.processCacheStartRequests(CacheAffinitySharedManager.java:898)
>  at 
> org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.onCacheChangeRequest(CacheAffinitySharedManager.java:798)
>  at 
> org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onCacheChangeRequest(GridDhtPartitionsExchangeFuture.java:1231)
>  at 
> org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:738)
>  at 
> org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body0(GridCachePartitionExchangeManager.java:2667)
>  at 
> org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:2539)
>  at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:120)
>  at java.lang.Thread.run(Thread.java:748)
> 2018-12-10 11:47:21 INFO o.a.i.i.p.c.d.d.p.GridDhtPartitionsExchangeFuture - 
> Finish exchange future [startVer=AffinityTopologyVersion [topVer=1, 
> minorTopVer=2], resVer=null, err=java.lang.IllegalAccessError: tried to 
> access field org.h2.util.LocalDateTimeUtils.LOCAL_DATE from class 
> org.apache.ignite.internal.processors.query.h2.H2DatabaseType]
> 2018-12-10 11:47:21 ERROR - Critical system error detected. Will be handled 
> accordingly to configured handler [hnd=StopNodeOrHaltFailureHandler 
> [tryStop=false, timeout=0, super=AbstractFailureHandler 
> [ignoredFailureTypes=[SYSTEM_WORKER_BLOCKED]]], failureCtx=FailureContext 
> [type=SYSTEM_WORKER_TERMINATION, err=java.lang.AssertionError: Missing user 
> future for cache: GIFT]]
> java.lang.AssertionError: Missing user future for cache: GIFT
>  at 
> org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.rebuildIndexesIfNeeded(GridCacheDatabaseSharedManager.java:1364)
>  at 
> org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onDone(GridDhtPartitionsExchangeFuture.java:2151)
>  at 
> org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onDone(GridDhtPartitionsExchangeFuture.java:138)
>  at 
> org.apache.ignite.internal.util.future.GridFutureAdapter.onDone(GridFutureAdapter.java:464)
>  at 
> org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:860)
>  at 
> org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body0(GridCachePartitionExchangeManager.java:2667)
>  at 
> org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:2539)
>  at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:120)
>  at java.lang.Thread.run(Thread.java:748)
>  



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

Reply via email to