Stackoverflow error Job-dsl-plugin build.

80 views
Skip to first unread message

Anil Subudhi

unread,
Apr 13, 2015, 6:40:43 AM4/13/15
to job-dsl...@googlegroups.com
Can any help me to build job-dsl plugin.

Gradle version: 2.0
Groovy 2.1.7

set JAVA_OPTS="-Xverfiy:none"

Why this stack overflow error is coming.

D:\GitRepo\plugins\JobDSL\job-dsl-plugin-master\job-dsl-plugin>gradle jpi
:job-dsl-core:compileAstJava UP-TO-DATE
:job-dsl-core:compileAstGroovy UP-TO-DATE
:job-dsl-core:processAstResources UP-TO-DATE
:job-dsl-core:astClasses UP-TO-DATE
:job-dsl-core:compileJava UP-TO-DATE
:job-dsl-core:compileGroovy UP-TO-DATE
:job-dsl-core:processResources UP-TO-DATE
:job-dsl-core:classes UP-TO-DATE
:job-dsl-core:jar UP-TO-DATE
:job-dsl-plugin:localizer UP-TO-DATE
:job-dsl-plugin:stapler FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':job-dsl-plugin:stapler'.
> java.lang.StackOverflowError

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

BUILD FAILED

Total time: 21.995 secs

Anil Subudhi

unread,
Apr 13, 2015, 6:46:45 AM4/13/15
to job-dsl...@googlegroups.com
JDK 1.7

Daniel Spilker

unread,
Apr 13, 2015, 9:12:24 AM4/13/15
to job-dsl...@googlegroups.com
You must use the Gradle wrapper from the workspace:

./gradlew clean build

Daniel

JDK 1.7
--
You received this message because you are subscribed to the Google Groups "job-dsl-plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to job-dsl-plugi...@googlegroups.com.
To post to this group, send email to job-dsl...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/job-dsl-plugin/a3f6b934-748f-44bb-a3ae-5e54d2f30081%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Anil Subudhi

unread,
Apr 13, 2015, 12:47:31 PM4/13/15
to job-dsl...@googlegroups.com
I just used below task to generate gradlew

task wrapper(type: Wrapper) {
    gradleVersion = '2.0'
}

I installed gradle 2.0 but still same error is coming after clean install.

Daniel Spilker

unread,
Apr 13, 2015, 1:47:22 PM4/13/15
to job-dsl...@googlegroups.com

Anil Subudhi

unread,
Apr 14, 2015, 2:37:26 AM4/14/15
to job-dsl...@googlegroups.com
Thank you!!

It resolved.
Reply all
Reply to author
Forward
0 new messages