java.lang.NullPointerException
at org.eclipse.fx.ide.pde.core.JavaFXClassPathExtender.findVMForEnv(JavaFXClassPathExtender.java:48)
at org.eclipse.fx.ide.pde.core.JavaFXClassPathExtender.getVM(JavaFXClassPathExtender.java:74)
at org.eclipse.fx.ide.pde.core.JavaFXClassPathExtender.getInitialEntries(JavaFXClassPathExtender.java:180)
at org.eclipse.pde.internal.core.RequiredPluginsClasspathContainer.computePluginEntries(RequiredPluginsClasspathContainer.java:102)
at org.eclipse.pde.internal.core.RequiredPluginsClasspathContainer.getClasspathEntries(RequiredPluginsClasspathContainer.java:80)
at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:3153)
It's quite bad, as it happens in JDT/PDE, which in turns causes pretty much any click to throw that exception (It also happens when closing Eclipse, during the save workspace step). However, my workspace is a little bit specific; so that exception probably wouldn't happen in most cases:
I have a project that depends on E(fx)clipse (FXCanvas), that I started migrating to 2018-12 + Java 11 some time ago (The mligration is not complete, it's still a work-in-progress branch). For that, my BREEs have been updated to JavaSE-11
Today, I've installed Eclipse 2018-09 with Java 8, and pulled these projects in my workspace. So I now have E(fx) Projects with a JavaSE-11 BREE, but only Java 8 is available. That seems to be the cause of this error
If I switch back to my master branch, which still uses the JavaSE-1.8 BREE, the exception is gone (And I guess add a JavaSE-11 Execution Environment would work, too)
I'm getting this exception:
It's quite bad, as it happens in JDT/PDE, which in turns causes pretty much any click to throw that exception (It also happens when closing Eclipse, during the save workspace step). However, my workspace is a little bit specific; so that exception probably wouldn't happen in most cases:
If I switch back to my master branch, which still uses the JavaSE-1.8 BREE, the exception is gone (And I guess add a JavaSE-11 Execution Environment would work, too)