Errormessage while load diagram after restart [message #893832] |
Thu, 05 July 2012 15:44 |
Markus Knoop Messages: 14 Registered: January 2012 |
Junior Member |
|
|
Hallo,
i have a problem while using Graphiti to modeling an own ecore model. Currently i develop a plugin which use two files to save a diagram. One for the graphical representation and one for my model. All works fine.
Now i should use only one file to save the diagram and model and get some problems. When i create a new model my wizard create the resource file, add the Graphiti diagram and some objects from my model. I can add object, open and close the editor without problems. But when i restart my eclipse and try to open the diagram, i get an exception, because my ecore-model file could not be reached. Did anyone has a hint or solution for this probem?
!MESSAGE Server returned HTTP response code: 502 for URL: h t tp ://MyModel.ecore
!STACK 0
java.io.IOException: Server returned HTTP response code: 502 for URL: h t t p://MyModel.ecore
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1436)
at java.net.URL.openStream(URL.java:1010)
at com.aptana.filesystem.http.HttpFileStore.openInputStream(HttpFileStore.java:235)
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:597)
at org.eclipse.emf.ecore.resource.impl.EFSURIHandlerImpl.createInputStream(EFSURIHandlerImpl.java:252)
at org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterImpl.createInputStream(ExtensibleURIConverterImpl.java:350)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getPackageForURI(XMLHandler.java:2534)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getFactoryForPrefix(XMLHandler.java:2422)
... and more.
Regards,
Markus
[Updated on: Thu, 05 July 2012 15:46] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03135 seconds