Arrays/Structs
Bei
(v_inStack[v_removeIndex]).WP_Type=NoWP( )
!ENTRY org.eclipse.core.jobs 4 2 2013-08-29 13:53:16.827
!MESSAGE An internal error occurred during: “Model Constraint Checker
Job”.
!STACK 0
java.lang.ClassCastException:
org.fortiss.af3.expression.model.definitions.impl.ArrayImpl cannot be
cast to org.fortiss.af3.expression.model.definitions.Structure
at
org.fortiss.af3.expression.model.terms.impl.ComplexVarStaticImpl.getVarType(ComplexVarStaticImpl.java:81)
at
org.fortiss.af3.expression.model.terms.impl.ComplexVarImpl.getVarType(ComplexVarImpl.java:190)
at
org.fortiss.af3.project.utils.VariableScopeUtils.getVarType(VariableScopeUtils.java:63)
at
org.fortiss.af3.project.utils.VariableScopeUtils.getVarType(VariableScopeUtils.java:47)
at
org.fortiss.af3.component.constraint.ActionConstraintCheckerBase.getTargetType(ActionConstraintCheckerBase.java:80)
at
org.fortiss.af3.component.constraint.ActionConstraintCheckerBase.getTargetType(ActionConstraintCheckerBase.java:1)
at
org.fortiss.af3.component.constraint.TypeCheckConstraintCheckerBase.collectViolations(TypeCheckConstraintCheckerBase.java:79)
at
org.fortiss.tooling.kernel.extension.base.MultiViolationConstraintCheckerBase.apply(MultiViolationConstraintCheckerBase.java:49)
at
org.fortiss.tooling.kernel.internal.ConstraintCheckerService.performConstraintCheck(ConstraintCheckerService.java:92)
at
org.fortiss.tooling.kernel.internal.ConstraintCheckerService.performAllConstraintChecksRecursively(ConstraintCheckerService.java:61)
at
org.fortiss.tooling.kernel.utils.ServicesUtils.performAllConstraintChecksRecursively(ServicesUtils.java:40)
at
org.fortiss.tooling.kernel.ui.internal.MarkerService.refreshMarkers(MarkerService.java:188)
at
org.fortiss.tooling.kernel.ui.internal.MarkerService$2.run(MarkerService.java:117)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
(from redmine: issue id 1656, created on 2013-08-29, closed on 2013-08-30)