Community
Participate
Working Groups
I have recently updated to the latest official release of eclipse (2020-09), when I run my UI tests inside the docker, I get the following error which crash eclipse and the tests fail. This is only happening in the linux docker image not on windows the same tests pass inside the windows docker. 13:22:40 Application started in : 9321ms 13:22:40 !SESSION 2020-10-23 13:23:59.682 ----------------------------------------------- 13:22:40 eclipse.buildId=unknown 13:22:40 java.fullversion=11.0.8+10 13:22:40 JRE 11 Linux amd64-64-Bit Compressed References 20200715_697 (JIT enabled, AOT enabled) 13:22:40 OpenJ9 - 34cf4c075 13:22:40 OMR - 113e54219 13:22:40 JCL - 95bb504fbb based on jdk-11.0.8+10 13:22:40 BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US 21:39:09 java.lang.NullPointerException 21:39:09 at org.eclipse.urischeme.internal.registration.DesktopFileWriter.escapeSpaces(DesktopFileWriter.java:186) 21:39:09 at org.eclipse.urischeme.internal.registration.DesktopFileWriter.getMinimalDesktopFileContent(DesktopFileWriter.java:175) 21:39:09 at org.eclipse.urischeme.internal.registration.RegistrationLinux.readFileOrGetInitialContent(RegistrationLinux.java:115) 21:39:09 at org.eclipse.urischeme.internal.registration.RegistrationLinux.changeDesktopFile(RegistrationLinux.java:98) 21:39:09 at org.eclipse.urischeme.internal.registration.RegistrationLinux.handleSchemes(RegistrationLinux.java:64) 21:39:09 at org.eclipse.urischeme.AutoRegisterSchemeHandlersJob.run(AutoRegisterSchemeHandlersJob.java:78) 21:39:09 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63) The command I am running is java -XX:+CMSClassUnloadingEnabled -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000 -jar /eclipse/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar org.eclipse.equinox.launcher.Main -swtbot -application org.eclipse.swtbot.eclipse.junit.headless.swtbottestapplication -product org.eclipse.platform.ide -testApplication /eclipse/plugins/org.eclipse.ui.ide.workbench -data /eclipse/workspace -testPluginName org.my.ui.stt.test -className org.my.ui.test.collection.window.WindowTests -consoleLog -debug -clean -clearPersistedState formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,/eclipse/workspace/org.my.ui.test.collection.window.WindowTests.xml formatter=org.apache.tools.ant.taskdefs.optional.junit.PlainJUnitResultFormatter"
Is there any update on this issue? any fix or workaround to prevent the crash?
*** This bug has been marked as a duplicate of bug 566490 ***