If you define two inlined properties with the same value, an error is raised when you generate the build scripts.
(the model validation does not throw any error/warning)
InvocationException
java.lang.IllegalArgumentException: The 'no duplicates' constraint is violated
!ENTRY org.eclipse.egf.producer.ui 4 4 2014-02-17 13:21:48.359
!MESSAGE InvocationException
!STACK 0
org.eclipse.egf.model.pattern.PatternException: java.lang.IllegalArgumentException: The 'no duplicates' constraint is violated
at org.eclipse.egf.pattern.common.java.AbstractJavaEngine.doExecute(AbstractJavaEngine.java:131)
at org.eclipse.egf.pattern.common.java.AbstractJavaEngine.executeWithInjection(AbstractJavaEngine.java:65)
at org.eclipse.egf.pattern.strategy.domaindriven.AbstractDomainVisitor.executeWithInjection(AbstractDomainVisitor.java:152)
at org.eclipse.egf.pattern.strategy.domaindriven.AbstractDomainVisitor.doProcess(AbstractDomainVisitor.java:134)
at org.eclipse.egf.pattern.strategy.domaindriven.AbstractDomainVisitor.visit(AbstractDomainVisitor.java:123)
at org.eclipse.egf.pattern.strategy.domaindriven.AbstractDomainVisitor.visit(AbstractDomainVisitor.java:124)
at org.eclipse.egf.pattern.strategy.domaindriven.AbstractDomainVisitor.visit(AbstractDomainVisitor.java:124)
at org.eclipse.egf.pattern.strategy.domaindriven.AbstractDomainVisitor.visit(AbstractDomainVisitor.java:124)
at org.eclipse.egf.pattern.strategy.domaindriven.AbstractDomainVisitor.visit(AbstractDomainVisitor.java:124)
at org.eclipse.egf.pattern.strategy.domaindriven.AbstractDomainVisitor.visit(AbstractDomainVisitor.java:124)
at org.eclipse.egf.pattern.strategy.domaindriven.AbstractDomainVisitor.visit(AbstractDomainVisitor.java:124)
at org.eclipse.egf.pattern.strategy.domaindriven.AbstractDomainVisitor.visit(AbstractDomainVisitor.java:124)
at org.eclipse.egf.pattern.strategy.domaindriven.AbstractDomainVisitor.visit(AbstractDomainVisitor.java:124)
at org.eclipse.egf.pattern.strategy.domaindriven.DomainDrivenStrategy.execute(DomainDrivenStrategy.java:55)
at org.eclipse.egf.pattern.ftask.tasks.AbstractStrategyTask.doExecute(AbstractStrategyTask.java:76)
at org.eclipse.egf.task.internal.nature.TaskNatureJava.invoke(TaskNatureJava.java:62)
at org.eclipse.egf.producer.ftask.internal.invocation.TaskProductionInvocation.invoke(TaskProductionInvocation.java:53)
at org.eclipse.egf.producer.ftask.internal.manager.TaskManager.invoke(TaskManager.java:104)
at org.eclipse.egf.producer.fprod.internal.manager.ProductionPlanInvocationManager.invoke(ProductionPlanInvocationManager.java:111)
at org.eclipse.egf.producer.fprod.internal.manager.ProductionPlanManager.invoke(ProductionPlanManager.java:131)
at org.eclipse.egf.producer.internal.manager.FactoryComponentManager.invoke(FactoryComponentManager.java:133)
at org.eclipse.egf.producer.fprod.internal.manager.ProductionPlanInvocationManager.invoke(ProductionPlanInvocationManager.java:111)
at org.eclipse.egf.producer.fprod.internal.manager.ProductionPlanManager.invoke(ProductionPlanManager.java:131)
at org.eclipse.egf.producer.internal.manager.FactoryComponentManager.invoke(FactoryComponentManager.java:133)
at org.eclipse.egf.producer.ui.internal.actions.RunActivityAction$1.runInWorkspace(RunActivityAction.java:219)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.IllegalArgumentException: The 'no duplicates' constraint is violated
at org.eclipse.emf.common.util.AbstractEList.set(AbstractEList.java:262)
at org.eclipse.egf.portfolio.eclipse.build.PropertiesHelper.replaceInlinedProperties(PropertiesHelper.java:88)
at org.eclipse.egf.portfolio.eclipse.build.transformation.replaceInlinedProperties.method_body(replaceInlinedProperties.java:61)
at org.eclipse.egf.portfolio.eclipse.build.transformation.replaceInlinedProperties.orchestration(replaceInlinedProperties.java:46)
at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.egf.pattern.common.java.AbstractJavaEngine.doExecute(AbstractJavaEngine.java:129)
... 26 more
If you define two inlined properties with the same value, an error is raised when you generate the build scripts.
(the model validation does not throw any error/warning)
InvocationException java.lang.IllegalArgumentException: The 'no duplicates' constraint is violated
!ENTRY org.eclipse.egf.producer.ui 4 4 2014-02-17 13:21:48.359 !MESSAGE InvocationException !STACK 0 org.eclipse.egf.model.pattern.PatternException: java.lang.IllegalArgumentException: The 'no duplicates' constraint is violated at org.eclipse.egf.pattern.common.java.AbstractJavaEngine.doExecute(AbstractJavaEngine.java:131) at org.eclipse.egf.pattern.common.java.AbstractJavaEngine.executeWithInjection(AbstractJavaEngine.java:65) at org.eclipse.egf.pattern.strategy.domaindriven.AbstractDomainVisitor.executeWithInjection(AbstractDomainVisitor.java:152) at org.eclipse.egf.pattern.strategy.domaindriven.AbstractDomainVisitor.doProcess(AbstractDomainVisitor.java:134) at org.eclipse.egf.pattern.strategy.domaindriven.AbstractDomainVisitor.visit(AbstractDomainVisitor.java:123) at org.eclipse.egf.pattern.strategy.domaindriven.AbstractDomainVisitor.visit(AbstractDomainVisitor.java:124) at org.eclipse.egf.pattern.strategy.domaindriven.AbstractDomainVisitor.visit(AbstractDomainVisitor.java:124) at org.eclipse.egf.pattern.strategy.domaindriven.AbstractDomainVisitor.visit(AbstractDomainVisitor.java:124) at org.eclipse.egf.pattern.strategy.domaindriven.AbstractDomainVisitor.visit(AbstractDomainVisitor.java:124) at org.eclipse.egf.pattern.strategy.domaindriven.AbstractDomainVisitor.visit(AbstractDomainVisitor.java:124) at org.eclipse.egf.pattern.strategy.domaindriven.AbstractDomainVisitor.visit(AbstractDomainVisitor.java:124) at org.eclipse.egf.pattern.strategy.domaindriven.AbstractDomainVisitor.visit(AbstractDomainVisitor.java:124) at org.eclipse.egf.pattern.strategy.domaindriven.AbstractDomainVisitor.visit(AbstractDomainVisitor.java:124) at org.eclipse.egf.pattern.strategy.domaindriven.DomainDrivenStrategy.execute(DomainDrivenStrategy.java:55) at org.eclipse.egf.pattern.ftask.tasks.AbstractStrategyTask.doExecute(AbstractStrategyTask.java:76) at org.eclipse.egf.task.internal.nature.TaskNatureJava.invoke(TaskNatureJava.java:62) at org.eclipse.egf.producer.ftask.internal.invocation.TaskProductionInvocation.invoke(TaskProductionInvocation.java:53) at org.eclipse.egf.producer.ftask.internal.manager.TaskManager.invoke(TaskManager.java:104) at org.eclipse.egf.producer.fprod.internal.manager.ProductionPlanInvocationManager.invoke(ProductionPlanInvocationManager.java:111) at org.eclipse.egf.producer.fprod.internal.manager.ProductionPlanManager.invoke(ProductionPlanManager.java:131) at org.eclipse.egf.producer.internal.manager.FactoryComponentManager.invoke(FactoryComponentManager.java:133) at org.eclipse.egf.producer.fprod.internal.manager.ProductionPlanInvocationManager.invoke(ProductionPlanInvocationManager.java:111) at org.eclipse.egf.producer.fprod.internal.manager.ProductionPlanManager.invoke(ProductionPlanManager.java:131) at org.eclipse.egf.producer.internal.manager.FactoryComponentManager.invoke(FactoryComponentManager.java:133) at org.eclipse.egf.producer.ui.internal.actions.RunActivityAction$1.runInWorkspace(RunActivityAction.java:219) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: java.lang.IllegalArgumentException: The 'no duplicates' constraint is violated at org.eclipse.emf.common.util.AbstractEList.set(AbstractEList.java:262) at org.eclipse.egf.portfolio.eclipse.build.PropertiesHelper.replaceInlinedProperties(PropertiesHelper.java:88) at org.eclipse.egf.portfolio.eclipse.build.transformation.replaceInlinedProperties.method_body(replaceInlinedProperties.java:61) at org.eclipse.egf.portfolio.eclipse.build.transformation.replaceInlinedProperties.orchestration(replaceInlinedProperties.java:46) at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.egf.pattern.common.java.AbstractJavaEngine.doExecute(AbstractJavaEngine.java:129) ... 26 more
🆔 ECLIPSE-428346
👷 jean.barata
📅 2014-02-17