Skip to content

ParseCancellationException obscured by NullPointerException #448

@kaqqao

Description

@kaqqao

If a query contains extra characters at the end, e.g. {something}}, document parsing will throw a ParseCancellationException that doesn't have RecognitionException as the cause. Yet, graphql.GraphQL#203 always expects RecognitionException, which causes a NullPointerException obscuring the real error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions