Community
Participate
Working Groups
Build Identifier: org.eclipse.emf.mwe.core_1.1.0.v201106070424 Due to a missing default constructor, when using a CompositeComponent directly from within the workflow, it fails with a class instanciation error. In the class VisitorCreator, which is responsible for parsing the workflow and creating the right components, fails on line 135 with the call: bean = toLoad.newInstance(); Reproducible: Always
I think the CompositeComponent should rather be abstract. I don't think it makes sense to use it in a workflow without subclassing it. What do you think? What is your use case to use it directly?
The CompositeComponent should serve as a sequential container for other components, e.g. it could be used as the elseComponent of a conditional component. IMO it should not be marked as abstract.
yes, I agree with Sebastian. This is actually the case, CompositeComponent has a constructor with one argument (String) and it breaks when used in a ConditionalComponent having an "else" component due to reflection instanciating the class with default constructor.