Skip to content

Random null reference errors at PodioAPI.Podio.Request[T] #43

@aztommylee

Description

@aztommylee

Using NuGet Podio.Net package version 1.5.6

Doesn't seem to be a rhyme or reason to it, but we are getting occasional NullRefenceExceptions in the Request method after calling AddItem or UpdateItem. Is there a way to build the Non-Async version of Podio.net to debug further? Unless I'm missing something, the repository only contains async code.

System.NullReferenceException: Object reference not set to an instance of an object.
at PodioAPI.Podio.Request[T](RequestMethod requestMethod, String url, Object requestData, Object options)
at PodioAPI.Podio.Put[T](String url, Object requestData, Object options)
at PodioAPI.Services.ItemService.UpdateItem(Item item, Nullable1 spaceId, Nullable1 revision, Boolean silent, Boolean hook)
at RAPodioLib.RAPodioAPI.InsertUpdateAgentContact(Podio podio, Property property, DataTable agentData, DataTable brokerData) in D:\LocalGit\PodioLib\RAPodioAPI.cs:line 556

System.NullReferenceException: Object reference not set to an instance of an object.
at PodioAPI.Podio.Request[T](RequestMethod requestMethod, String url, Object requestData, Object options)
at PodioAPI.Podio.Post[T](String url, Object requestData, Object options)
at PodioAPI.Services.ItemService.AddNewItem(Int32 appId, Item item, Nullable`1 spaceId, Boolean silent, Boolean hook)
at RAPodioLib.RAPodioAPI.InsertUpdateProperty(Podio podio, Property property, Int32 mlsPhotoID) in D:\LocalGit\PodioLib\RAPodioAPI.cs:line 315

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions