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

Ugly crash when Value Inferrers refer to nonexistent slots. #252

Open
michbarsinai opened this issue Sep 13, 2020 · 0 comments
Open

Ugly crash when Value Inferrers refer to nonexistent slots. #252

michbarsinai opened this issue Sep 13, 2020 · 0 comments

Comments

@michbarsinai
Copy link
Member

SEVERE: Error executing command: edu.harvard.iq.policymodels.parser.exceptions.BadLookupException: Type Trustworthy does not have a value/sub-slot named 'noConcenrs'
java.lang.RuntimeException: edu.harvard.iq.policymodels.parser.exceptions.BadLookupException: Type Trustworthy does not have a value/sub-slot named 'noConcenrs'
	at edu.harvard.iq.policymodels.parser.decisiongraph.SetNodeValueBuilder$1.visitAtomicSlotImpl(SetNodeValueBuilder.java:52)
	at edu.harvard.iq.policymodels.model.policyspace.slots.AbstractSlot$VoidVisitor.visitSimpleSlot(AbstractSlot.java:28)
	at edu.harvard.iq.policymodels.model.policyspace.slots.AbstractSlot$VoidVisitor.visitSimpleSlot(AbstractSlot.java:25)
	at edu.harvard.iq.policymodels.model.policyspace.slots.AtomicSlot.accept(AtomicSlot.java:86)
	at edu.harvard.iq.policymodels.parser.decisiongraph.SetNodeValueBuilder.visit(SetNodeValueBuilder.java:46)
	at edu.harvard.iq.policymodels.parser.decisiongraph.ast.AstSetNode$AtomicAssignment.accept(AstSetNode.java:48)
	at edu.harvard.iq.policymodels.parser.inference.ValueInferenceParseResult.lambda$buildValueInference$8(ValueInferenceParseResult.java:86)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1510)
	at edu.harvard.iq.policymodels.parser.inference.ValueInferenceParseResult.buildValueInference(ValueInferenceParseResult.java:61)
	at edu.harvard.iq.policymodels.parser.PolicyModelLoader.load(PolicyModelLoader.java:153)
	at edu.harvard.iq.policymodels.cli.commands.LoadPolicyModelCommand.execute(LoadPolicyModelCommand.java:72)
	at edu.harvard.iq.policymodels.cli.commands.ReloadModelCommand.execute(ReloadModelCommand.java:28)
	at edu.harvard.iq.policymodels.cli.CliRunner.promptUserForAnswer(CliRunner.java:244)
	at edu.harvard.iq.policymodels.cli.CliRunner.go(CliRunner.java:170)
	at edu.harvard.iq.policymodels.mains.PolicyModelCliRunner.main(PolicyModelCliRunner.java:36)
Caused by: edu.harvard.iq.policymodels.parser.exceptions.BadLookupException: Type Trustworthy does not have a value/sub-slot named 'noConcenrs'
	... 15 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant