eclipse / emf.egf

Eclipse Public License 2.0
1 stars 4 forks source link

[EGF-Build Portfolio] Cannot generate build model on linux #152

Open eclipse-egf-bot opened 3 years ago

eclipse-egf-bot commented 3 years ago

Caused by: java.lang.RuntimeException: Unable to generate file platform:/resource/org.polarsys.kitalpha.releng/jobs/Kitalpha_1.0/config.xml at org.eclipse.egf.portfolio.eclipse.build.FileReporter.loopFinished(FileReporter.java:63) at org.eclipse.egf.portfolio.eclipse.build.ReplacePropertiesFileReporter.loopFinished(ReplacePropertiesFileReporter.java:41) at org.eclipse.egf.pattern.ftask.tasks.StrategyReporter.loopFinished(StrategyReporter.java:50) at org.eclipse.egf.portfolio.eclipse.build.hudson.configxml.orchestration(configxml.java:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:622) at org.eclipse.egf.pattern.common.java.AbstractJavaEngine.doExecute(AbstractJavaEngine.java:129) ... 28 more Caused by: java.lang.NullPointerException at org.eclipse.egf.portfolio.eclipse.build.FileReporter.handleWorkspaceFile(FileReporter.java:88) at org.eclipse.egf.portfolio.eclipse.build.FileReporter.loopFinished(FileReporter.java:58) ... 36 more

The problem seems to be related to the use of Path object to represent a uri. In this class the segment computation is different on window and other palforms. So on linux the genrator is looking for a project named 'resource' instaead of 'org.polarsys.kitalpha.releng'

🆔 ECLIPSE-435256 👷 thomas.guiu 📅 2014-05-20