Skip to content

NullReferenceException inside GetPropertyByName #34

@VictorioBerra

Description

@VictorioBerra

https://github.com/AlexanderKrutov/DataTables.Queryable/blob/master/DataTables.Queryable/DataTablesRequest.cs#L254

The bug is here type.GetProperty(parts[0]).PropertyType. GetProperty returns null, so this will explode and is never caught. Obviously this was hard to catch because it only happens when you are accessing a nested property.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions