Skip to content

FieldAccessDescriptorParser failures throw NPE #21284

Open

Description

@damccorm

An actual parser error is logged, but then a null pointer exception is thrown.

Example code:

FieldAccessDescriptor.withFieldNamesAs(ImmutableMap.of(""", """));

Logs:

line 1:0 token recognition error at: '"'
line 1:1 mismatched input '<EOF>' expecting {IDENTIFIER, '*'}

Imported from Jira BEAM-13696. Original Jira may contain additional context.
Reported by: ibzib.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions