You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Kengo Seki (JIRA)" <ji...@apache.org> on 2017/02/22 05:02:44 UTC

[jira] [Created] (BIGTOP-2691) Failed to build bigpetstore-spark with StackOverflowError

Kengo Seki created BIGTOP-2691:
----------------------------------

             Summary: Failed to build bigpetstore-spark with StackOverflowError
                 Key: BIGTOP-2691
                 URL: https://issues.apache.org/jira/browse/BIGTOP-2691
             Project: Bigtop
          Issue Type: Bug
          Components: blueprints
            Reporter: Kengo Seki


I ran {{gradle shadowJar}} in bigtop-bigpetstore/bigpetstore-spark and got the following error:

{code}
sekikn@xenial:~/bigtop/bigtop-bigpetstore/bigpetstore-spark$ gradle shadowJar --stacktrace

(snip)

:shadowJar FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':shadowJar'.
> java.lang.StackOverflowError (no error message)

* Try:
Run with --info or --debug option to get more log output.

* Exception is:

(snip)

Caused by: java.lang.StackOverflowError
        at com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar.copy(ShadowJar.groovy:48)
        at com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar.copy(ShadowJar.groovy:48)
        at com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar.copy(ShadowJar.groovy:48)
        at com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar.copy(ShadowJar.groovy:48)

(snip)
{code}

This seems fixed in shadow plugin v1.0.3, as http://imperceptiblethoughts.com/shadow/ says:

{code}
(v1.0.3) Fixed StackOverflow when a cycle occurs in the resolved dependency graph (Issue #69)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)