There seems to be an issue when loading the ACC model - I get the
following exception. Could you please verify?
!ENTRY org.eclipse.core.jobs 4 2 2020-01-15 14:55:50.794
!MESSAGE An internal error occurred during: “Model Constraint Checker
Job”.
!STACK 0
java.lang.UnsupportedOperationException
at
org.fortiss.af3.mira.model.impl.AnalysisImpl.getDefinitionElement(AnalysisImpl.java:555)
at
org.fortiss.af3.project.utils.FunctionScopeUtils.getFunctionDefinition(FunctionScopeUtils.java:55)
at
org.fortiss.af3.expression.language.TypeChecker.typecheckUserdefinedFunction(TypeChecker.java:308)
at
org.fortiss.af3.expression.language.TypeChecker.typecheckExpression(TypeChecker.java:165)
at
org.fortiss.af3.expression.language.TypeChecker.typecheck(TypeChecker.java:93)
at
org.fortiss.af3.component.constraint.ComponentConstraintChecker.performTypeCheck(ComponentConstraintChecker.java:105)
at
org.fortiss.af3.component.constraint.ComponentConstraintChecker.performPortCheck(ComponentConstraintChecker.java:86)
at
org.fortiss.af3.component.constraint.ComponentConstraintChecker.collectViolations(ComponentConstraintChecker.java:57)
at
org.fortiss.af3.component.constraint.ComponentConstraintChecker.collectViolations(ComponentConstraintChecker.java:1)
at
org.fortiss.tooling.kernel.extension.base.MultiViolationConstraintCheckerBase.apply(MultiViolationConstraintCheckerBase.java:44)
at
org.fortiss.tooling.kernel.internal.ConstraintCheckerService.performConstraintCheck(ConstraintCheckerService.java:125)
at
org.fortiss.tooling.kernel.internal.ConstraintCheckerService.performAllConstraintChecksRecursively(ConstraintCheckerService.java:94)
at
org.fortiss.tooling.kernel.ui.internal.MarkerService.refreshMarkers(MarkerService.java:196)
at
org.fortiss.tooling.kernel.ui.internal.MarkerService$2.run(MarkerService.java:115)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
!ENTRY org.eclipse.core.jobs 4 2 2020-01-15 14:55:50.807
!MESSAGE An internal error occurred during: “Model Constraint Checker
Job”.
!STACK 0
java.lang.UnsupportedOperationException
at
org.fortiss.af3.mira.model.impl.AnalysisImpl.getDefinitionElement(AnalysisImpl.java:555)
at
org.fortiss.af3.project.utils.FunctionScopeUtils.getFunctionDefinition(FunctionScopeUtils.java:55)
at
org.fortiss.af3.expression.language.TypeChecker.typecheckUserdefinedFunction(TypeChecker.java:308)
at
org.fortiss.af3.expression.language.TypeChecker.typecheckExpression(TypeChecker.java:165)
at
org.fortiss.af3.expression.language.TypeChecker.typecheck(TypeChecker.java:93)
at
org.fortiss.af3.component.constraint.ComponentConstraintChecker.performTypeCheck(ComponentConstraintChecker.java:105)
at
org.fortiss.af3.component.constraint.ComponentConstraintChecker.performPortCheck(ComponentConstraintChecker.java:86)
at
org.fortiss.af3.component.constraint.ComponentConstraintChecker.collectViolations(ComponentConstraintChecker.java:57)
at
org.fortiss.af3.component.constraint.ComponentConstraintChecker.collectViolations(ComponentConstraintChecker.java:1)
at
org.fortiss.tooling.kernel.extension.base.MultiViolationConstraintCheckerBase.apply(MultiViolationConstraintCheckerBase.java:44)
at
org.fortiss.tooling.kernel.internal.ConstraintCheckerService.performConstraintCheck(ConstraintCheckerService.java:125)
at
org.fortiss.tooling.kernel.internal.ConstraintCheckerService.performAllConstraintChecksRecursively(ConstraintCheckerService.java:94)
at
org.fortiss.tooling.kernel.ui.internal.MarkerService.refreshMarkers(MarkerService.java:196)
at
org.fortiss.tooling.kernel.ui.internal.MarkerService$2.run(MarkerService.java:115)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
I would assume that the functions defined in the data dictionary point
to some sub-node of a MIRA element.