Skip to content

NullReferenceException triggered when setting ParseACL to new ParseObject. #90

Closed
@amalmo

Description

@amalmo

Getting a NullReferenceException when I am trying to set the ParseACL to an instantiated ParseObject.

The following line causes the issue for me in the Parse .NET SDK 1.6.2:

var po = new ParseObject("Table");
po.ACL = new ParseACL(ParseUser.CurrentUser);

This code is run after user is authenticated. ParseUser.CurrentUser is not null.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions