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

CassandraDescriptionIssueTest failed on java11 #38

Open
yichen88 opened this issue Mar 19, 2020 · 1 comment
Open

CassandraDescriptionIssueTest failed on java11 #38

yichen88 opened this issue Mar 19, 2020 · 1 comment

Comments

@yichen88
Copy link
Contributor

yichen88 commented Mar 19, 2020

  • Do you want to request a feature or report a bug?
    bug

  • What is the current behavior?
    mvn clean install not work

  • If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
    [INFO] T E S T S
    [INFO] -------------------------------------------------------
    [INFO] Running com.powsybl.afs.cassandra.CassandraDescriptionIssueTest
    [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.079 s <<< FAILURE! - in com.powsybl.afs.cassandra.CassandraDescriptionIssueTest
    [ERROR] test(com.powsybl.afs.cassandra.CassandraDescriptionIssueTest) Time elapsed: 0.045 s <<< ERROR!
    java.lang.ExceptionInInitializerError
    Caused by: org.apache.cassandra.exceptions.ConfigurationException: Expecting URI in variable: [cassandra.config]. Found[cassandra.yaml]. Please prefix the file with [file:///] for local files and [file:///] for remote files. If you are executing this from an external tool, it needs to set Config.setClientMode(true) to avoid loading configuration.

[INFO] Running com.powsybl.afs.cassandra.TimeSeriesIssueTest
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.001 s <<< FAILURE! - in com.powsybl.afs.cassandra.TimeSeriesIssueTest
[ERROR] testEmptyChunks(com.powsybl.afs.cassandra.TimeSeriesIssueTest) Time elapsed: 0 s <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class org.apache.cassandra.io.util.FileUtils

[ERROR] testNullString(com.powsybl.afs.cassandra.TimeSeriesIssueTest) Time elapsed: 0 s <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class org.apache.cassandra.io.util.FileUtils

[INFO] Running com.powsybl.afs.cassandra.CassandraLeakTest
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.001 s <<< FAILURE! - in com.powsybl.afs.cassandra.CassandraLeakTest
[ERROR] test(com.powsybl.afs.cassandra.CassandraLeakTest) Time elapsed: 0 s <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class org.apache.cassandra.io.util.FileUtils

[INFO] Running com.powsybl.afs.cassandra.CassandraRenameIssueTest
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 s - in com.powsybl.afs.cassandra.CassandraRenameIssueTest
[INFO] Running com.powsybl.afs.cassandra.CassandraRemoveCreateFolderIssueTest
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.001 s <<< FAILURE! - in com.powsybl.afs.cassandra.CassandraRemoveCreateFolderIssueTest
[ERROR] test(com.powsybl.afs.cassandra.CassandraRemoveCreateFolderIssueTest) Time elapsed: 0 s <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class org.apache.cassandra.io.util.FileUtils

[INFO] Running com.powsybl.afs.cassandra.CassandraAppStorageTest
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 s <<< FAILURE! - in com.powsybl.afs.cassandra.CassandraAppStorageTest
[ERROR] test(com.powsybl.afs.cassandra.CassandraAppStorageTest) Time elapsed: 0 s <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class org.apache.cassandra.io.util.FileUtils

[INFO] Running com.powsybl.afs.cassandra.CassandraDataSplitTest
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 s <<< FAILURE! - in com.powsybl.afs.cassandra.CassandraDataSplitTest
[ERROR] test(com.powsybl.afs.cassandra.CassandraDataSplitTest) Time elapsed: 0 s <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class org.apache.cassandra.io.util.FileUtils

[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR] CassandraAppStorageTest.test » NoClassDefFound Could not initialize class org....
[ERROR] CassandraDataSplitTest.test » NoClassDefFound Could not initialize class org.a...
[ERROR] CassandraDescriptionIssueTest.test » ExceptionInInitializer
[ERROR] CassandraLeakTest.test » NoClassDefFound Could not initialize class org.apache

  • What is the expected behavior?

  • What is the motivation / use case for changing the behavior?

  • Please tell us about your environment:

    • PowSyBl Version: ...3.2.0
    • OS Version: ...Fedora28 and Win10
    • Java Version: 11
  • Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, spectrum, etc)

(if a question doesn't apply, you can delete it)

@yichen88 yichen88 changed the title CassandraDescriptionIssueTest failed CassandraDescriptionIssueTest failed on java11 Mar 19, 2020
@SrikanthYalla87
Copy link

I am facing same issue. Does anyone have any updates on this issue?

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

2 participants