Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

My test passes but I see an error in the console (Exception in thread “WorkbenchTestable” java.lang.NullPointerException), is this a problem?

0
0 Posted

My test passes but I see an error in the console (Exception in thread “WorkbenchTestable” java.lang.NullPointerException), is this a problem?

0
0

This exception appears to be caused in cases where the workspace is being shut down by test code (e.g., by selecting the “Exit” menu item or closing the main Shell) at the same time as the PDE test runner is itself also closing down the application. Note that you do not need to explicitly exit the application at the end of your tests since that will be done for you by the test runner. If this describes your case, remove the explicit calls to exit the application and you should be OK. If it doesn’t tell us more!

0

This exception appears to be caused in cases where the workspace is being shut down by test code (e.g., by selecting the Exit menu item or closing the main Shell) at the same time as the PDE test runner is itself also closing down the application. Note that you do not need to explicitly exit the application at the end of your tests since that will be done for you by the test runner. If this describes your case, remove the explicit calls to exit the application and you should be OK. If it doesn’t tell us more!

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123