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

Give more useful error when using wrong java version and trying to parse resource models #317

Open
mattfel1 opened this issue Dec 15, 2021 · 0 comments

Comments

@mattfel1
Copy link
Member

Took a while to debug why hypermapper suddenly started giving bad results after not touching Spatial for a long time. It turned out the system switched from java 8 to java 11 and Spatial just quietly whispered that it couldn't load models. The try/catch statement in the model analysis that loads the pmmls is where we should print something more useful.

Info:

Spatial hash:
b567346 (master)
HyperMapper (dev, private - but should be up-to-date with master):
a052358b2c5ee0a52c2337f0cb51146c463aef61 (master)
Issue and cause:
All configurations in conv_shallow_for_dse were infeasible (False) - Java 11 instead of Java 8
Java 11 - did not work:
java-1.11.0-openjdk-amd64
Java 8 - worked:
java-1.8.0-openjdk-amd64
Others:
sbt script version: 1.5.2

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