Since yesterday, I've been experiencing NPE's on JBoss Central startups :
java.lang.NullPointerException at org.jboss.tools.project.examples.fixes.WTPRuntimeFix.getBestRuntime(WTPRuntimeFix.java:204) at org.jboss.tools.project.examples.fixes.WTPRuntimeFix.canFix(WTPRuntimeFix.java:70) at org.jboss.tools.project.examples.ProjectExamplesActivator.canFix(ProjectExamplesActivator.java:488) at org.jboss.tools.central.jobs.RefreshTutorialsJob.run(RefreshTutorialsJob.java:82) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
It turns out that runtime.getRuntimeType() returns null for some Weblogic server I installed yesterday (with OEPE).
A null check should be added whereever runtime.getRuntimeType() is called.