Home » Modeling » Papyrus » Error: Model content will not be shown(When I load the model I created, it appears to be empty.)
Error: Model content will not be shown [message #1715300] |
Sat, 21 November 2015 10:51 |
Adrian LastName Messages: 9 Registered: March 2015 |
Junior Member |
|
|
Hello everyone,
I got kind of a problem here... I created a SysML-model using Eclipse Mars. I worked on that over quite some time, saving, exiting and loading as normal. But now, when I try to open that model, the Model Explorer claims the model is empty. All the files (.di, .project, .uml, ...) seem to be in place. The last thing I did with that model was exporting diagrams as .png I think (which I did before as well, and which shouldn't matter anyways).
I also tried opening it on Eclipse Luna (which I still have installed, without using it), but as to the same effect (only that the model explorer will show me the imported ModelLibraries (Ecore Primitive Types, UML Primitive Types), but I don't think those are model specific).
Anyone got any idea what to do? I am running a Windows 7 machine, could follow up with hardware specs if that would help any...
Thanks a lot!
Adrian.
|
|
|
Re: Error: Model content will not be shown [message #1715393 is a reply to message #1715300] |
Mon, 23 November 2015 09:37 |
Eclipse User |
|
|
|
Hi Adrian,
To check whether your model is actually empty or not open the .UML model
with the UML Editor (or any XML editor) and see what is there.
To do so, right-click the .UML file, choose Open With and select the
editor you prefer.
If the contents of your model are not there, there isn't much to do
unless you have a backup.
Best,
Víctor López-Jaquero
El 21/11/2015 a las 11:51, Adrian LastName escribió:
> Hello everyone,
>
> I got kind of a problem here... I created a SysML-model using Eclipse
> Mars. I worked on that over quite some time, saving, exiting and loading
> as normal. But now, when I try to open that model, the Model Explorer
> claims the model is empty. All the files (.di, .project, .uml, ...) seem
> to be in place. The last thing I did with that model was exporting
> diagrams as .png I think (which I did before as well, and which
> shouldn't matter anyways).
> I also tried opening it on Eclipse Luna (which I still have installed,
> without using it), but as to the same effect (only that the model
> explorer will show me the imported ModelLibraries (Ecore Primitive
> Types, UML Primitive Types), but I don't think those are model specific).
>
> Anyone got any idea what to do? I am running a Windows 7 machine, could
> follow up with hardware specs if that would help any...
>
> Thanks a lot!
> Adrian.
|
|
| |
Re: Error: Model content will not be shown [message #1715402 is a reply to message #1715393] |
Mon, 23 November 2015 10:37 |
Adrian LastName Messages: 9 Registered: March 2015 |
Junior Member |
|
|
Here, in reply to both:
I checked the .uml, it does seem as if there was no model information in there, but only information about the applied profiles:
<?xml version="1.0" encoding="UTF-8"?>
<uml:Model xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_HgKlEIq9EeWZI59c2CcvRw" name="RootElement">
<profileApplication xmi:type="uml:ProfileApplication" xmi:id="_HqflwIq9EeWZI59c2CcvRw">
<eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_HqiCAIq9EeWZI59c2CcvRw" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#/"/>
</eAnnotations>
<appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_TZ_nULU5EduiKqCzJMWbGw"/>
</profileApplication>
<profileApplication xmi:type="uml:ProfileApplication" xmi:id="_HqlFUIq9EeWZI59c2CcvRw">
<eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_HqlsYIq9EeWZI59c2CcvRw" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//modelelements"/>
</eAnnotations>
<appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_Gx8MgLX7EduFmqQsrNB9lw"/>
</profileApplication>
<profileApplication xmi:type="uml:ProfileApplication" xmi:id="_HqrzAIq9EeWZI59c2CcvRw">
<eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_HqrzAYq9EeWZI59c2CcvRw" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//blocks"/>
</eAnnotations>
<appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_fSw28LX7EduFmqQsrNB9lw"/>
</profileApplication>
<profileApplication xmi:type="uml:ProfileApplication" xmi:id="_HqsaEIq9EeWZI59c2CcvRw">
<eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_HqtBIIq9EeWZI59c2CcvRw" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//portandflows"/>
</eAnnotations>
<appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_rpx28LX7EduFmqQsrNB9lw"/>
</profileApplication>
<profileApplication xmi:type="uml:ProfileApplication" xmi:id="_HqtoMIq9EeWZI59c2CcvRw">
<eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_HquPQIq9EeWZI59c2CcvRw" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//constraints"/>
</eAnnotations>
<appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_5WYJ0LX7EduFmqQsrNB9lw"/>
</profileApplication>
<profileApplication xmi:type="uml:ProfileApplication" xmi:id="_Hqu2UIq9EeWZI59c2CcvRw">
<eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_HqvdYIq9EeWZI59c2CcvRw" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//activities"/>
</eAnnotations>
<appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_C2zXMLX8EduFmqQsrNB9lw"/>
</profileApplication>
<profileApplication xmi:type="uml:ProfileApplication" xmi:id="_HqwEcIq9EeWZI59c2CcvRw">
<eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_HqwrgIq9EeWZI59c2CcvRw" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//allocations"/>
</eAnnotations>
<appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_NxdG4LX8EduFmqQsrNB9lw"/>
</profileApplication>
<profileApplication xmi:type="uml:ProfileApplication" xmi:id="_HqxSkIq9EeWZI59c2CcvRw">
<eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_HqxSkYq9EeWZI59c2CcvRw" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//requirements"/>
</eAnnotations>
<appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_OOJC4LX8EduFmqQsrNB9lw"/>
</profileApplication>
<profileApplication xmi:type="uml:ProfileApplication" xmi:id="_Hqx5oIq9EeWZI59c2CcvRw">
<eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Hqx5oYq9EeWZI59c2CcvRw" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//interactions"/>
</eAnnotations>
<appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_meOioLX8EduFmqQsrNB9lw"/>
</profileApplication>
<profileApplication xmi:type="uml:ProfileApplication" xmi:id="_HqygsIq9EeWZI59c2CcvRw">
<eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_HqygsYq9EeWZI59c2CcvRw" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//statemachines"/>
</eAnnotations>
<appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_nAF5kLX8EduFmqQsrNB9lw"/>
</profileApplication>
<profileApplication xmi:type="uml:ProfileApplication" xmi:id="_Hqygsoq9EeWZI59c2CcvRw">
<eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_HqzHwIq9EeWZI59c2CcvRw" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//usecases"/>
</eAnnotations>
<appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_neZmMLX8EduFmqQsrNB9lw"/>
</profileApplication>
</uml:Model>
I compared to another model I have, which looks very differnt. So, I am loosing hope here? Did not backup my files, as of course I should have done.... Argh! Any idea on what could have happened?
Attached is a screenshot of what it looks like. There is no error log, as Papyrus opens the model without complaing; only problem is, that it seems to be empty.
So, rebuild and backup more frequently? At least I have the exported .png's to guide me, so I will just take the whole issue as a warning...
Thanks for the help,
Adrian.
-
Attachment: screen.PNG
(Size: 191.83KB, Downloaded 179 times)
[Updated on: Mon, 23 November 2015 10:38] Report message to a moderator
|
|
| | | | |
Goto Forum:
Current Time: Fri Sep 20 23:35:31 GMT 2024
Powered by FUDForum. Page generated in 0.04005 seconds
|