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)

Reply via email to