[jbosstools-issues] [JBoss JIRA] (JBIDE-9991) NPE in JBoss Central (Refreshing JBoss Tutorials)
Fred Bricon (Created) (JIRA)
jira-events at lists.jboss.org
Fri Oct 21 03:35:45 EDT 2011
NPE in JBoss Central (Refreshing JBoss Tutorials)
-------------------------------------------------
Key: JBIDE-9991
URL: https://issues.jboss.org/browse/JBIDE-9991
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: central
Affects Versions: 3.3.0.M4
Reporter: Fred Bricon
Assignee: Snjezana Peco
Priority: Critical
Fix For: 3.3.0.M4
Since yesterday, I've been experiencing NPE's on JBoss Central startups :
{noformat}
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)
{noformat}
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list