Re: [e4-dev] Executing test cases fails in IDE

2017-04-07 Thread Dirk Fauth
OK, after updating to the latest I-Build the tests can be executed again. Seems it was a bug in the M-Build. Thanks for the help! On Fri, Apr 7, 2017 at 6:46 PM, Ed Merks wrote: > Dirk, > > Mine came from http://download.eclipse.org/eclipse/updates/4.7-I-builds > today and that version earlier

Re: [e4-dev] Executing test cases fails in IDE

2017-04-07 Thread Ed Merks
Dirk, Mine came from http://download.eclipse.org/eclipse/updates/4.7-I-builds today and that version earlier today was 3.12.0.v20170323-0108. It's always so hard to find the repo containing a given Java file so that one can look at the git history of the file. :-( We should have something

Re: [e4-dev] Executing test cases fails in IDE

2017-04-07 Thread Dirk Fauth
it is org.eclipse.core.resources_3.12.0.v20170307 On Fri, Apr 7, 2017 at 5:49 PM, Ed Merks wrote: > Dirk, > > I have a very recent Oxygen build in my TP and I don't see that the > ResourcesPlugin creates such a job. Perhaps it was removed again because > it caused too many initialization proble

Re: [e4-dev] Executing test cases fails in IDE

2017-04-07 Thread Ed Merks
Dirk, I have a very recent Oxygen build in my TP and I don't see that the ResourcesPlugin creates such a job. Perhaps it was removed again because it caused too many initialization problems... What version of the resource's bundle are you using? On 07.04.2017 16:55, Dirk Fauth wrote: Look

Re: [e4-dev] Executing test cases fails in IDE

2017-04-07 Thread Dirk Fauth
Looks like a multi-threading issue. Not sure what introduced that or what is going wrong. - ResourcesPlugin#start(BundleContext) is started and the initWorkspaceJob is scheduled - ResourcesPlugin#getWorkspace() is called. The join() call in line 432 is called and returns directly - The exception

Re: [e4-dev] Executing test cases fails in IDE

2017-04-07 Thread Ed Merks
Dirk, Use the debugger and set breakpoints.Is org.eclipse.core.resources.ResourcesPlugin.start(BundleContext) called? Normally it would be called very early and certainly before anything can call ResourcePlugin.getWorkspace(). Is it successful creating a workspace? If not, why not? I

Re: [e4-dev] Executing test cases fails in IDE

2017-04-07 Thread Dirk Fauth
Yes ... actually I started the test via Right click -> Run as -> JUnit Plugin Test On Fri, Apr 7, 2017 at 2:00 PM, Ed Merks wrote: > Dirk, > > Have you specified Workspace Data in the launcher? > > > On 07.04.2017 11:53, Dirk Fauth wrote: > > Hi, > > I'm trying to execute the test cases locally

Re: [e4-dev] Executing test cases fails in IDE

2017-04-07 Thread Ed Merks
Dirk, Have you specified Workspace Data in the launcher? On 07.04.2017 11:53, Dirk Fauth wrote: Hi, I'm trying to execute the test cases locally in my current Oxygen IDE, for example the org.eclipse.ui.tests.api.IWorkbenchPageTest. But I get exceptions on starting the tests and I'm not able

[e4-dev] Executing test cases fails in IDE

2017-04-07 Thread Dirk Fauth
Hi, I'm trying to execute the test cases locally in my current Oxygen IDE, for example the org.eclipse.ui.tests.api.IWorkbenchPageTest. But I get exceptions on starting the tests and I'm not able to solve them. java.lang.ExceptionInInitializerError at org.eclipse.emf.ecore.resource.impl.ResourceS