ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasilisa Sidorova (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-566) Exception when running datagrid.store examples
Date Tue, 24 Mar 2015 11:48:52 GMT

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

Vasilisa Sidorova updated IGNITE-566:
-------------------------------------
    Attachment: cacheJdbcStoreEx_log.log
                cacheJdbcStoreEx_failing
                cacheHibernateStoreEx_failing
                cacheHibernateStoreEx_log.log

> Exception when running datagrid.store examples
> ----------------------------------------------
>
>                 Key: IGNITE-566
>                 URL: https://issues.apache.org/jira/browse/IGNITE-566
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: sprint-2
>         Environment: Ubuntu 14.04, Upload Ignite Staging build #95 for branch 45-release
(ver. 1.0.0#20150324-sha1:d5cfe335)
>            Reporter: Vasilisa Sidorova
>            Assignee: Sergey Kozlov
>            Priority: Critical
>             Fix For: sprint-2
>
>         Attachments: cacheHibernateStoreEx_failing, cacheHibernateStoreEx_log.log, cacheJdbcStoreEx_failing,
cacheJdbcStoreEx_log.log
>
>
> ---------------------------------------------
> ENVIRONMENT
> ---------------------------------------------
> Ubuntu 14.04, Upload Ignite Staging build #95 for branch 45-release (ver. 1.0.0#20150324-sha1:d5cfe335)
> ---------------------------------------------
> STEPS FOR REPRODUCE
> ---------------------------------------------
> 1. Run CacheHibernateStoreExample
> ---------------------------------------------
> ACTUAL RESULT
> ---------------------------------------------
> There is exception during example execution. Look at the attached logs.
> IDE output:
> {noformat}
> "
> >>> Cache store example started.
> >>> Loaded 0 values into cache.
> [14:11:33,627][ERROR][ignite-#8%pub-null%][GridJobWorker] Failed to execute job [jobId=f96ea7b4c41-25a0a6f6-4606-447f-90a2-cc4cd276476f,
ses=GridJobSessionImpl [ses=GridTaskSessionImpl [taskName=o.a.i.i.processors.cache.GridCacheAdapter$LoadCacheClosure,
dep=GridDeployment [ts=1427195493511, depMode=SHARED, clsLdr=sun.misc.Launcher$AppClassLoader@2f78743b,
clsLdrId=d96ea7b4c41-25a0a6f6-4606-447f-90a2-cc4cd276476f, userVer=0, loc=true, sampleClsName=o.a.i.i.processors.cache.GridCacheAdapter$LoadCacheClosure,
pendingUndeploy=false, undeployed=false, usage=2], taskClsName=o.a.i.i.processors.cache.GridCacheAdapter$LoadCacheClosure,
sesId=c96ea7b4c41-25a0a6f6-4606-447f-90a2-cc4cd276476f, startTime=1427195493501, endTime=9223372036854775807,
taskNodeId=25a0a6f6-4606-447f-90a2-cc4cd276476f, clsLdr=sun.misc.Launcher$AppClassLoader@2f78743b,
closed=false, cpSpi=null, failSpi=null, loadSpi=null, usage=1, fullSup=false, subjId=25a0a6f6-4606-447f-90a2-cc4cd276476f,
mapFut=IgniteFuture [orig=GridFutureAdapter [resFlag=0, res=null, startTime=1427195493532,
endTime=0, lsnr=null, state=INIT]]], jobId=f96ea7b4c41-25a0a6f6-4606-447f-90a2-cc4cd276476f]]
> class org.apache.ignite.IgniteException: null
> 	at org.apache.ignite.internal.processors.closure.GridClosureProcessor$C2.execute(GridClosureProcessor.java:1699)
> 	at org.apache.ignite.internal.processors.job.GridJobWorker$2.call(GridJobWorker.java:478)
> 	at org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6069)
> 	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:107)
> 	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: java.lang.NullPointerException
> 	at org.apache.ignite.examples.datagrid.store.hibernate.CacheHibernatePersonStore.sessionEnd(CacheHibernatePersonStore.java:211)
> 	at org.apache.ignite.internal.processors.cache.GridCacheStoreManager.endSession(GridCacheStoreManager.java:793)
> 	at org.apache.ignite.internal.processors.cache.GridCacheStoreManager.loadCache(GridCacheStoreManager.java:501)
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtCacheAdapter.localLoadCache(GridDhtCacheAdapter.java:408)
> 	at org.apache.ignite.internal.processors.cache.IgniteCacheProxy.localLoadCache(IgniteCacheProxy.java:224)
> 	at org.apache.ignite.internal.processors.cache.GridCacheAdapter$LoadCacheClosure.call(GridCacheAdapter.java:6213)
> 	at org.apache.ignite.internal.processors.cache.GridCacheAdapter$LoadCacheClosure.call(GridCacheAdapter.java:6160)
> 	at org.apache.ignite.internal.processors.closure.GridClosureProcessor$C2.execute(GridClosureProcessor.java:1696)
> 	... 8 more
> [14:11:33,631][ERROR][ignite-#8%pub-null%][GridTaskWorker] Failed to obtain remote job
result policy for result from ComputeTask.result(..) method (will fail the whole task): GridJobResultImpl
[job=C2 [], sib=GridJobSiblingImpl [sesId=c96ea7b4c41-25a0a6f6-4606-447f-90a2-cc4cd276476f,
jobId=f96ea7b4c41-25a0a6f6-4606-447f-90a2-cc4cd276476f, nodeId=25a0a6f6-4606-447f-90a2-cc4cd276476f,
isJobDone=false], jobCtx=GridJobContextImpl [jobId=f96ea7b4c41-25a0a6f6-4606-447f-90a2-cc4cd276476f,
attrs={}], node=TcpDiscoveryNode [id=25a0a6f6-4606-447f-90a2-cc4cd276476f, addrs=[127.0.0.1],
sockAddrs=[/127.0.0.1:47500], discPort=47500, order=1, intOrder=1, loc=true, ver=1.0.0#20150324-sha1:d5cfe335,
isClient=false], ex=class o.a.i.IgniteException: null, hasRes=true, isCancelled=false, isOccupied=true]
> class org.apache.ignite.IgniteException: Remote job threw user exception (override or
implement ComputeTask.result(..) method if you would like to have automatic failover for this
exception).
> 	at org.apache.ignite.compute.ComputeTaskAdapter.result(ComputeTaskAdapter.java:102)
> 	at org.apache.ignite.internal.processors.task.GridTaskWorker$3.apply(GridTaskWorker.java:829)
> 	at org.apache.ignite.internal.processors.task.GridTaskWorker$3.apply(GridTaskWorker.java:822)
> 	at org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6101)
> 	at org.apache.ignite.internal.processors.task.GridTaskWorker.result(GridTaskWorker.java:822)
> 	at org.apache.ignite.internal.processors.task.GridTaskWorker.onResponse(GridTaskWorker.java:718)
> 	at org.apache.ignite.internal.processors.task.GridTaskProcessor.processJobExecuteResponse(GridTaskProcessor.java:906)
> 	at org.apache.ignite.internal.processors.job.GridJobWorker.finishJob(GridJobWorker.java:737)
> 	at org.apache.ignite.internal.processors.job.GridJobWorker.execute0(GridJobWorker.java:527)
> 	at org.apache.ignite.internal.processors.job.GridJobWorker.body(GridJobWorker.java:423)
> 	at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:107)
> 	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: class org.apache.ignite.IgniteException: null
> 	at org.apache.ignite.internal.processors.closure.GridClosureProcessor$C2.execute(GridClosureProcessor.java:1699)
> 	at org.apache.ignite.internal.processors.job.GridJobWorker$2.call(GridJobWorker.java:478)
> 	at org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6069)
> 	at org.apache.ignite.internal.processors.job.GridJobWorker.execute0(GridJobWorker.java:472)
> 	... 5 more
> Caused by: java.lang.NullPointerException
> 	at org.apache.ignite.examples.datagrid.store.hibernate.CacheHibernatePersonStore.sessionEnd(CacheHibernatePersonStore.java:211)
> 	at org.apache.ignite.internal.processors.cache.GridCacheStoreManager.endSession(GridCacheStoreManager.java:793)
> 	at org.apache.ignite.internal.processors.cache.GridCacheStoreManager.loadCache(GridCacheStoreManager.java:501)
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtCacheAdapter.localLoadCache(GridDhtCacheAdapter.java:408)
> 	at org.apache.ignite.internal.processors.cache.IgniteCacheProxy.localLoadCache(IgniteCacheProxy.java:224)
> 	at org.apache.ignite.internal.processors.cache.GridCacheAdapter$LoadCacheClosure.call(GridCacheAdapter.java:6213)
> 	at org.apache.ignite.internal.processors.cache.GridCacheAdapter$LoadCacheClosure.call(GridCacheAdapter.java:6160)
> 	at org.apache.ignite.internal.processors.closure.GridClosureProcessor$C2.execute(GridClosureProcessor.java:1696)
> 	... 8 more
> [14:11:33] Ignite node stopped OK [uptime=00:00:00:759]
> "
> {noformat}
> ---------------------------------------------
> EXPECTED RESULT
> ---------------------------------------------
> Example is finished without any exceptions
> ---------------------------------------------
> ADDITIONAL INFO
> ---------------------------------------------
> 1. Reproducible for CacheJdbcStoreExample



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

Mime
View raw message