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

Bug 530042

Summary: [Aird Editor] FileNotFoundException by trying to contribute a sessionEditorPageProvider
Product: [Modeling] Sirius Reporter: Guillaume Coutable <guillaume.coutable>
Component: CoreAssignee: Project inbox <sirius.core-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: julien.dupont, laurent.fasani, maxime.porhel, pierre-charles.david, sirius.core-inbox
Version: 5.1.0Keywords: triaged
Target Milestone: 5.1.1   
Hardware: PC   
OS: Windows 10   
See Also: https://git.eclipse.org/r/115702
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=22903a20bb5e229d551aa77c0cf728520d7163f6
Whiteboard:

Description Guillaume Coutable CLA 2018-01-19 09:07:09 EST
+++ This bug was initially created as a clone of Bug #529973 +++

I got the following stack trace by trying to contribute a sessionEditorPageProvider:
java.io.FileNotFoundException: JAR entry schema/sessionEditorPageProvider.exsd not found in C:\_DEV\Designer\resources\Builds\ObeoDesigner-Community\plugins\org.eclipse.sirius.ui.editor.source_5.1.0.201710261549.jar
	at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getInputStream(Unknown Source)
	at org.eclipse.pde.internal.core.util.SchemaUtil.parseURL(SchemaUtil.java:60)
	at org.eclipse.pde.internal.ui.wizards.extension.PointSelectionPage.handlePointSelection(PointSelectionPage.java:525)
	at org.eclipse.pde.internal.ui.wizards.extension.PointSelectionPage.selectionChanged(PointSelectionPage.java:490)
	at org.eclipse.jface.viewers.Viewer$1.run(Viewer.java:155)
...
Comment 1 Eclipse Genie CLA 2018-01-19 09:18:35 EST
New Gerrit change created: https://git.eclipse.org/r/115702
Comment 3 Pierre-Charles David CLA 2018-01-23 05:50:15 EST
Fixed by 22903a20bb5e229d551aa77c0cf728520d7163f6.
Comment 4 Laurent Fasani CLA 2018-01-31 11:17:50 EST
Step to validate:
1) Create a plugin project
2) Add the org.eclipse.sirius.ui.editor dependency
3) Go to "Extensions" tab and click "Add" button
4) Select the org.eclipse.sirius.ui.editor.sessionEditorPageProvider extension
-> There should be no error in the error log
Comment 5 Laurent Fasani CLA 2018-01-31 11:20:29 EST
validated Sirius5.1.1rc5
Comment 6 Pierre-Charles David CLA 2018-02-01 03:25:29 EST
Available in Sirius 5.1.1. See https://wiki.eclipse.org/Sirius/5.1.1 for details.