I am trying to access the accessibility using r5r package. I have downloaded JDK21 and setup_r5r(), but when i continue to run travel_time_matrix(), it always appear the error message ‘Error in .jcall(“RJavaTools”, “Z”, “hasField”, .jcast(x, “java/lang/Object”), :
java.lang.NullPointerException: Cannot invoke “Object.getClass()” because “” is null’.
It is odd. I can run the example case within the package. And i am now using the files in a workshop which has been sucessful before. so i
First, i think it maybe the problem of r5r_core. However, i am now using the data from a workshop which has succeeded.
If it’s the problem of the environment, i can run the example case within the package.
If it’s the problem of the point data.csv, i just update the data to the data from the workshop, but still the same error message shows up.
Keyi Luo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.