Project

General

Profile

Bug #3716

Feature #3797: Enable editing DSE projects from the DSE navigator

Selecting a solution while an exploration step is execution is falsely possible

Added by Alexander Diewald over 1 year ago. Updated 2 months ago.

Status:
Rejected
Priority:
Normal
Category:
-
Target version:
Start date:
04/18/2019
Due date:
% Done:

100%

Estimated time:
1.00 h

Description

!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 ProcessStep. 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)


Related issues

Related to Change Request #3799: Enable only the execution of explorations for which all prerequisites are fulfilledNew08/14/2019

History

#1 Updated by Johannes Eder over 1 year ago

  • Target version changed from AF3 2.15 RC2 (Tested, Bug-free) to AF3 2.16 RC2 (Tested, Bug-free)

#2 Updated by Simon Barner about 1 year ago

  • Related to Change Request #3799: Enable only the execution of explorations for which all prerequisites are fulfilled added

#3 Updated by Simon Barner about 1 year ago

  • Target version changed from AF3 2.16 RC2 (Tested, Bug-free) to AF3 2.17 (Tested, Bug Free)
  • Parent task set to #3797

The scenario in the description is just one example. It is e.g. also possible to define constraints and objectives while the DSE is running. This is fine in general, however, the editing must be performed in the right context (i.e. branch of the DSE project model).

#4 Updated by Alexander Diewald 9 months ago

  • Status changed from Feedback to New
  • Assignee changed from Simon Barner to Alexander Diewald
  • Target version changed from AF3 2.17 (Tested, Bug Free) to Backlog

#5 Updated by Alexander Diewald 2 months ago

  • Status changed from New to Rejected
  • % Done changed from 0 to 100

Resolved in #3541.

Also available in: Atom PDF