Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specified method is not supported #24

Open
JuanPabloL opened this issue Nov 25, 2015 · 2 comments
Open

Specified method is not supported #24

JuanPabloL opened this issue Nov 25, 2015 · 2 comments

Comments

@JuanPabloL
Copy link

Hi People.

¿ Do you know something about this message ?

"Specified method is not supported"

I got 2 objects

a) Entity X
b) The same Entity X but is referenced through WCF Service

The message shows in the following line.

TinyMapper.Bind(Of TSource, TDest)()

StackTrace :
at
Nelibur.ObjectMapper.Mappers.Collections.CollectionMapperBuilder.GetCollectionItemType(Type type) at
Nelibur.ObjectMapper.Mappers.Collections.CollectionMapperBuilder.EmitEnumerableToTarget(Type parentType, TypeBuilder typeBuilder, TypePair typePair, String methodName, String templateMethodName) at
Nelibur.ObjectMapper.Mappers.Collections.CollectionMapperBuilder.EmitEnumerableToArray(Type parentType, TypeBuilder typeBuilder, TypePair typePair) at
Nelibur.ObjectMapper.Mappers.Collections.CollectionMapperBuilder.BuildCore(TypePair typePair) at
Nelibur.ObjectMapper.Mappers.MapperBuilder.Build(TypePair typePair) at
Nelibur.ObjectMapper.Mappers.Classes.Members.MemberMapper.CreateMapperCacheItem(TypePair typePair) at
Nelibur.ObjectMapper.Mappers.Classes.Members.MemberMapper.ConvertMember(MappingMember member, IEmitterType sourceMemeber, IEmitterType targetMember) at
Nelibur.ObjectMapper.Mappers.Classes.Members.MemberMapper.Build(MappingMember member) at
Nelibur.ObjectMapper.Mappers.Classes.Members.MemberMapper.<>c__DisplayClass1.b__0(MappingMember x) at
System.Collections.Generic.List1.ForEach(Action1 action) at
Nelibur.ObjectMapper.Mappers.Classes.Members.MemberMapper.Build(List1 members) at Nelibur.ObjectMapper.Mappers.Classes.ClassMapperBuilder.EmitMappingMembers(List1 members) at
Nelibur.ObjectMapper.Mappers.Classes.ClassMapperBuilder.EmitMapClass(TypePair typePair, TypeBuilder typeBuilder) at
Nelibur.ObjectMapper.Mappers.Classes.ClassMapperBuilder.BuildCore(TypePair typePair) at
Nelibur.ObjectMapper.Mappers.MapperBuilder.Build(TypePair typePair) at
Nelibur.ObjectMapper.Mappers.TargetMapperBuilder.Build(TypePair typePair) at
Nelibur.ObjectMapper.TinyMapper.BindTSource,TTarget at

If somebody knows something, let me know.

Best Regards.

@GSerjo
Copy link
Member

GSerjo commented Nov 25, 2015

Could you please share your Entities, I'll try to reproduce

@JuanPabloL
Copy link
Author

Here, they go.

SpecifiedMethodIsNotSupported_GitHub.txt

Thank you in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants