From: Andrea V. (JIRA) <ji...@an...> - 2005-11-17 09:44:02
|
Magic Draw modeling symbol unsupported -------------------------------------- Key: BPM-269 URL: http://jira.andromda.org/browse/BPM-269 Project: Bpm4Struts Cartridge Type: Improvement Versions: 3.1-RC1 Environment: MagicDraw 9.5 and andromda Reporter: Andrea Vega Assigned to: Wouter Zoons Priority: Minor When modeling with MagicDraw 9.5 and using a signal event symbol, send or receive, appears a strange error, not informing at all that the new symbol is the problem. The message andromda gives is: org.andromda.translation.ocl.validation.OCLIntrospectorException: java.lang.ClassCastException at org.andromda.translation.ocl.validation.OCLIntrospector.invoke(OCLIntrospector.java:64) at org.andromda.metafacades.uml14.FrontEndControllerOperationLogic.validateInvariants(FrontEndControllerOperationLogic.java:230) at org.andromda.core.metafacade.MetafacadeBase.validate(MetafacadeBase.java:106) at org.andromda.core.metafacade.MetafacadeFactory.validateAllMetafacades(MetafacadeFactory.java:232) at org.andromda.core.engine.ModelProcessor.validateModel(ModelProcessor.java:420) at org.andromda.core.engine.ModelProcessor.loadModelIfNecessary(ModelProcessor.java:384) at org.andromda.core.engine.ModelProcessor.loadIfNecessary(ModelProcessor.java:559) at org.andromda.core.engine.ModelProcessor.processModels(ModelProcessor.java:221) at org.andromda.core.engine.ModelProcessor.process(ModelProcessor.java:152) at org.andromda.core.engine.ModelProcessor.process(ModelProcessor.java:88) at org.andromda.core.engine.Engine.run(Engine.java:82) at org.andromda.core.AndroMDA.run(AndroMDA.java:136) at org.andromda.maven.AndroMDARunner.run(AndroMDARunner.java:74) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:304) at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:56) at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:106) at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:88) at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:123) at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:115) at org.apache.commons.jelly.expression.jexl.JexlExpressionFactory$ExpressionSupportLocal.evaluate(JexlExpressionFactory.java:168) at org.apache.commons.jelly.tags.core.SetTag.doTag(SetTag.java:130) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at org.apache.commons.jelly.tags.core.WhenTag.doTag(WhenTag.java:92) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:84) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:127) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at com.werken.werkz.jelly.PreGoalTag$1.firePreGoal(PreGoalTag.java:87) at com.werken.werkz.Goal.firePreGoalCallbacks(Goal.java:691) at com.werken.werkz.Goal.fire(Goal.java:616) at com.werken.werkz.Goal.attain(Goal.java:575) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263) at org.apache.maven.jelly.tags.maven.MavenTag.doTag(MavenTag.java:82) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263) at org.apache.maven.cli.App.doMain(App.java:488) at org.apache.maven.cli.App.main(App.java:1239) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) Caused by: java.lang.ClassCastException at org.andromda.metafacades.uml14.FrontEndControllerOperationLogicImpl.handleGetDeferringActions(FrontEndControllerOperationLogicImpl.java:192) at org.andromda.metafacades.uml14.FrontEndControllerOperationLogic.getDeferringActions(FrontEndControllerOperationLogic.java:162) at org.andromda.metafacades.uml14.FrontEndControllerOperationLogicImpl.handleIsAllArgumentsHaveFormFields(FrontEndControllerOperationLogicImpl.java:231) at org.andromda.metafacades.uml14.FrontEndControllerOperationLogic.isAllArgumentsHaveFormFields(FrontEndControllerOperationLogic.java:93) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.andromda.core.common.Introspector.internalGetProperty(Introspector.java:493) at org.andromda.core.common.Introspector.getNestedProperty(Introspector.java:228) at org.andromda.core.common.Introspector.getProperty(Introspector.java:184) at org.andromda.translation.ocl.validation.OCLIntrospector.invoke(OCLIntrospector.java:40) ... 66 more |