Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 351146

Summary: [Property View] Customization : an error occurs when saving a context depending on another context
Product: [Modeling] Papyrus Reporter: Camille Letavernier <cletavernier>
Component: CoreAssignee: Camille Letavernier <cletavernier>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.8.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Camille Letavernier CLA 2011-07-05 04:26:11 EDT
Stack trace :

java.net.UnknownServiceException: protocol doesn't support output
	at java.net.URLConnection.getOutputStream(Unknown Source)
	at org.eclipse.emf.ecore.resource.impl.URIHandlerImpl.createOutputStream(URIHandlerImpl.java:137)
	at org.eclipse.papyrus.properties.catalog.PropertiesURIHandler.createOutputStream(PropertiesURIHandler.java:46)
	at org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterImpl.createOutputStream(ExtensibleURIConverterImpl.java:339)
	at org.eclipse.emf.ecore.resource.impl.ResourceImpl.saveOnlyIfChangedWithMemoryBuffer(ResourceImpl.java:1227)
	at org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(ResourceImpl.java:978)
	at org.eclipse.emf.ecore.presentation.EcoreEditor$11.execute(EcoreEditor.java:1465)
	at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
	at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
	
This bug is linked to the new URI catalog. However, this doesn't block anything (As we aren't supposed to modify a context on which we depend anyway).
Comment 1 Camille Letavernier CLA 2011-08-01 06:00:40 EDT
Temporary fix : r5160 (Branch 0.8.1)
Merged to the trunk : r5161
Comment 2 Camille Letavernier CLA 2011-08-01 06:09:52 EDT
(In reply to comment #1)
> Temporary fix : r5160 (Branch 0.8.1)
> Merged to the trunk : r5161

Actually, the revisions are r5161 (Branch) and r5162 (Trunk)
Comment 3 Camille Letavernier CLA 2013-07-05 12:39:38 EDT
Still valid in 0.10.0
Comment 4 Camille Letavernier CLA 2015-04-09 08:14:17 EDT
This has been fixed in the latest versions, I close the task