Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failed with an exception. #336

Closed
AndrePes opened this issue Sep 17, 2024 · 2 comments · Fixed by #337
Closed

Build failed with an exception. #336

AndrePes opened this issue Sep 17, 2024 · 2 comments · Fixed by #337
Assignees
Labels

Comments

@AndrePes
Copy link

Bug Report

Describe the Bug

The build fails with an exception when i run ./gradlew build from the root directory of MVD.

Expected Behavior

An completed build process without errors

Observed Behavior

During the build. I see following output when the error occurs:

> Task :extensions:superuser-seed:compileJava FAILED
/home/conuser/mvd2/extensions/superuser-seed/src/main/java/org/eclipse/edc/identityhub/seed/ParticipantContextSeedExtension.java:94: error: incompatible types: Map<String,Object> cannot be converted to String
                            .orElse(generatedKey);
                                    ^
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
1 error

FAILURE: Build failed with an exception.

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

* Try:
> Run with --info option to get more log output.
> Run with --scan to get full insights.

BUILD FAILED in 27s
48 actionable tasks: 42 executed, 6 up-to-date

Steps to Reproduce

Steps to reproduce the behavior:

  1. Pull latest repo git clone https://github.com/eclipse-edc/MinimumViableDataspace.git mvd2
  2. Go into the folder cd mvd2
  3. Run sudo ./gradlew build
  4. See error

Context Information

  • Cloned Repo from September 17th
  • Ubuntu 22.04.4 LTS (GNU/Linux 5.15.0-121-generic x86_64)

Detailed Description

Log file with debug parameter.
gradlew_error.txt

Possible Implementation

None

@paullatzelsperger
Copy link
Member

@AndrePes thanks for raising this, but please do not attach log files that are extremely large (7MB+) as it doesn't help us. a concise output, like you've done, is enough.

@paullatzelsperger paullatzelsperger self-assigned this Sep 17, 2024
@AndrePes
Copy link
Author

@paullatzelsperger Thank you for your answer and sry 😅 , i thought I'd add it in case it might help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants