[jbosstools-issues] [JBoss JIRA] (JBIDE-9991) NPE in JBoss Central (Refreshing JBoss Tutorials)

Fred Bricon (Resolved) (JIRA) jira-events at lists.jboss.org
Fri Oct 21 04:51:46 EDT 2011


     [ https://issues.jboss.org/browse/JBIDE-9991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fred Bricon resolved JBIDE-9991.
--------------------------------

    Resolution: Done


Patch applied in branch 3.3.0.M4
                
> 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