Copied to clipboard

Flag this post as spam?

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


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Tony Kiernan 278 posts 341 karma points
    Jul 25, 2011 @ 17:58
    Tony Kiernan
    0

    "not-null property references a null or transient value"

    Getting the error

    Error loading Razor Script Address.cshtml
    not-null property references a null or transient value UCommerce.EntitiesV2.Shipment.ShipmentName

    Att the address/shipping stage. 

    I am using a custom shipping mehtod, but it works fine on my existing test version of this site. 

  • Tony Kiernan 278 posts 341 karma points
    Jul 26, 2011 @ 08:38
    Tony Kiernan
    0

    I should add: This code works in one instance.  If I duplicate it and run in parrallel on the same database, I also get this error

     

  • Tony Kiernan 278 posts 341 karma points
    Jul 26, 2011 @ 13:54
    Tony Kiernan
    0

    The problem here seems to be in the EditShipmentInformation function.  If I bypass that and only insert a Billing address I get to the next stage.  Unfortunately, at that point it falls over as it can't find the Shiping address

    Value cannot be null. Parameter name: shippingAddress
  • Tony Kiernan 278 posts 341 karma points
    Jul 26, 2011 @ 15:39
    Tony Kiernan
    0

    Further battering about with this defintitely highlights this guy:

        Library.EditShipmentInformation(
            "Shipment"
            , "Shipping"
            , "Address"
            , "", "", "", ""
            , "address1"
            , "address2", "postcode", "city", "", ""
            , 10);

    As the break point. The address gets created but it falls over (creating the shipment?)

  • Tony Kiernan 278 posts 341 karma points
    Jul 27, 2011 @ 16:05
    Tony Kiernan
    0

    Bult the site from a clean install and the error went away

     

Please Sign in or register to post replies

Write your reply to:

Draft