Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Problems applying a particular stereotype:java.lang.NullPointerException at EStructuralFeatureImpl.
Problems applying a particular stereotype:java.lang.NullPointerException at EStructuralFeatureImpl. [message #627450] Thu, 26 March 2009 12:23
Juan Pedro Silva is currently offline Juan Pedro SilvaFriend
Messages: 258
Registered: July 2009
Senior Member
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello everybody.<br>
I'm having problems trying to apply a particular stereotype (the
"Overrides" stereotype from the Theme/UML profile:
<a class="moz-txt-link-freetext" href=" https://www.cs.tcd.ie/Eamonn.Linehan/lero/ThemeUML.profile.u ml"> https://www.cs.tcd.ie/Eamonn.Linehan/lero/ThemeUML.profile.u ml</a>).<br>
The rest of the stereotypes I used applied correctly with no problems,
but each time I try to use "Overrides" I get the following error
(independently of the type of element I'm applying it to):<br>
<font color="#ffff00"><br>
<font color="#3333ff">java.lang.NullPointerException<br>
&nbsp;&nbsp; &nbsp;at
org.eclipse.emf.ecore.impl.EStructuralFeatureImpl.getSetting Delegate(EStructuralFeatureImpl.java:814) <br>
&nbsp;&nbsp; &nbsp;at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSettingDelegate (BasicEObjectImpl.java:1532) <br>
&nbsp;&nbsp; &nbsp;at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicIsSet(Ba sicEObjectImpl.java:1268) <br>
&nbsp;&nbsp; &nbsp;at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eIsSet(BasicEObj ectImpl.java:1250) <br>
&nbsp;&nbsp; &nbsp;at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eIsSet(BasicEObj ectImpl.java:1235) <br>
&nbsp;&nbsp; &nbsp;at
org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.shouldSaveFeature (XMLSaveImpl.java:1194) <br>
&nbsp;&nbsp; &nbsp;at
org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLS aveImpl.java:1232) <br>
&nbsp;&nbsp; &nbsp;at
org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XML SaveImpl.java:2667) <br>
&nbsp;&nbsp; &nbsp;at
org.eclipse.emf.ecore.xmi.impl.XMISaveImpl.writeTopObjects(X MISaveImpl.java:90) <br>
&nbsp;&nbsp; &nbsp;at
org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.traverse(XMLSaveI mpl.java:592) <br>
&nbsp;&nbsp; &nbsp;at
org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.save(XMLSaveImpl. java:256) <br>
&nbsp;&nbsp; &nbsp;at
org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doSave(XMLRes ourceImpl.java:205) <br>
&nbsp;&nbsp; &nbsp;at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(Resour ceImpl.java:1344) <br>
&nbsp;&nbsp; &nbsp;at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.saveOnlyIfC hangedWithMemoryBuffer(ResourceImpl.java:1120) <br>
&nbsp;&nbsp; &nbsp;at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(Resour ceImpl.java:973) <br>
&nbsp;&nbsp; &nbsp;at
org.eclipse.uml2.uml.editor.presentation.UMLEditor$14.execut e(UMLEditor.java:1400) <br>
&nbsp;&nbsp; &nbsp;at
org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(Worksp aceModifyOperation.java:104) <br>
&nbsp;&nbsp; &nbsp;at
org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1800) <br>
&nbsp;&nbsp; &nbsp;at
org.eclipse.ui.actions.WorkspaceModifyOperation.run(Workspac eModifyOperation.java:116) <br>
&nbsp;&nbsp; &nbsp;at
org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext.java:121) </font></font><br>
<br>
Which could be the reason?, perhaps the profile was made with a
different version of UML2/EMF/Eclipse?.<br>
Any suggestions would be greatly appreciated.<br>
Regards,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; Juan Pedro<br>
<br>
</body>
</html>
Previous Topic:Advantages of Static Profiles
Next Topic:Problems applying a particular stereotype:java.lang.NullPointerException at EStructuralFeatureImpl.
Goto Forum:
  


Current Time: Thu Apr 25 12:15:34 GMT 2024

Powered by FUDForum. Page generated in 3.72845 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top