You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (JIRA)" <ji...@apache.org> on 2017/06/15 15:52:00 UTC
[jira] [Commented] (IGNITE-5506) Datagrid.StoreExample fails when
run with standalone Apache Ignite.NET node
[ https://issues.apache.org/jira/browse/IGNITE-5506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16050655#comment-16050655 ]
Pavel Tupitsyn commented on IGNITE-5506:
----------------------------------------
This is introduced by IGNITE-5170, where {{*}} was added to assembly version.
The cause of the bug is in {{BinaryWriter}}:
{code}
if (!desc.IsRegistered)
WriteString(type.AssemblyQualifiedName);
{code}
We should not write assembly qualified name, which is explained in IGNITE-5172.
> Datagrid.StoreExample fails when run with standalone Apache Ignite.NET node
> ---------------------------------------------------------------------------
>
> Key: IGNITE-5506
> URL: https://issues.apache.org/jira/browse/IGNITE-5506
> Project: Ignite
> Issue Type: Bug
> Components: platforms
> Affects Versions: 2.1
> Reporter: Irina Zaporozhtseva
> Assignee: Pavel Tupitsyn
> Priority: Critical
> Fix For: 2.1
>
>
> Datagrid.StoreExample fails when run with standalone Apache Ignite.NET node
> Apache.Ignite.Core.Cache.CacheException was unhandled
> HResult=-2146233088
> Message=class org.apache.ignite.IgniteCheckedException: Could not load file or assembly 'Apache.Ignite.ExamplesDll, Version=1.0.6375.29467, Culture=neutral, PublicKeyToken=c27524977cb332ce' or one of its dependencies. The system cannot find the file specified.
> Source=Apache.Ignite.Core
> StackTrace:
> at Apache.Ignite.Core.Impl.Unmanaged.UnmanagedCallbacks.Error(Void* target, Int32 errType, SByte* errClsChars, Int32 errClsCharsLen, SByte* errMsgChars, Int32 errMsgCharsLen, SByte* stackTraceChars, Int32 stackTraceCharsLen, Void* errData, Int32 errDataLen)
> at Apache.Ignite.Core.Impl.Unmanaged.IgniteJniNativeMethods.TargetInLongOutLong(Void* ctx, Void* target, Int32 opType, Int64 val)
> at Apache.Ignite.Core.Impl.Unmanaged.UnmanagedUtils.TargetInLongOutLong(IUnmanagedTarget target, Int32 opType, Int64 memPtr)
> at Apache.Ignite.Core.Impl.Cache.CacheImpl`2.Clear()
> at Apache.Ignite.Examples.Datagrid.StoreExample.Main() in C:\work\gridgain-professional-fabric-2.1.1.b3_23\platforms\dotnet\examples\Apache.Ignite.Examples\Datagrid\StoreExample.cs:line 67
> at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
> at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
> at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
> at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
> at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
> at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
> at System.Threading.ThreadHelper.ThreadStart()
> InnerException:
> HResult=-2146233088
> Message=Could not load file or assembly 'Apache.Ignite.ExamplesDll, Version=1.0.6375.29467, Culture=neutral, PublicKeyToken=c27524977cb332ce' or one of its dependencies. The system cannot find the file specified.
> InnerException:
> HResult=-2146233088
> JavaClassName=javax.cache.CacheException
> JavaMessage=class org.apache.ignite.IgniteCheckedException: Could not load file or assembly 'Apache.Ignite.ExamplesDll, Version=1.0.6375.29467, Culture=neutral, PublicKeyToken=c27524977cb332ce' or one of its dependencies. The system cannot find the file specified.
> Message=javax.cache.CacheException: class org.apache.ignite.IgniteCheckedException: Could not load file or assembly 'Apache.Ignite.ExamplesDll, Version=1.0.6375.29467, Culture=neutral, PublicKeyToken=c27524977cb332ce' or one of its dependencies. The system cannot find the file specified.
> at org.apache.ignite.internal.processors.cache.GridCacheUtils.convertToCacheException(GridCacheUtils.java:1323)
> at org.apache.ignite.internal.processors.cache.IgniteCacheProxy.cacheException(IgniteCacheProxy.java:2629)
> at org.apache.ignite.internal.processors.cache.IgniteCacheProxy.clear(IgniteCacheProxy.java:2049)
> at org.apache.ignite.internal.processors.platform.cache.PlatformCache.processInLongOutLong(PlatformCache.java:1088)
> at org.apache.ignite.internal.processors.platform.PlatformTargetProxyImpl.inLongOutLong(PlatformTargetProxyImpl.java:53)
> Caused by: class org.apache.ignite.IgniteCheckedException: Could not load file or assembly 'Apache.Ignite.ExamplesDll, Version=1.0.6375.29467, Culture=neutral, PublicKeyToken=c27524977cb332ce' or one of its dependencies. The system cannot find the file specified.
> at org.apache.ignite.internal.util.IgniteUtils.cast(IgniteUtils.java:7229)
> at org.apache.ignite.internal.util.future.GridFutureAdapter.resolve(GridFutureAdapter.java:258)
> at org.apache.ignite.internal.util.future.GridFutureAdapter.get0(GridFutureAdapter.java:170)
> at org.apache.ignite.internal.util.future.GridFutureAdapter.get(GridFutureAdapter.java:139)
> at org.apache.ignite.internal.processors.cache.GridCacheGateway.enter(GridCacheGateway.java:166)
> at org.apache.ignite.internal.processors.cache.GridCacheProxyImpl.clearLocally(GridCacheProxyImpl.java:974)
> at org.apache.ignite.internal.processors.cache.GridCacheAdapter$GlobalClearAllJob.localExecute(GridCacheAdapter.java:5142)
> at org.apache.ignite.internal.processors.cache.GridCacheAdapter$TopologyVersionAwareJob.execute(GridCacheAdapter.java:6099)
> at org.apache.ignite.internal.processors.job.GridJobWorker$2.call(GridJobWorker.java:566)
> at org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6608)
> at org.apache.ignite.internal.processors.job.GridJobWorker.execute0(GridJobWorker.java:560)
> at org.apache.ignite.internal.processors.job.GridJobWorker.body(GridJobWorker.java:489)
> at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
> at org.apache.ignite.internal.processors.job.GridJobProcessor.processJobExecuteRequest(GridJobProcessor.java:1114)
> at org.apache.ignite.internal.processors.job.GridJobProcessor$JobExecutionListener.onMessage(GridJobProcessor.java:1907)
> at org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1554)
> at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:1182)
> at org.apache.ignite.internal.managers.communication.GridIoManager.access$4200(GridIoManager.java:124)
> at org.apache.ignite.internal.managers.communication.GridIoManager$9.run(GridIoManager.java:1095)
> 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: Could not load file or assembly 'Apache.Ignite.ExamplesDll, Version=1.0.6375.29467, Culture=neutral, PublicKeyToken=c27524977cb332ce' or one of its dependencies. The system cannot find the file specified.
> at org.apache.ignite.internal.processors.platform.callback.PlatformCallbackUtils.inLongOutLong(Native Method)
> at org.apache.ignite.internal.processors.platform.callback.PlatformCallbackGateway.cacheStoreCreate(PlatformCallbackGateway.java:65)
> at org.apache.ignite.internal.processors.platform.dotnet.PlatformDotNetCacheStore.initialize(PlatformDotNetCacheStore.java:382)
> at org.apache.ignite.internal.processors.platform.PlatformProcessorImpl.registerStore0(PlatformProcessorImpl.java:549)
> at org.apache.ignite.internal.processors.platform.PlatformProcessorImpl.registerStore(PlatformProcessorImpl.java:359)
> at org.apache.ignite.internal.processors.cache.store.CacheOsStoreManager.start0(CacheOsStoreManager.java:60)
> at org.apache.ignite.internal.processors.cache.GridCacheManagerAdapter.start(GridCacheManagerAdapter.java:50)
> at org.apache.ignite.internal.processors.cache.GridCacheProcessor.startCache(GridCacheProcessor.java:1166)
> at org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareCacheStart(GridCacheProcessor.java:1867)
> at org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.onCacheChangeRequest(CacheAffinitySharedManager.java:717)
> at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onCacheChangeRequest(GridDhtPartitionsExchangeFuture.java:725)
> at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:561)
> at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:1858)
> at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
> ... 1 more
> InnerException:
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)