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

Error building v1.1.0 from source #2812

Closed
kopite77 opened this issue May 5, 2019 · 6 comments
Closed

Error building v1.1.0 from source #2812

kopite77 opened this issue May 5, 2019 · 6 comments

Comments

@kopite77
Copy link

kopite77 commented May 5, 2019

uname -a output:
Linux hostname 4.15.0-48-generic #51-Ubuntu SMP Wed Apr 3 08:28:49 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

The portion of ./gradlew build output showing the error:

Task :desktop:test
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.powermock.reflect.internal.WhiteboxImpl (file:/home/username/.gradle/caches/modules-2/files-2.1/org.powermock/powermock-reflect/2.0.0-beta.5/4ea415348f15620783a1f26343d6732adfa86bc8/powermock-reflect-2.0.0-beta.5.jar) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.powermock.reflect.internal.WhiteboxImpl
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

bisq.desktop.main.market.trades.TradesChartsViewModelTest > testItemLists FAILED
java.lang.UnsupportedOperationException at TradesChartsViewModelTest.java:197

90 tests completed, 1 failed, 6 skipped

Task :desktop:test FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':desktop:test'.

There were failing tests. See the report at: file:///home/username/Programs/bisqv110/desktop/build/reports/tests/test/index.html

Output of above mentioned index.html file:

Failed tests
testItemLists

java.lang.UnsupportedOperationException: class redefinition failed: attempted to change the class NestHost or NestMembers attribute
at java.instrument/sun.instrument.InstrumentationImpl.redefineClasses0(Native Method)
at bisq.desktop.main.market.trades.TradesChartsViewModelTest$1.(TradesChartsViewModelTest.java:197)
at bisq.desktop.main.market.trades.TradesChartsViewModelTest.testItemLists(TradesChartsViewModelTest.java:197)
at java.base/java.lang.Thread.run(Thread.java:834)

@ManfredKarrer
Copy link
Contributor

I just build from master and all works. Are you sure you have updated all?

@kopite77
Copy link
Author

kopite77 commented May 6, 2019

@ManfredKarrer I simply followed these instructions: https://github.com/bisq-network/bisq/blob/master/docs/build.md

@devinbileck
Copy link
Member

Make sure you are using JDK 10.
See also:
#2260
#2458

@kopite77
Copy link
Author

kopite77 commented May 6, 2019

@devinbileck ah, just noticed my system upgraded to JDK 11 about a week ago. Is there a reason Bisq is still using JDK 10?

@devinbileck
Copy link
Member

See #1787 (comment)

@kopite77
Copy link
Author

kopite77 commented May 6, 2019

closing issue, all working well after reverting to JDK10

@kopite77 kopite77 closed this as completed May 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants