ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Novikov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-281) NPE in 'cacheJdbcPojoStore.buildObject(CacheJdbcPojoStore.java:168)'
Date Wed, 18 Feb 2015 10:45:11 GMT

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

Andrey Novikov updated IGNITE-281:
----------------------------------
    Assignee: Pavel Konstantinov  (was: Andrey Novikov)

> NPE in 'cacheJdbcPojoStore.buildObject(CacheJdbcPojoStore.java:168)'
> --------------------------------------------------------------------
>
>                 Key: IGNITE-281
>                 URL: https://issues.apache.org/jira/browse/IGNITE-281
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: sprint-2
>            Reporter: Pavel Konstantinov
>            Assignee: Pavel Konstantinov
>             Fix For: sprint-2
>
>
> Set in configuration:
> 'typeMetadata->CacheTypeMetadata->valueFields'
> incorrect(nonexistent) field name and try to load data from the DB into the cache.
> Full stack trace:
> {code}
> class org.apache.ignite.IgniteCheckedException: Failed to load cache
> 	at org.apache.ignite.internal.processors.cache.GridCacheStoreManager.loadCache(GridCacheStoreManager.java:510)
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtCacheAdapter.loadCache(GridDhtCacheAdapter.java:403)
> 	at org.apache.ignite.internal.processors.cache.GridCacheProxyImpl.loadCache(GridCacheProxyImpl.java:232)
> 	at org.apache.ignite.internal.visor.cache.VisorCacheLoadTask$VisorCachesLoadJob.run(VisorCacheLoadTask.java:71)
> 	at org.apache.ignite.internal.visor.cache.VisorCacheLoadTask$VisorCachesLoadJob.run(VisorCacheLoadTask.java:45)
> 	at org.apache.ignite.internal.visor.VisorJob.execute(VisorJob.java:64)
> 	at org.apache.ignite.internal.processors.job.GridJobWorker$2.call(GridJobWorker.java:478)
> 	at org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6182)
> 	at org.apache.ignite.internal.processors.job.GridJobWorker.execute0(GridJobWorker.java:472)
> 	at org.apache.ignite.internal.processors.job.GridJobWorker.body(GridJobWorker.java:423)
> 	at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:145)
> 	at org.apache.ignite.internal.processors.job.GridJobProcessor.processJobExecuteRequest(GridJobProcessor.java:1051)
> 	at org.apache.ignite.internal.processors.job.GridJobProcessor$JobExecutionListener.onMessage(GridJobProcessor.java:1713)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:659)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager.access$1600(GridIoManager.java:58)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager$6.body(GridIoManager.java:620)
> 	at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:145)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> 	at java.lang.Thread.run(Thread.java:745)
> Caused by: javax.cache.integration.CacheLoaderException: Failed to load cache
> 	at org.apache.ignite.cache.store.jdbc.CacheAbstractJdbcStore.loadCache(CacheAbstractJdbcStore.java:608)
> 	at org.apache.ignite.internal.processors.cache.GridCacheStoreManager.loadCache(GridCacheStoreManager.java:491)
> 	... 19 more
> Caused by: javax.cache.integration.CacheLoaderException: Failed to read object of class:
org.gridgain.visor.tester.sql.Address
> 	at org.apache.ignite.cache.store.jdbc.CacheJdbcPojoStore.buildObject(CacheJdbcPojoStore.java:174)
> 	at org.apache.ignite.cache.store.jdbc.CacheAbstractJdbcStore$LoadCacheCustomQueryWorker.call(CacheAbstractJdbcStore.java:1499)
> 	at org.apache.ignite.cache.store.jdbc.CacheAbstractJdbcStore$LoadCacheCustomQueryWorker.call(CacheAbstractJdbcStore.java:1456)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> 	... 3 more
> Caused by: java.lang.NullPointerException
> 	at org.apache.ignite.cache.store.jdbc.CacheJdbcPojoStore.buildObject(CacheJdbcPojoStore.java:168)
> 	... 6 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message