The following Java error will be displayed in my testing report each time I try to execute my test cases using Jenkins.
Error 1:
java.lang.IllegalArgumentException: No enum const class org.openqa.selenium.Platform.Windows 2003 at java.lang.Enum.valueOf(Enum.java:192) at org.openqa.selenium.Platform.valueOf(Platform.java:30) at WebDriverWithHelperTest.setUp(WebDriverWithHelperTest.java:76) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) ... Removed 22 stack frames
Error 2:
java.lang.NullPointerException: Method should not be null at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) ... Removed 17 stack frames
I am able to execute these test cases using Eclipse and Maven without any issue.
Any advise?