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(PlatformUI.java:95)
at org.eclipse.cdt.internal.ui.viewsupport.CDTContextActivator.install(CDTContextActivator.java:65)
at org.eclipse.cdt.ui.CUIPlugin.start(CUIPlugin.java:596)

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?

Thanks,
Jonah

~~~
Jonah Graham
Kichwa Coders
www.kichwacoders.com


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

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

Jantje

FYI The test script try to build each project 3 times

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cdt-dev

Back to the top