# Exception after update to AutoMapper 8

**URL:** <https://forum.litium.com/t/exception-after-update-to-automapper-8/1561>\
**Category:** Questions\
**Tags:** litium-6\
**Created:** [July 2, 2020, 2:13pm UTC](https://forum.litium.com/t/exception-after-update-to-automapper-8/1561 "2020-07-02T14:13:48Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![krilin](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/krilin/32/175_2.png) [@krilin](https://forum.litium.com/u/krilin)\
**Post date:** [July 2, 2020, 2:13pm UTC](https://forum.litium.com/t/exception-after-update-to-automapper-8/1561/1 "2020-07-02T14:13:48Z")

</div>

Hi!

I got this exception after upgrade to AutoMapper 8 via latest Klarna plugin:

Metoden MapExpression i typen AutoMapper.Mappers.ObjectToEquivalencyExpressionByEquivalencyExistingMapper från sammansättningen AutoMapper.Collection, Version=4.0.0.0, Culture=neutral, PublicKeyToken=e57c3f0a3d6646db saknar implementering.\*

Any ideas?

Thanks!

/Kristoffer

Litium version: 6.3.9

---

<div class="post-metadata">

**Author:** ![krilin](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/krilin/32/175_2.png) [@krilin](https://forum.litium.com/u/krilin)\
**Post date:** [July 3, 2020, 8:58am UTC](https://forum.litium.com/t/exception-after-update-to-automapper-8/1561/2 "2020-07-03T08:58:46Z")

</div>

Hi!  
Upgraded AutoMapper.Collection to 5.0 and then got this message:

System.MissingMethodException: Metoden hittades inte: Void AutoMapper.IMemberConfigurationExpression`3.ResolveUsing(System.Func`2\<!0,!!0\>).

Can you run 6.3.9 with AutoMapper 8? It is the Litium.Application.Runtime.ApplicationStartupEngine.Init() that fails.

Thanks!

/Kristoffer

---

<div class="post-metadata">

**Author:** ![steve.redstorm](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/steve.redstorm/32/14_2.png) [@steve.redstorm](https://forum.litium.com/u/steve.redstorm)\
**Post date:** [July 3, 2020, 9:07am UTC](https://forum.litium.com/t/exception-after-update-to-automapper-8/1561/3 "2020-07-03T09:07:15Z")

</div>

Supported AutoMapper version on Litium 6.3.9 is:

```auto
<package id="AutoMapper" version="7.0.1" targetFramework="net461" />

```

---

<div class="post-metadata">

**Author:** ![krilin](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/krilin/32/175_2.png) [@krilin](https://forum.litium.com/u/krilin)\
**Post date:** [July 3, 2020, 9:12am UTC](https://forum.litium.com/t/exception-after-update-to-automapper-8/1561/4 "2020-07-03T09:12:25Z")

</div>

Now this i bad, since the latest version of Litium.Addon.Klarna requires AutoMapper 8.0. How come you change major version from 7 to 8 when going from 4.7.110 to 4.7.111 on the Klarna addon? That is really strange!

Ok, so how do we fix this? We have been waiting for the new Klarna package that supports Klarna Shipping.

/Kristoffer

---

<div class="post-metadata">

**Author:** ![steve.redstorm](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/steve.redstorm/32/14_2.png) [@steve.redstorm](https://forum.litium.com/u/steve.redstorm)\
**Post date:** [July 6, 2020, 9:08am UTC](https://forum.litium.com/t/exception-after-update-to-automapper-8/1561/5 "2020-07-06T09:08:52Z")

</div>

R&D is looking into this issue.

---

<div class="post-metadata">

**Author:** ![steve.redstorm](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/steve.redstorm/32/14_2.png) [@steve.redstorm](https://forum.litium.com/u/steve.redstorm)\
**Post date:** [July 6, 2020, 7:55pm UTC](https://forum.litium.com/t/exception-after-update-to-automapper-8/1561/6 "2020-07-06T19:55:22Z")

</div>

You can now use this new version 4.7.112 which fixed that issue.  
[https://docs.litium.com/documentation/add-ons/payments/klarna/release-notes](https://docs.litium.com/documentation/add-ons/payments/klarna/release-notes)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/12eddac3b8b661de1db86af10ac8151b571e6fb9.png) [@system](https://forum.litium.com/u/system)\
**Post date:** [August 3, 2020, 7:55pm UTC](https://forum.litium.com/t/exception-after-update-to-automapper-8/1561/7 "2020-08-03T19:55:28Z")

</div>

Closed on August 3, 2020, 7:55pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
