Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 325127 - Can't read mtlp files when the workspace's name contains a space char
Summary: Can't read mtlp files when the workspace's name contains a space char
Status: CLOSED FIXED
Alias: None
Product: Acceleo
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-13 12:00 EDT by Stéphane Thibaudeau CLA
Modified: 2011-04-05 04:15 EDT (History)
2 users (show)

See Also:


Attachments
Stack trace (6.32 KB, text/plain)
2010-09-16 04:53 EDT, Stéphane Thibaudeau CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.