You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
when i try to call the .get() method for order_carrierFactory, i receive an NullReferenceException error on deserialize class.
Here my code snippet:
OrderCarrierFactory OFOrderCarrier = new
OrderCarrierFactory(BaseUrl.ToString(), AccountRW.ToString(), Password);
order_carrier OrdineTrack = OFOrderCarrier.Get(13); <--------
Here the error:
System.NullReferenceException non è stata gestita dal codice utente
HResult=-2147467261
Message=Riferimento a un oggetto non impostato su un'istanza di oggetto.
Source=Bukimedia.PrestaSharp
StackTrace:
in Bukimedia.PrestaSharp.Deserializers.PrestaSharpDeserializer.GetElementByName(XElement root, XName name) in \Git\PrestaSharp\Deserializers\PrestaSharpDeserializer.cs:riga 391
in Bukimedia.PrestaSharp.Deserializers.PrestaSharpDeserializer.Map(Object x, XElement root) in i\Git\PrestaSharp\Deserializers\PrestaSharpDeserializer.cs:riga 97
in Bukimedia.PrestaSharp.Deserializers.PrestaSharpDeserializer.Deserialize[T](IRestResponse response) in i\Git\PrestaSharp\Deserializers\PrestaSharpDeserializer.cs:riga 55
in RestSharp.RestClient.Deserialize[T](IRestRequest request, IRestResponse raw)
InnerException:
Can u help me?
Regards
The text was updated successfully, but these errors were encountered:
Hello @GiorgioConte
First all, thank you for your feedback. Please, tell me if the the order_carrier exists in the affected tables in PrestaShop.
Regards.
Hi,
when i try to call the .get() method for order_carrierFactory, i receive an NullReferenceException error on deserialize class.
Here my code snippet:
OrderCarrierFactory OFOrderCarrier = new
OrderCarrierFactory(BaseUrl.ToString(), AccountRW.ToString(), Password);
order_carrier OrdineTrack = OFOrderCarrier.Get(13); <--------
Here the error:
System.NullReferenceException non è stata gestita dal codice utente
HResult=-2147467261
Message=Riferimento a un oggetto non impostato su un'istanza di oggetto.
Source=Bukimedia.PrestaSharp
StackTrace:
in Bukimedia.PrestaSharp.Deserializers.PrestaSharpDeserializer.GetElementByName(XElement root, XName name) in \Git\PrestaSharp\Deserializers\PrestaSharpDeserializer.cs:riga 391
in Bukimedia.PrestaSharp.Deserializers.PrestaSharpDeserializer.Map(Object x, XElement root) in i\Git\PrestaSharp\Deserializers\PrestaSharpDeserializer.cs:riga 97
in Bukimedia.PrestaSharp.Deserializers.PrestaSharpDeserializer.Deserialize[T](IRestResponse response) in i\Git\PrestaSharp\Deserializers\PrestaSharpDeserializer.cs:riga 55
in RestSharp.RestClient.Deserialize[T](IRestRequest request, IRestResponse raw)
InnerException:
Can u help me?
Regards
The text was updated successfully, but these errors were encountered: