You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kyle Weaver (Jira)" <ji...@apache.org> on 2022/01/19 22:01:00 UTC

[jira] [Created] (BEAM-13696) FieldAccessDescriptorParser failures throw NPE

Kyle Weaver created BEAM-13696:
----------------------------------

             Summary: FieldAccessDescriptorParser failures throw NPE
                 Key: BEAM-13696
                 URL: https://issues.apache.org/jira/browse/BEAM-13696
             Project: Beam
          Issue Type: Bug
          Components: sdk-java-core
            Reporter: Kyle Weaver


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, '*'}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)