[jbosstools-issues] [JBoss JIRA] (JBIDE-9991) NPE in JBoss Central (Refreshing JBoss Tutorials)
Pavol Srna (Commented) (JIRA)
jira-events at lists.jboss.org
Wed Oct 26 04:29:45 EDT 2011
[ https://issues.jboss.org/browse/JBIDE-9991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12637450#comment-12637450 ]
Pavol Srna commented on JBIDE-9991:
-----------------------------------
Verified on jbosstools-3.3_stable_branch.aggregate-Update-2011-10-24_19-28-33-H32.
> 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: Fred Bricon
> Priority: Critical
> Fix For: 3.3.0.M4
>
> Attachments: JBIDE-9991-NPECheck.patch
>
>
> 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