Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 335335

Summary: Dragging STEM scenarios into Project explorer throws type exception re. 'sequencer'
Product: [Technology] STEM Reporter: Dirk Reuter <dirk.reuter>
Component: SimulationAssignee: Stefan Edlund <sedlund>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 1.1.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Dirk Reuter CLA 2011-01-25 11:15:34 EST
Build Identifier: stem.buildId=1.1.1RC4.M20110122

Trying to create scenarios and models by using components of existing
stem example scenarios and trying to understand the structure of stem 
simulations, I have tried to import existing stem scenarios into freshly
created stem projects into the scenario section, to reuse and rearrange
the already defined components.


An exception occurred invoking extension: org.eclipse.stem.ui.views.explorer.identifiables2 for object org.eclipse.jface.viewers.TreePath@6a3088e8


java.lang.ClassCastException: org.eclipse.stem.core.scenario.impl.ScenarioImpl cannot be cast to org.eclipse.stem.core.sequencer.Sequencer
	at org.eclipse.stem.core.scenario.impl.ScenarioImpl.getSequencer(Unknown Source)
	at org.eclipse.stem.core.scenario.impl.ScenarioImpl.eGet(Unknown Source)
.
.<etc>
.<complete stacktrace not included for brevity!>

Reproducible: Always

Steps to Reproduce:
1.Create fresh stem project
2.verify validity of stem example scenario ARG(Level: 2) Influenca,... by starting+stopping it again 
3.Drag scenario ARG(Level: 2) Influenca,... from Resources into the scenarios
section section of the fresh project
4.Receive error about Sequencer
Comment 1 Stefan Edlund CLA 2012-01-19 17:05:51 EST
Fixed, dragging scenarios from the STEM library into a project is not supported and is disabled in UI.