Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335335 - Dragging STEM scenarios into Project explorer throws type exception re. 'sequencer'
Summary: Dragging STEM scenarios into Project explorer throws type exception re. 'sequ...
Status: RESOLVED FIXED
Alias: None
Product: STEM
Classification: Technology
Component: Simulation (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 1.1.2   Edit
Assignee: Stefan Edlund CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-25 11:15 EST by Dirk Reuter CLA
Modified: 2012-01-19 17:05 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.