question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Baleen Graph doesn't build on Java 9

See original GitHub issue

I did a clean pull of the GitHub repository, but when trying to build the project it failed on the baleen-graph project.

[ERROR] Failures: 
[ERROR]   EntityGraphFileTest.testGraphson:99->assertPathsEqual:64 expected:<...e":1},"value":""}],"[docId":[{"id":{"@type":"g:Int64","@value":3},"value":{"@type":"g:List","@value":["8b408a0c7163fdfff06ced3e80d7d2b3acd9db900905c4783c28295b8c996165"]}}],"isNormalised":[{"id":{"@type":"g:Int64","@value":4},"value":{"@type":"g:List","@value":[false]]}}],"longestValue":...> but was:<...e":1},"value":""}],"[isNormalised":[{"id":{"@type":"g:Int64","@value":3},"value":{"@type":"g:List","@value":[false]}}],"docId":[{"id":{"@type":"g:Int64","@value":4},"value":{"@type":"g:List","@value":["8b408a0c7163fdfff06ced3e80d7d2b3acd9db900905c4783c28295b8c996165"]]}}],"longestValue":...>
[ERROR]   EntityGraphFileTest.testGyro:117
[INFO] 
[ERROR] Tests run: 41, Failures: 2, Errors: 0, Skipped: 0

I’m building it on Ubuntu 16.04 with OpenJDK version 1.8.0_171.

UPDATE: Maven was actually using Java 9 (and not Java 8), and that was the cause of the problem. I’ve updated the issue title to reflect this.

$ mvn -version
Apache Maven 3.3.9
Maven home: /usr/share/maven
Java version: 9.0.4, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-9-oracle
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "4.15.0-29-generic", arch: "amd64", family: "unix"

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
chrisflatleycommented, Oct 10, 2018

Just a heads up.

We’ve started a branch so the code builds with tests passing on Java 11, see https://github.com/commitd/baleen/tree/jdk11

Still need to look into this issue, but once done, we’ll raise a PR (end of the week).

It’s largely just dependency updates (and a few trivial code changes for Odin). Hopefully it addresses and closes:

  • this ticket
  • #87
  • #82 ( updating Odin to 7.4.2 which looks like it’ll have that fix in.)
0reactions
jbaker-dstlcommented, Jan 22, 2019

This has been fixed as of the latest snapshot build - any further issues, please re-open this issue or create a new one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

OdinParser error if Baleen JAR path contains space · Issue #82 · dstl ...
The OdinParser annotator fails if Baleen is run from a JAR file with a space in its full path. ... Baleen Graph doesn't...
Read more >
gradle - module java.base does not "opens java.lang.reflect ...
I'm using SDK 14.0. 2 (this is the minimum version that enables the usage of package)
Read more >
Java 9+ modularity: The difficulties and pitfalls of migrating ...
To illustrate, I'll create a simple project without a module in a JDK 9 or 10 environment. (By the way, this example does...
Read more >
Anatomy of a modular application - The Java Module System
This chapter introduces you to the overall workflow of creating modular applications, but it doesn't explain these topics in all detail.
Read more >
Untitled
Thornford park hospital thatcham berkshire, Amal's wedding dress, Nba pass directv, Decargar java, Pavilhao 9 cadeia nacional download, Docteur bocquet pont ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found