[ https://issues.apache.org/jira/browse/IGNITE-15845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Tupitsyn updated IGNITE-15845: ------------------------------------ Affects Version/s: 2.6 > .NET: CreateCache fails - Invalid array specification > ----------------------------------------------------- > > Key: IGNITE-15845 > URL: https://issues.apache.org/jira/browse/IGNITE-15845 > Project: Ignite > Issue Type: Bug > Components: platforms > Affects Versions: 2.6 > Reporter: Pavel Tupitsyn > Assignee: Pavel Tupitsyn > Priority: Critical > Labels: .NET > Fix For: 2.12, 2.13 > > Time Spent: 20m > Remaining Estimate: 0h > > Ignition.Start fails with an exception: > {code} > Failure in Java callback Apache.Ignite.Core.Common.IgniteException: Invalid > array specification: > MassTransit.Initializers.PropertyConverters.MessageDataPropertyConverter+<MassTransit-Initializers-IPropertyConverter<MassTransit-MessageData<System-Byte\[\]>\,MassTransit-MessageData<System-String>>-Convert>d__4`1 > at Apache.Ignite.Core.Impl.Binary.TypeNameParser.ParseArrayDefinition() > at Apache.Ignite.Core.Impl.Binary.TypeNameParser.Parse() > at Apache.Ignite.Core.Impl.Binary.TypeNameParser..ctor(String typeName, > Int32& pos) > at Apache.Ignite.Core.Impl.Binary.TypeNameParser.Parse(String typeName) > at Apache.Ignite.Core.Binary.BinaryBasicNameMapper.GetTypeName(String name) > at > Apache.Ignite.Core.Impl.Binary.TypeResolver.<>c__DisplayClass8_0.<FindType>b__0(Type > x) > at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, > Func`2 predicate, Boolean& found) > at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, > Func`2 predicate) > at Apache.Ignite.Core.Impl.Binary.TypeResolver.FindType(Assembly asm, > String typeName, IBinaryNameMapper mapper) > at > Apache.Ignite.Core.Impl.Binary.TypeResolver.<>c__DisplayClass4_0.<ResolveNonGenericType>b__1(Assembly > a) > at System.Linq.Enumerable.SelectArrayIterator`2.MoveNext() > at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, > Func`2 predicate, Boolean& found) > at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, > Func`2 predicate) > at > Apache.Ignite.Core.Impl.Binary.TypeResolver.ResolveNonGenericType(String > assemblyName, String typeName, ICollection`1 assemblies, IBinaryNameMapper > nameMapper) > at Apache.Ignite.Core.Impl.Binary.TypeResolver.ResolveType(String > assemblyName, TypeNameParser typeName, ICollection`1 assemblies, > IBinaryNameMapper nameMapper) > at Apache.Ignite.Core.Impl.Binary.TypeResolver.ResolveType(String > typeName, String assemblyName, IBinaryNameMapper nameMapper) > at Apache.Ignite.Core.Impl.Binary.Marshaller.ResolveType(String typeName) > at Apache.Ignite.Core.Impl.Binary.Marshaller.GetDescriptor(Boolean > userType, Int32 typeId, Boolean requiresType, String typeName, Type knownType) > at Apache.Ignite.Core.Impl.Binary.Marshaller.GetDescriptor(String > typeName, Boolean requiresType) > at > Apache.Ignite.Core.Impl.Unmanaged.UnmanagedCallbacks.<>c__DisplayClass98_0.<BinaryTypeGet>b__0() > at Apache.Ignite.Core.Impl.Unmanaged.UnmanagedCallbacks.SafeCall[T](Func`1 > func, Boolean allowUnitialized) > {code} > 1. ResolveNonGenericType should skip all generic types when scanning > assemblies > 2. ParseArrayDefinition should be fixed > *Workaround* > Register SQL key and value types manually before starting the cache: > {code} > ignite.GetBinary().GetBinaryType(typeof(TKey)); > ignite.GetBinary().GetBinaryType(typeof(TValue)); > {code} -- This message was sent by Atlassian Jira (v8.20.1#820001)