Bug 519763 - Unable to use Sirius in remote project
Summary: Unable to use Sirius in remote project
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: 4.1.1   Edit
Hardware: PC Windows 8
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2017-07-17 11:20 EDT by Claudia Irvine CLA
Modified: 2017-07-20 03:57 EDT (History)
1 user (show)

See Also:


Attachments
Screen shot of remote details (22.42 KB, image/png)
2017-07-19 11:32 EDT, Claudia Irvine CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Claudia Irvine CLA 2017-07-17 11:20:19 EDT
My Sirius version is actually 4.1.6.

I am throwing an NPE error on line 70 in RepresentationsFileSaxParser.analyze() when using a remote project.

Steps to reproduce:
1. Create a remote connection.
2. Create a project that uses that remote location, not the default workspace.
3. Convert to modeling project throws an error because IResource.getRawLocation() always returns null on a remote resource.
Comment 1 Pierre Guilet CLA 2017-07-19 11:19:54 EDT
Hi, 
Can you precise what 1 and 2 means? 
I don't understand what "remote connection" refers to in the Eclipse + Sirius environment.

Regards,
Comment 2 Claudia Irvine CLA 2017-07-19 11:32:15 EDT
Created attachment 269439 [details]
Screen shot of remote details
Comment 3 Claudia Irvine CLA 2017-07-19 11:35:12 EDT
(In reply to Pierre Guilet from comment #1)
> Hi, 
> Can you precise what 1 and 2 means? 
> I don't understand what "remote connection" refers to in the Eclipse +
> Sirius environment.
> 
> Regards,

We add Remote Systems Explorer to our product. So, the remote connection is a network resource.

When you add a new project, you are given the option to use the location of a resource in the remote connection.

In the attached screenshot, the RSE view is on the left and the New Project Wizard with the RSE location is on the right.
Comment 4 Pierre Guilet CLA 2017-07-20 03:57:09 EDT
To have access to the RSE protocol for file localization, the feature "Remote System Explorer End-User Runtime" must be installed from Eclipse official repository.