[JIRA] (PLUGIN-1367) BigQuery Sink with empty schema causes NullPointerException when configuring SQL Engine Output

8 views
Skip to first unread message

Fernando Velasquez (Jira)

unread,
Sep 1, 2022, 3:53:28 PM9/1/22
to cdap-...@googlegroups.com
Fernando Velasquez created an issue
 
CDAP Plugins / Bug PLUGIN-1367
BigQuery Sink with empty schema causes NullPointerException when configuring SQL Engine Output
Issue Type: Bug Bug
Affects Versions: 6.7.0, 6.7.1
Assignee: Unassigned
Created: 01/Sep/22 12:53 PM
Priority: Major Major
Reporter: Fernando Velasquez
Error: 2022-08-30 17:44:35,916 - ERROR [SparkRunner-phase-1:i.c.c.i.a.r.ProgramControllerServiceAdapter@98] - Spark program 'phase-1' failed with error: null value in entry: schema=null. Please check the system logs for more details.
java.lang.NullPointerException: null value in entry: schema=null
    at com.google.common.collect.CollectPreconditions.checkEntryNotNull(CollectPreconditions.java:32) ~[guava-28.2-jre.jar:na]
    at com.google.common.collect.ImmutableMap.entryOf(ImmutableMap.java:176) ~[com.google.guava.guava-13.0.1.jar:na]
    at com.google.common.collect.ImmutableMap$Builder.put(ImmutableMap.java:285) ~[com.google.guava.guava-13.0.1.jar:na]
    at io.cdap.plugin.gcp.bigquery.sink.BigQuerySink.initSQLEngineOutput(BigQuerySink.java:178) ~[na:na]
    at io.cdap.plugin.gcp.bigquery.sink.BigQuerySink.prepareRunInternal(BigQuerySink.java:131) ~[na:na]
    at io.cdap.plugin.gcp.bigquery.sink.AbstractBigQuerySink.prepareRun(AbstractBigQuerySink.java:96) ~[na:na]
    at io.cdap.plugin.gcp.bigquery.sink.AbstractBigQuerySink.prepareRun(AbstractBigQuerySink.java:55) ~[na:na]
Add Comment Add Comment
 
Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS
This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100206-sha1:41d1dbf)
Atlassian logo

Fernando Velasquez (Jira)

unread,
Sep 1, 2022, 3:53:40 PM9/1/22
to cdap-...@googlegroups.com

Fernando Velasquez (Jira)

unread,
Sep 2, 2022, 11:31:55 AM9/2/22
to cdap-...@googlegroups.com
Change By: Fernando Velasquez
Assignee: UnassignedFernando Velasquez
Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS
This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100206-sha1:3ac329d)
Atlassian logo

Fernando Velasquez (Jira)

unread,
Sep 2, 2022, 11:31:56 AM9/2/22
to cdap-...@googlegroups.com

Fernando Velasquez (Jira)

unread,
Sep 12, 2022, 3:51:55 PM9/12/22
to cdap-...@googlegroups.com
Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS
This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100206-sha1:8e0b99e)
Atlassian logo

Fernando Velasquez (Jira)

unread,
Sep 12, 2022, 3:52:53 PM9/12/22
to cdap-...@googlegroups.com

robin (Jira)

unread,
Sep 12, 2022, 4:14:40 PM9/12/22
to cdap-...@googlegroups.com
robin updated an issue
Change By: robin
Release Notes: In the BigQuery Sink plugin, fixed an issue that caused a NullPointerException error when the output schema was not defined.
Reply all
Reply to author
Forward
0 new messages