ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sumit Mohanty (JIRA)" <>
Subject [jira] [Created] (AMBARI-5510) NPE in ganglia property provider
Date Fri, 18 Apr 2014 15:39:14 GMT
Sumit Mohanty created AMBARI-5510:

             Summary: NPE in ganglia property provider
                 Key: AMBARI-5510
             Project: Ambari
          Issue Type: Bug
    Affects Versions: 1.6.0
            Reporter: Sumit Mohanty
            Assignee: Sumit Mohanty
             Fix For: 1.6.0

Hit NPE when accessing api/vi/clusters/c1/hosts/

The repro steps are not simple as I was trying to close the browser during Add Host Wizard
progress and then trying to delete the host to start the wizard again.

In any case, we can add some null checks to avoid the NPE.

00:30:36,028  WARN [qtp762119098-106] ServletHandler:514 - /api/v1/clusters/c1/hosts/
        at org.apache.ambari.server.controller.ganglia.GangliaPropertyProvider$RRDRequest.convertToNumber(
        at org.apache.ambari.server.controller.ganglia.GangliaPropertyProvider$RRDRequest.populateResources(
        at org.apache.ambari.server.controller.ganglia.GangliaPropertyProvider.populateResources(
        at org.apache.ambari.server.controller.internal.ClusterControllerImpl.populateResources(
        at org.apache.ambari.server.api.query.QueryImpl.queryForResources(
        at org.apache.ambari.server.api.query.QueryImpl.execute(
        at org.apache.ambari.server.api.handlers.ReadHandler.handleRequest(
        at sun.reflect.GeneratedMethodAccessor75.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(

This message was sent by Atlassian JIRA

View raw message