Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] JUnit-pligin tests fail when run from maven

I don't fully understand the context of the failures, but the error log has this fairly critical error with no explanation of why it may be happening:

Root exception:
java.lang.IllegalStateException: Workbench has not been created yet.
at org.eclipse.ui.PlatformUI.getWorkbench(
at org.eclipse.cdt.internal.ui.viewsupport.CDTContextActivator.install(
at org.eclipse.cdt.ui.CUIPlugin.start(

Perhaps something in about the change you have made changes how Eclipse is being bootstrapped causing the UI not to load. 

Do you have a branch I can see the change on?


Jonah Graham
Kichwa Coders

On Thu, 27 Aug 2020 at 14:08, Jan Baeyens <jan@xxxxxxxxxx> wrote:

In my Sloeber plugin I have changed the project creation code to
restrict to API usage and Since I have done so the maven build fails due
to tests failing.

When I run the test from the eclipse UI they run fine. But run from
maven I see following errors in the log.

What I guess that happens is that the build/indexer fails and wants to
report the error and that somewhere fails.

I attached the log.

Is this a known issue?

What is the best way to see the console output in this case?

Best regards


FYI The test script try to build each project 3 times

cdt-dev mailing list
To unsubscribe from this list, visit

Back to the top