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

R5 Local Setup, testOSM() failed #878

Closed
izk1989 opened this issue Mar 21, 2023 · 3 comments
Closed

R5 Local Setup, testOSM() failed #878

izk1989 opened this issue Mar 21, 2023 · 3 comments

Comments

@izk1989
Copy link

izk1989 commented Mar 21, 2023

Hi everyone,

I am trying to run Conveyal locally and have an issue when running the gradle runBackend command. The testOSM() test failed with the following errors:

C:\Users\Isaac\conveyal2\r5>gradle runBackend

Task :test

OSMTest > testOSM() FAILED
java.lang.RuntimeException at OSMTest.java:19
Caused by: java.lang.RuntimeException at OSMTest.java:19
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.mapdb.Volume$ByteBufferVol (file:/C:/Users/Isaac/.gradle/caches/modules-2/files-2.1/org.mapdb/mapdb/1.0.8/64485a221d9095fc7ab9b50cc34c6b4b58467e2e/mapdb-1.0.8.jar) to method java.nio.DirectByteBuffer.cleaner()
WARNING: Please consider reporting this to the maintainers of org.mapdb.Volume$ByteBufferVol
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

596 tests completed, 1 failed, 2 skipped
r5_testresult1

Test results - OSMTest.pdf
Test results - OSMTest2.pdf
Test results - OSMTest3.pdf

Thanks and appreciate any help on this

@artursrode
Copy link

Did you manage to solve the issue?

@abyrd
Copy link
Member

abyrd commented May 4, 2023

Hi @izk1989 and @artursrode, these errors are probably due to running on newer JVMs which introduced more restrictions on inspecting the internal details of classes. See #760 where we've got changes lined up to migrate to newer JVMs.

Just wondering, could you share how you are using R5? We're always curious what uses people are finding for our OSS projects given the very niche problem domain.

@abyrd
Copy link
Member

abyrd commented Aug 18, 2023

Closing due to no response - assuming it was just JVM version problems as mentioned in comment above.

@abyrd abyrd closed this as completed Aug 18, 2023
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