Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jacob 2 posts 72 karma points
    Oct 22, 2016 @ 07:40
    Jacob
    0

    Value cannot be null. Parameter name: merchelloContext

    Hi,

    Using Merchello 2.3.0 and Umbraco 7.5.3, it runs for a few days and then suddenly starts throwing an exception.

    [ArgumentNullException: Value cannot be null. Parameter name: merchelloContext] Umbraco.Core.Mandate.That(Boolean condition, Func`1 defer) +27 Umbraco.Core.Mandate.ParameterNotNull(T value, String paramName) +104 Merchello.Web.Pluggable.CustomerContextBase..ctor(IMerchelloContext merchelloContext, UmbracoContext umbracoContext) +30 Merchello.Web.CustomerContext..ctor(UmbracoContext umbracoContext) +54

    Any ideas?

  • Jacob 2 posts 72 karma points
    Oct 29, 2016 @ 16:49
    Jacob
    0

    I thought it might be a one timer so I set up a fresh install. Though it happened again. I don't know whether it is caused by fasttrack or something else. The exception happened right after adding a product.

    System.Security.Cryptography.CryptographicException: Error occurred during a cryptographic operation. at System.Web.Security.Cryptography.HomogenizingCryptoServiceWrapper.HomogenizeErrors(Func'2 func, Byte[] input) at System.Web.Security.Cryptography.HomogenizingCryptoServiceWrapper.Unprotect(Byte[] protectedData) at System.Web.Security.FormsAuthentication.Decrypt(String encryptedTicket) at Umbraco.Core.StringExtensions.DecryptWithMachineKey(String value) at Merchello.Core.Persistence.Factories.GatewayProviderSettingsFactory.BuildEntity(GatewayProviderSettingsDto dto) at Merchello.Core.Persistence.Repositories.GatewayProviderRepository.

    This is nothing anyone has experienced before? Rusty perhaps you have an idea of what's going wrong.

    Edit Definitely something going wrong in the DB, deleted the Merchello tables, uninstalled Merchello, installed again and it runs again. Though it would be nice to find the cause. I will keep looking at least

  • René 327 posts 852 karma points
    Jun 07, 2017 @ 05:58
    René
    0

    Hi Jacob

    I have the same problem with Merchello and umbraco.

    Umbraco version 7.5.14 Merchello 2.5 Fasttrack 2.5

    See more: https://our.umbraco.org/projects/collaboration/merchello/merchello/86194-customermembershipcontroller-null-error-merchello

    René

  • M N 125 posts 212 karma points
    Sep 19, 2017 @ 20:30
    M N
    0

    Hey guys,

    Anyone figure out the real cause of this? Here's what i know

    1) This doesn't happen on my main work machine 2) #1 is true even when I do a fresh GIT clone 3) Fresh GIT clone on my laptop results in this error (merchelloContext null) 4) One of our developers also same, Fresh GIT clone = MerchelloContext null

    Both of us have been banging our heads on this, and I have no idea why Merchello would fail only on some machines.

    Any suggestions most welcome!

Please Sign in or register to post replies

Write your reply to:

Draft