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

Bug 325127

Summary: Can't read mtlp files when the workspace's name contains a space char
Product: [Modeling] Acceleo Reporter: Stéphane Thibaudeau <stephane.thibaudeau>
Component: CoreAssignee: Project Inbox <acceleo-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: laurent.goubet, stephane.begaudeau
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Stack trace none

Description Stéphane Thibaudeau CLA 2010-09-13 12:00:33 EDT
Build Identifier: Helios  20100617-1415

This bug occurs when using a workspace whose name contains a space.
When profiling a template, the mtpl file is created.
this file can be opened, but when trying to expand the "Profile Resource" node in the editor the following error occurs :

java.net.MalformedURLException: Unsupported "platform:" protocol variation "Name of workspace containing spaces".

Reproducible: Always

Steps to Reproduce:
1. use a workspace whose name contains a space
2. profile any acceleo template
3. open the mtlp file and try to expand the "Profile Resource" node.
Comment 1 Laurent Goubet CLA 2010-09-14 02:27:10 EDT
Please provide the whole stack of the exceptions you get when raising exception-related bugs.

I'll try and reproduce this, though I'd say it is related to the serialization of the mtlp file.
Comment 2 Stéphane Thibaudeau CLA 2010-09-16 04:53:08 EDT
Created attachment 179005 [details]
Stack trace
Comment 3 Stéphane Thibaudeau CLA 2010-09-16 04:53:38 EDT
(In reply to comment #1)
> Please provide the whole stack of the exceptions you get when raising
> exception-related bugs.
> 
> I'll try and reproduce this, though I'd say it is related to the serialization
> of the mtlp file.

I've just attached a text file containing the stack trace.
Comment 4 Stephane Begaudeau CLA 2011-04-05 04:15:00 EDT
The fix has been contributed on HEAD. It will be available in Acceleo 3.1.0 M7.