BUILD FAILED on ZAP- EXTENSIONS

40 views
Skip to first unread message

bujo taduran

unread,
Mar 14, 2024, 5:41:15 PMMar 14
to ZAP Developer Group
Hi,

I'm still on the setup stage. I wanted to contribute.

But it seems like ZAP-EXTENSIONS got broken.
Same "./gradlew tasks" work in the zaproxy folder but not in zap-extensions.


bujo taduran

unread,
Mar 14, 2024, 5:42:45 PMMar 14
to ZAP Developer Group
Build Error Message
- - - - - - - - -

Build cache key for task ':buildSrc:compileKotlin' is 4ac57f3e081ab1efc57ce3cdf66c42bf
Task ':buildSrc:compileKotlin' is not up-to-date because:
  Class path of task ':buildSrc:compileKotlin' has changed from 11e82d2bba4e39d547d1b89d3365a2cb to 4623ed1c9b9ed1efad3bff3d99ba183c.
Loaded cache entry for task ':buildSrc:compileKotlin' with cache key 4ac57f3e081ab1efc57ce3cdf66c42bf
Resolve mutations for :buildSrc:compileJava (Thread[#588,Execution worker Thread 4,5,main]) started.
:buildSrc:compileJava (Thread[#588,Execution worker Thread 4,5,main]) started.

> Task :buildSrc:compileJava FAILED
Build cache key for task ':buildSrc:compileJava' is 69dadc8fddde263430b425cbaeac3ceb
Task ':buildSrc:compileJava' is not up-to-date because:
  Task has failed previously.
The input changes require a full rebuild for incremental task ':buildSrc:compileJava'.
Full recompilation is required because no incremental change information is available. This is usually caused by clean builds or changing compiler arguments.
Compiling with toolchain '/usr/lib/jvm/jdk-21-oracle-x64'.
Compiling with JDK Java compiler API.
/home/edward/projects/zap-extensions/buildSrc/src/main/java/org/zaproxy/gradle/tasks/ProcessSvnDiggerFiles.java:49: warning: [this-escape] possible 'this' escape before subclass is fully initialized
        this.sourceFiles = getProject().fileTree(getProject().file("src/main/" + SVNDIGGER_DIR));
                                     ^
error: warnings found and -Werror specified
1 error
1 warning

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':buildSrc:compileJava'.
> Compilation failed; see the compiler error output for details.

BUILD FAILED in 2s
3 actionable tasks: 2 executed, 1 from cache

thc...@gmail.com

unread,
Mar 15, 2024, 4:41:54 AMMar 15
to zaproxy...@googlegroups.com
Hi,

Use Java 11 (or one lower than 21).

Best regards.

On 14/03/2024 21:41, bujo taduran wrote:
> Hi,
>
> I'm still on the setup stage. I wanted to contribute.
>
> But it seems like ZAP-EXTENSIONS got broken.
> Same *"./gradlew tasks"* work in the *zaproxy* folder but not in
> *zap-extensions*.
>
>

bujo taduran

unread,
Mar 15, 2024, 11:39:46 AMMar 15
to zaproxy...@googlegroups.com
Thank you. That worked.

Regards,
Bujo

BJ Edward M. Taduran
Domain Security Lead
Klarna AB Bank

Contact / Viber / Whatsapp: +49176 874 76306


--
ZAP is supported by the Crash Override Open Source Fellowship https://crashoverride.com/open-source
---
You received this message because you are subscribed to the Google Groups "ZAP Developer Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zaproxy-devel...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/zaproxy-develop/2d57237f-9996-445d-8a41-e7215413a427%40gmail.com.
Reply all
Reply to author
Forward
0 new messages