Fyi: You can delete
CreateMap<InscriptionTypeCreateDto, InscriptionType>()...
andCreateMap<InscriptionTypeUpdateDto, InscriptionType>()...
lines completely.
Hello Yekalkan, thank you for your help.
I was deleted this lines, but I get the same error:
[
{
"code": null,
"message": "Error mapping types.\r\n\r\nMapping types:\r\nObject -> List1\r\nSystem.Object -> System.Collections.Generic.List
1[[Innovain.Sports.Games.Maitenance.InscriptionTypeWithNavigationPropertiesDto, Innovain.Sports.Games.Application.Contracts, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null]]",
"details": "AutoMapperMappingException: Error mapping types.\r\n\r\nMapping types:\r\nObject -> List1\r\nSystem.Object -> System.Collections.Generic.List
1[[Innovain.Sports.Games.Maitenance.InscriptionTypeWithNavigationPropertiesDto, Innovain.Sports.Games.Application.Contracts, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null]]\r\nSTACK TRACE: at lambda_method6040(Closure , Object , List1 , ResolutionContext )\r\n at Volo.Abp.ObjectMapping.DefaultObjectMapper.Map[TSource,TDestination](TSource source)\r\n at Innovain.Sports.Games.Maitenance.InscriptionTypesAppService.GetListAsync(GetInscriptionTypesInput input) in D:\\Innovain\\Innovain.Sports\\modules\\Innovain.Sports.Games\\src\\Innovain.Sports.Games.Application\\Maitenance\\InscriptionTypeAppService.cs:line 37\r\n at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)\r\n at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue
1.ProceedAsync()\r\n at Volo.Abp.Authorization.AuthorizationInterceptor.InterceptAsync(IAbpMethodInvocation invocation)\r\n at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func
3 proceed)\r\n at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)\r\n at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.ProceedAsync()\r\n at Volo.Abp.GlobalFeatures.GlobalFeatureInterceptor.InterceptAsync(IAbpMethodInvocation invocation)\r\n at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter
1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed)\r\n at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)\r\n at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue
1.ProceedAsync()\r\n at Volo.Abp.Auditing.AuditingInterceptor.ProceedByLoggingAsync(IAbpMethodInvocation invocation, IAuditingHelper auditingHelper, IAuditLogScope auditLogScope)\r\n at Volo.Abp.Auditing.AuditingInterceptor.InterceptAsync(IAbpMethodInvocation invocation)\r\n at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func
3 proceed)\r\n at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)\r\n at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.ProceedAsync()\r\n at Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation)\r\n at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter
1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed)\r\n at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)\r\n at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue
1.ProceedAsync()\r\n at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation)\r\n at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func
3 proceed)\r\n at lambda_method5968(Closure , Object )\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Logged|12_1(ControllerActionInvoker invoker)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\r\nAutoMapperMappingException: Missing type map configuration or unsupported mapping.\r\n\r\nMapping types:\r\nInscriptionTypeWithNavigationProperties -> InscriptionTypeWithNavigationPropertiesDto\r\nInnovain.Sports.Games.Maitenance.InscriptionTypeWithNavigationProperties -> Innovain.Sports.Games.Maitenance.InscriptionTypeWithNavigationPropertiesDto\r\nSTACK TRACE: at lambda_method6416(Closure , InscriptionTypeWithNavigationProperties , InscriptionTypeWithNavigationPropertiesDto , ResolutionContext )\r\n at lambda_method6040(Closure , Object , List1 , ResolutionContext )\r\n", "data": null, "validationErrors": null }, { "code": null, "message": "Error mapping types.\r\n\r\nMapping types:\r\nObject -> List
1\r\nSystem.Object -> System.Collections.Generic.List1[[Innovain.Sports.Games.Maitenance.InscriptionTypeWithNavigationPropertiesDto, Innovain.Sports.Games.Application.Contracts, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null]]", "details": "AutoMapperMappingException: Error mapping types.\r\n\r\nMapping types:\r\nObject -> List
1\r\nSystem.Object -> System.Collections.Generic.List1[[Innovain.Sports.Games.Maitenance.InscriptionTypeWithNavigationPropertiesDto, Innovain.Sports.Games.Application.Contracts, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null]]\r\nSTACK TRACE: at lambda_method6040(Closure , Object , List
1 , ResolutionContext )\r\n at Volo.Abp.ObjectMapping.DefaultObjectMapper.Map[TSource,TDestination](TSource source)\r\n at Innovain.Sports.Games.Maitenance.InscriptionTypesAppService.GetListAsync(GetInscriptionTypesInput input) in D:\Innovain\Innovain.Sports\modules\Innovain.Sports.Games\src\Innovain.Sports.Games.Application\Maitenance\InscriptionTypeAppService.cs:line 37\r\n at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)\r\n at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.ProceedAsync()\r\n at Volo.Abp.Authorization.AuthorizationInterceptor.InterceptAsync(IAbpMethodInvocation invocation)\r\n at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter
1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed)\r\n at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)\r\n at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue
1.ProceedAsync()\r\n at Volo.Abp.GlobalFeatures.GlobalFeatureInterceptor.InterceptAsync(IAbpMethodInvocation invocation)\r\n at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func
3 proceed)\r\n at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)\r\n at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.ProceedAsync()\r\n at Volo.Abp.Auditing.AuditingInterceptor.ProceedByLoggingAsync(IAbpMethodInvocation invocation, IAuditingHelper auditingHelper, IAuditLogScope auditLogScope)\r\n at Volo.Abp.Auditing.AuditingInterceptor.InterceptAsync(IAbpMethodInvocation invocation)\r\n at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter
1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed)\r\n at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)\r\n at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue
1.ProceedAsync()\r\n at Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation)\r\n at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func
3 proceed)\r\n at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)\r\n at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.ProceedAsync()\r\n at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation)\r\n at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter
1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed)\r\n at lambda_method5968(Closure , Object )\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Logged|12_1(ControllerActionInvoker invoker)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\r\nAutoMapperMappingException: Missing type map configuration or unsupported mapping.\r\n\r\nMapping types:\r\nInscriptionTypeWithNavigationProperties -> InscriptionTypeWithNavigationPropertiesDto\r\nInnovain.Sports.Games.Maitenance.InscriptionTypeWithNavigationProperties -> Innovain.Sports.Games.Maitenance.InscriptionTypeWithNavigationPropertiesDto\r\nSTACK TRACE: at lambda_method6416(Closure , InscriptionTypeWithNavigationProperties , InscriptionTypeWithNavigationPropertiesDto , ResolutionContext )\r\n at lambda_method6040(Closure , Object , List
1 , ResolutionContext )\r\n",
"data": null,
"validationErrors": null
}
]
1.<ThrowExceptionForResponseAsync>d__40[[Innovain.Sports.Games.Maitenance.IInscriptionTypesAppService, Innovain.Sports.Games.Application.Contracts, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase
1.<RequestAsync>d__34[[Innovain.Sports.Games.Maitenance.IInscriptionTypesAppService, Innovain.Sports.Games.Application.Contracts, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase1.<RequestAsync>d__33
1[[Innovain.Sports.Games.Maitenance.IInscriptionTypesAppService, Innovain.Sports.Games.Application.Contracts, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null],[Volo.Abp.Application.Dtos.PagedResultDto1[[Innovain.Sports.Games.Maitenance.InscriptionTypeWithNavigationPropertiesDto, Innovain.Sports.Games.Application.Contracts, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=5.2.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptorClientProxy
1.<CallRequestAsync>d__01[[Innovain.Sports.Games.Maitenance.IInscriptionTypesAppService, Innovain.Sports.Games.Application.Contracts, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null],[Volo.Abp.Application.Dtos.PagedResultDto
1[[Innovain.Sports.Games.Maitenance.InscriptionTypeWithNavigationPropertiesDto, Innovain.Sports.Games.Application.Contracts, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=5.2.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor1.<CallRequestAsync>d__26
1[[Innovain.Sports.Games.Maitenance.IInscriptionTypesAppService, Innovain.Sports.Games.Application.Contracts, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null],[Volo.Abp.Application.Dtos.PagedResultDto1[[Innovain.Sports.Games.Maitenance.InscriptionTypeWithNavigationPropertiesDto, Innovain.Sports.Games.Application.Contracts, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=5.2.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor
1.<GetResultAsync>d__27[[Innovain.Sports.Games.Maitenance.IInscriptionTypesAppService, Innovain.Sports.Games.Application.Contracts, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor1.<InterceptAsync>d__24[[Innovain.Sports.Games.Maitenance.IInscriptionTypesAppService, Innovain.Sports.Games.Application.Contracts, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter
1.<InterceptAsync>d__31[[Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor
1[[Innovain.Sports.Games.Maitenance.IInscriptionTypesAppService, Innovain.Sports.Games.Application.Contracts, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Http.Client, Version=5.2.0.0, Culture=neutral, PublicKeyToken=null],[Volo.Abp.Application.Dtos.PagedResultDto1[[Innovain.Sports.Games.Maitenance.InscriptionTypeWithNavigationPropertiesDto, Innovain.Sports.Games.Application.Contracts, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=5.2.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Castle.DynamicProxy.AsyncInterceptorBase.<ProceedAsynchronous>d__14
1[[Volo.Abp.Application.Dtos.PagedResultDto1[[Innovain.Sports.Games.Maitenance.InscriptionTypeWithNavigationPropertiesDto, Innovain.Sports.Games.Application.Contracts, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=5.2.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue
1.<ProceedAsync>d__7[[Volo.Abp.Application.Dtos.PagedResultDto1[[Innovain.Sports.Games.Maitenance.InscriptionTypeWithNavigationPropertiesDto, Innovain.Sports.Games.Application.Contracts, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=5.2.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter
1.<InterceptAsync>d__31[[Volo.Abp.Validation.ValidationInterceptor, Volo.Abp.Validation, Version=5.2.0.0, Culture=neutral, PublicKeyToken=null],[Volo.Abp.Application.Dtos.PagedResultDto
1[[Innovain.Sports.Games.Maitenance.InscriptionTypeWithNavigationPropertiesDto, Innovain.Sports.Games.Application.Contracts, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=5.2.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
at Innovain.Sports.Games.Blazor.Pages.Games.InscriptionTypes.GetInscriptionTypesAsync() in D:\Innovain\Innovain.Sports\modules\Innovain.Sports.Games\src\Innovain.Sports.Games.Blazor\Pages\Games\InscriptionTypes.razor.cs:line 98
at Innovain.Sports.Games.Blazor.Pages.Games.InscriptionTypes.CreateInscriptionTypeAsync() in D:\Innovain\Innovain.Sports\modules\Innovain.Sports.Games\src\Innovain.Sports.Games.Blazor\Pages\Games\InscriptionTypes.razor.cs:line 173
invokeJSFromDotNet @ global.js?_v=637738806930402996:249This is from application log:
[
{
"code": null,
"message": "Error mapping types.\r\n\r\nMapping types:\r\nObject -> List1\r\nSystem.Object -> System.Collections.Generic.List
1[[Innovain.Sports.Games.Maitenance.InscriptionTypeWithNavigationPropertiesDto, Innovain.Sports.Games.Application.Contracts, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null]]",
"details": "AutoMapperMappingException: Error mapping types.\r\n\r\nMapping types:\r\nObject -> List1\r\nSystem.Object -> System.Collections.Generic.List
1[[Innovain.Sports.Games.Maitenance.InscriptionTypeWithNavigationPropertiesDto, Innovain.Sports.Games.Application.Contracts, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null]]\r\nSTACK TRACE: at lambda_method6787(Closure , Object , List1 , ResolutionContext )\r\n at Volo.Abp.ObjectMapping.DefaultObjectMapper.Map[TSource,TDestination](TSource source)\r\n at Innovain.Sports.Games.Maitenance.InscriptionTypesAppService.GetListAsync(GetInscriptionTypesInput input) in D:\\Innovain\\Innovain.Sports\\modules\\Innovain.Sports.Games\\src\\Innovain.Sports.Games.Application\\Maitenance\\InscriptionTypeAppService.cs:line 37\r\n at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)\r\n at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue
1.ProceedAsync()\r\n at Volo.Abp.Authorization.AuthorizationInterceptor.InterceptAsync(IAbpMethodInvocation invocation)\r\n at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func
3 proceed)\r\n at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)\r\n at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.ProceedAsync()\r\n at Volo.Abp.GlobalFeatures.GlobalFeatureInterceptor.InterceptAsync(IAbpMethodInvocation invocation)\r\n at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter
1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed)\r\n at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)\r\n at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue
1.ProceedAsync()\r\n at Volo.Abp.Auditing.AuditingInterceptor.ProceedByLoggingAsync(IAbpMethodInvocation invocation, IAuditingHelper auditingHelper, IAuditLogScope auditLogScope)\r\n at Volo.Abp.Auditing.AuditingInterceptor.InterceptAsync(IAbpMethodInvocation invocation)\r\n at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func
3 proceed)\r\n at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)\r\n at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.ProceedAsync()\r\n at Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation)\r\n at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter
1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed)\r\n at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)\r\n at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue
1.ProceedAsync()\r\n at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation)\r\n at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func
3 proceed)\r\n at lambda_method6760(Closure , Object )\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Logged|12_1(ControllerActionInvoker invoker)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\r\nAutoMapperMappingException: Missing type map configuration or unsupported mapping.\r\n\r\nMapping types:\r\nInscriptionTypeWithNavigationProperties -> InscriptionTypeWithNavigationPropertiesDto\r\nInnovain.Sports.Games.Maitenance.InscriptionTypeWithNavigationProperties -> Innovain.Sports.Games.Maitenance.InscriptionTypeWithNavigationPropertiesDto\r\nSTACK TRACE: at lambda_method6945(Closure , InscriptionTypeWithNavigationProperties , InscriptionTypeWithNavigationPropertiesDto , ResolutionContext )\r\n at lambda_method6787(Closure , Object , List`1 , ResolutionContext )\r\n",
"data": null,
"validationErrors": null
},
]
{"\nUnmapped members were found. Review the types and members below.\nAdd a custom mapping expression, ignore, add a custom resolver, or modify the source/destination type\nFor no matching constructor, add a no-arg ctor, add optional arguments, or map all of the constructor parameters
Modify next automapper lines in blazor layer: CreateMap<InscriptionTypeDto, InscriptionTypeUpdateDto>().ForMember(x => x.SportIds, opt => opt.Ignore());
Thank you,
Hello, sorry but I had a question about that, Is possible add tab to Account Information but in Blazor Wasm?
Thank you gterdem, that's really good.
If your external API is not abp module that implements an Http.Api.Client layer, you can make http requests using IHttpClientFactory and deserialize manually.
Thank you gterdem, but which layer can I implement IHttpClientFactory?, I already use Http.Api.Client layer but blazor display this error:
Given type is not an ABP module:
Then can I use Application Layer directly, to implement this class?
I need get data from external API for example: https://myapi.com/requestid/{id}
I need know if can I use HttpClient in HttpApi in DDD to do this, or exists any best practice to do this integration to my project, finally I need change data from my blazor pages. I'm using Blazor Wasm DDD tired solution, then I need know the best practice to do that. And if you have an example thats great.
Thank you,
Hello EngincanV, I had the same issue but after I applied your solution I had this issue:
[1/4] Resolving packages... warning Resolution field "source-map@0.7.3" is incompatible with requested version "source-map@^0.5.6" success Already up-to-date. Done in 0.20s.
Hi, I had the same problem, after I upgrated my solution to Blazor Wasm 5.2.0-rc.1 and try to run again any entity from abp suite code generator, I had this error:
[14:54:07 ERR] ---------- RemoteServiceErrorInfo ---------- { "code": null, "message": "An internal error occurred during your request!", "details": null, "data": {}, "validationErrors": null } [14:54:07 ERR] Object reference not set to an instance of an object. System.NullReferenceException: Object reference not set to an instance of an object. at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.EntityGenerateCommand.crMnHITicG() at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.EntityGenerateCommand.A9wnsuiZ3C(String ) at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.EntityGenerateCommand.Catn1RSTBA() at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.EntityGenerateCommand.ExecuteAsync(CrudPageCommandOptions options) at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.CommandManager.ExecuteAllAsync(CrudPageCommandOptions options) at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.CrudPageGenerator.GenerateAsync(EntityModel entity, Solution solution) at Volo.Abp.Suite.Controllers.CrudPageGeneratorController.SaveAndGenerateEntityAsync(Guid solutionId, EntityModel entity) at lambda_method1814(Closure , Object ) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.
Can you help me with that?
Thank you, that's found.
ABP Framework version: v5.2.0-rc.1
UI type: Blazor Wasm
DB provider: EF Core
Tiered (MVC) or Identity Server Separated (Angular): no
Exception message and stack trace:
I get this error:
global.js?_v=637738806930402996:249
crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
Unhandled exception rendering component: The requested module './utilities.js' does not provide an export named 'firstNonNull'
SyntaxError: The requested module './utilities.js' does not provide an export named 'firstNonNull'
Microsoft.JSInterop.JSException: The requested module './utilities.js' does not provide an export named 'firstNonNull'
SyntaxError: The requested module './utilities.js' does not provide an export named 'firstNonNull'
at Microsoft.JSInterop.JSRuntime.<InvokeAsync>d__161[[Microsoft.JSInterop.IJSObjectReference, Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]].MoveNext() at Blazorise.Modules.JSNumericPickerModule.Initialize(DotNetObjectReference
1 dotNetObjectRef, ElementReference elementRef, String elementId, Object options)
at Blazorise.NumericPicker`1.
Steps to reproduce the issue:" I had this error after I upgrated from 5.1.4 to 5.2.0-rc.1. Click in Administration -> Identity Management -> Users.