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
Where is this code executed? In a custom activity?
I don't see how jBPM could be the culprit in this case?