I am running a javafx based application from jenkins. My Jenkins version is 2.73.1 and java application is compiled with java 8 and i am running the jar with java8 as well. I am having this exception and this actually starts here without giving any detail.
java.lang.NullPointerException
at sun.awt.shell.Win32ShellFolder2.access$200(Unknown Source)
at sun.awt.shell.Win32ShellFolder2$1.call(Unknown Source)
at sun.awt.shell.Win32ShellFolder2$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at sun.awt.shell.Win32ShellFolderManager2$ComInvoker$3.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
I have tried a lot of solutions, changing jenkins versions, logon to jenkins as administrator but nothing work.
It is not the duplicate of 'NPE in Win32ShellFolder2.access when creating new JFileChooser as Local System Account in Windows 7' as it is working perfectly fine in my pc from command prompt.
Any hint or help is appreciated.
Thanks.