Selecting a solution while an exploration step is execution is falsely possible
!ENTRY org.fortiss.af3.exploration.ui 4 2 2019-04-18 18:18:59.766
!MESSAGE Problems occurred when invoking code from plug-in:
“org.fortiss.af3.exploration.ui”.
h2. Current status
It is possible to select a solution in the visualization while another exploration is running. This leads to the weird effect that the solution is added to the wrong ProcessSte Also, the following exception may gets generated.
!STACK 0
java.lang.ClassCastException: class
org.fortiss.af3.exploration.model.project.impl.SolutionSelectionStepImpl
cannot be cast to class
org.fortiss.af3.exploration.model.project.ExplorationStep
(org.fortiss.af3.exploration.model.project.impl.SolutionSelectionStepImpl
and org.fortiss.af3.exploration.model.project.ExplorationStep are in
unnamed module of loader
org.eclipse.osgi.internal.loader.EquinoxClassLoader @a20b94b)
at
org.fortiss.af3.exploration.ui.perspective.synthesis.ScheduleSynthesisViewBackend.processResults(ScheduleSynthesisViewBackend.java:356)
at
org.fortiss.af3.exploration.ui.perspective.synthesis.ScheduleSynthesisViewBackend$4.done(ScheduleSynthesisViewBackend.java:335)
at
org.eclipse.core.internal.jobs.JobListeners.doNotify(JobListeners.java:80)
at
org.eclipse.core.internal.jobs.JobListeners.done(JobListeners.java:118)
at org.eclipse.core.internal.jobs.JobManager.endJob(JobManager.java:684)
Proposed Solution
Clean the state of the Visualization when the generate button is pressen
(or the process step changed).
at
org.eclipse.core.internal.jobs.WorkerPool.endJob(WorkerPool.java:117)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:85)
(from redmine: issue id 3716, created on 2019-04-18, closed on 2020-08-24)
- Relations:
- parent #3797 (closed)