This is an automated email from the ASF dual-hosted git repository. amaliujia pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push: new 9351996 Fix BEAM-10661: Java quickstart using Gradle doesn't work new ba89e76 Merge pull request #12778 from SergiyKolesnikov/BEAM-10661 9351996 is described below commit 93519964a029d9d0f72ef7dc100ae51abf918a3f Author: Sergiy Kolesnikov <sergiykolesni...@users.noreply.github.com> AuthorDate: Sun Sep 6 18:41:40 2020 +0200 Fix BEAM-10661: Java quickstart using Gradle doesn't work getPropety() will return an empty string if "exec.args" property is not set. This will prevent the NullPointerException. --- website/www/site/content/en/get-started/quickstart-java.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/www/site/content/en/get-started/quickstart-java.md b/website/www/site/content/en/get-started/quickstart-java.md index 364e32f..4e68bf0 100644 --- a/website/www/site/content/en/get-started/quickstart-java.md +++ b/website/www/site/content/en/get-started/quickstart-java.md @@ -132,7 +132,7 @@ task execute (type:JavaExec) { main = System.getProperty("mainClass") classpath = sourceSets.main.runtimeClasspath systemProperties System.getProperties() - args System.getProperty("exec.args").split() + args System.getProperty("exec.args", "").split() } {{< /highlight >}} 1. Rebuild your project by running: