Skip to content

Solutions: Fix faulty conversion.

Alexander Diewald requested to merge 3557 into master

Fixes the following CCE:

java.lang.ClassCastException: org.fortiss.af3.exploration.model.solutions.impl.ExplorationResultImpl cannot be cast to org.fortiss.af3.exploration.model.ExplorationTarget at org.fortiss.af3.exploration.model.solutions.impl.SingleExplorationSolutionImpl.removeKey(SingleExplorationSolutionImpl.java:351) at org.fortiss.af3.exploration.alg.dse.Explorer.removeImplicitTargets(Explorer.java:232) at org.fortiss.af3.exploration.alg.dse.Explorer.explore(Explorer.java:132) at org.fortiss.af3.exploration.alg.backend.Opt4JDseBackend.executeDSE(Opt4JDseBackend.java:118) at org.fortiss.af3.exploration.backend.DseBackendHandler$1.run(DseBackendHandler.java:167) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:60) !SUBENTRY 1 org.fortiss.af3.exploration 4 0 2018-10-22 18:33:36.663 !MESSAGE org.fortiss.af3.exploration.model.solutions.impl.SingleExplorationSolutionImpl.removeKey(SingleExplorationSolutionImpl.java:351) !SUBENTRY 1 org.fortiss.af3.exploration 4 0 2018-10-22 18:33:36.663 !MESSAGE org.fortiss.af3.exploration.alg.dse.Explorer.removeImplicitTargets(Explorer.java:232) !SUBENTRY 1 org.fortiss.af3.exploration 4 0 2018-10-22 18:33:36.663 !MESSAGE org.fortiss.af3.exploration.alg.dse.Explorer.explore(Explorer.java:132) !SUBENTRY 1 org.fortiss.af3.exploration 4 0 2018-10-22 18:33:36.663 !MESSAGE org.fortiss.af3.exploration.alg.backend.Opt4JDseBackend.executeDSE(Opt4JDseBackend.java:118) !SUBENTRY 1 org.fortiss.af3.exploration 4 0 2018-10-22 18:33:36.663 !MESSAGE org.fortiss.af3.exploration.backend.DseBackendHandler$1.run(DseBackendHandler.java:167) !SUBENTRY 1 org.fortiss.af3.exploration 4 0 2018-10-22 18:33:36.664 !MESSAGE org.eclipse.core.internal.jobs.Worker.run(Worker.java:60)

Issue-Ref: 3557 Issue-Url: https://af3-developer.fortiss.org/issues/3557 Signed-off-by: Alexander Diewald diewald@fortiss.org

Merge request reports