[jboss-user] [JBoss jBPM] - JBPM + EMF/UML2 Crashes
waterloo
do-not-reply at jboss.com
Sat Aug 1 17:12:14 EDT 2009
Hi all,
I'm trying to execute JPDL Process (4.0) that modifies an existing .UML file using the UML2 Library and i have to execute a useless instruction just to somehow get the UML initialized. The code fragment is bellow. If I remove the UMLFactory.eINSTANCE.createClass().setName(""); the code crashes.
It's important to mention that if I remove JPDL, everything runs OK!!
// extremely weird behavior. if I remove the line bellow the code crashes.
// it seems something inside RMf must be initialized.
///////////////////////////////////////////////
UMLFactory.eINSTANCE.createClass().setName("");
///////////////////////////////////////////////
org.eclipse.uml2.uml.Package topPackage = UMLModelWrapper.loadModel(URI.createURI(PATH_NAME).appendSegment(
MODEL_NAME).appendFileExtension(UMLResource.FILE_EXTENSION));
SymbolTable.getInstance().umlModel = topPackage;
cheers
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247403#4247403
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247403
More information about the jboss-user
mailing list