I know this is a pre-release but I just want to start a thread to see if this is somthing known.
I don’t get this error on a clean database, but on my updated production clone I get this error all over.
exceptionMessage: "Error mapping types.
Mapping types:
WorkflowEntity -> Workflow
Litium.Application.Workflows.Data.WorkflowEntity -> Litium.Workflows.Workflow
Type Map configuration:
WorkflowEntity -> Workflow
Litium.Application.Workflows.Data.WorkflowEntity -> Litium.Workflows.Workflow
Destination Member:
Tasks
"
exceptionType: "AutoMapper.AutoMapperMappingException"
innerException: {$type: "System.Web.Http.HttpError, System.Web.Http", message: "An error has occurred.",…}
$type: "System.Web.Http.HttpError, System.Web.Http"
exceptionMessage: "Error mapping types.
Mapping types:
TaskEntity -> Task
Litium.Application.Workflows.Data.TaskEntity -> Litium.Workflows.Workflow+Task
Type Map configuration:
TaskEntity -> Task
Litium.Application.Workflows.Data.TaskEntity -> Litium.Workflows.Workflow+Task
Destination Member:
Conditions
"
exceptionType: "AutoMapper.AutoMapperMappingException"
innerException: {$type: "System.Web.Http.HttpError, System.Web.Http", message: "An error has occurred.",…}
message: "An error has occurred."
stackTrace: " at lambda_method(Closure , WorkflowEntity , Workflow , ResolutionContext )"
message: "An error has occurred."
stackTrace: " at lambda_method(Closure , WorkflowEntity , Workflow , ResolutionContext )
at lambda_method(Closure , Object , Object , ResolutionContext )
at Litium.Application.Caching.CacheLoader.<>c__DisplayClass4_1`3.<LoadByPrimaryKey>b__1(TValueEntity x)
at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Litium.Application.Caching.CacheLoader.<>c__DisplayClass4_0`3.<LoadByPrimaryKey>b__0(LitiumDbContext db)
at Litium.Application.Data.DbContextExtension.ExecuteInDbContext[T](IServiceProvider serviceProvider, Func`2 loaderFunc)
at Litium.Application.Caching.CacheLoader.LoadByPrimaryKey[TKey,TValue,TValueEntity](KeyContext`2 keyContext, IEnumerable`1 keys)
at Litium.Application.Caching.EntityCacheImpl`2.TryLoadItems(IEnumerable`1 keys)
at Litium.Application.Caching.EntityCacheImpl`2.Get(IEnumerable`1 keys)
--- End of stack trace from previous location where exception was thrown ---
at lambda_method(Closure , Exception )
at Litium.Application.Runtime.ExceptionEnlightenment.PrepareForRethrow(Exception exception)
at Litium.Application.Runtime.ExceptionHelpers.PrepareForRethrow(Exception exception)
at Litium.Application.Caching.LoadableCacheItem.SetException(Exception exception)
at Litium.Application.Caching.EntityCacheImpl`2.Get(IEnumerable`1 keys)
at Litium.Application.Caching.FullCache`2.Get()
at Litium.Application.Workflows.WorkflowServiceImpl.GetAll()
at Litium.Web.Administration.WebApi.Products.Controllers.TasksController.Get()
at lambda_method(Closure , Object , Object[] )
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass6_2.<GetExecutor>b__2(Object instance, Object[] methodParameters)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Tracing.ITraceWriterExtensions.<TraceBeginEndAsyncCore>d__17`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Tracing.ITraceWriterExtensions.<TraceBeginEndAsyncCore>d__17`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Tracing.Tracers.HttpControllerTracer.<ExecuteAsyncCore>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Tracing.ITraceWriterExtensions.<TraceBeginEndAsyncCore>d__17`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__15.MoveNext()"