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

NullPointerException generating candidate-network #208

Open
machristie opened this issue Mar 27, 2023 · 1 comment
Open

NullPointerException generating candidate-network #208

machristie opened this issue Mar 27, 2023 · 1 comment

Comments

@machristie
Copy link
Contributor

Server side error:

Error occurred when calling makeCandidateNetworkShapeFiles: [
    'java.lang.NullPointerException',
    'dataStore.DataStorer.generateCandidateGraph(DataStorer.java:111)',
    'dataStore.DataStorer.getGraphEdgeRoutes(DataStorer.java:214)',
    'dataStore.DataInOut.makeCandidateShapeFiles(DataInOut.java:1020)',
    'dataStore.DataStorer.makeCandidateShapeFiles(DataStorer.java:606)']
Traceback (most recent call last):
  File "/var/www/portals/django-iu-geology-survey/venv/src/simccs-maptool/simccs_maptool/simccs_helper.py", line 141, in make_candidate_network_shapefiles
    data.makeCandidateShapeFiles(results_dir)
  File "jnius/jnius_export_class.pxi", line 769, in jnius.JavaMethod.__call__
  File "jnius/jnius_export_class.pxi", line 863, in jnius.JavaMethod.call_method
  File "jnius/jnius_utils.pxi", line 91, in jnius.check_exception
jnius.JavaException: JVM exception occurred: java.lang.NullPointerException



The error is occuring at this line: https://github.com/simccs/SimCCS/blob/public/src/dataStore/DataStorer.java#L111

It seems there are "outliers" in the data. Sources or sinks that belong to cells that are not part of the cost map.

@machristie
Copy link
Contributor Author

Sources and sinks that are generating the issue:

Sinks.txt
Sources.txt

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

1 participant