Skip to content

[BEAM-6452] Fix NullPointerException caused by nested collections#7536

Merged
reuvenlax merged 3 commits intoapache:masterfrom
reuvenlax:fix_nested_collection_in_creator
Jan 17, 2019
Merged

[BEAM-6452] Fix NullPointerException caused by nested collections#7536
reuvenlax merged 3 commits intoapache:masterfrom
reuvenlax:fix_nested_collection_in_creator

Conversation

@reuvenlax
Copy link
Contributor

A schema of the form List<List> causes a NullPointerException when converting to a POJO. This is because the Java type information was not properly passed down recursively.

R: @kanterov

@reuvenlax reuvenlax requested a review from apilloud January 16, 2019 17:06
@apilloud
Copy link
Member

Run Java_Examples_Dataflow PreCommit

@reuvenlax
Copy link
Contributor Author

The examples are failing because the beam1 Jenkins executor is hosed.

@reuvenlax
Copy link
Contributor Author

Run Java_Examples_Dataflow PreCommit

Copy link
Member

@apilloud apilloud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for adding tests!

.build();
}
}
} No newline at end of file
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Add back the newline.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@apilloud
Copy link
Member

Run Java_Examples_Dataflow PreCommit

1 similar comment
@reuvenlax
Copy link
Contributor Author

Run Java_Examples_Dataflow PreCommit

@reuvenlax reuvenlax merged commit be7c159 into apache:master Jan 17, 2019
@kanterov
Copy link
Member

I checked the code, it looks good.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants