FYI.
---------- Forwarded message ----------
From: <[email protected]>
Date: Tue, Feb 24, 2015 at 12:41 PM
Subject: New Defects reported by Coverity Scan for Apache Falcon
To: [email protected]
Hi,
Please find the latest report on new defect(s) introduced to Apache Falcon
found with Coverity Scan.
3 new defect(s) introduced to Apache Falcon found with Coverity Scan.
1 defect(s), reported by Coverity Scan earlier, were marked fixed in the
recent build analyzed by Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 3 of 3 defect(s)
** CID 87670: Null pointer dereferences (NULL_RETURNS)
/oozie/src/main/java/org/apache/falcon/workflow/engine/OozieWorkflowEngine.java:
129 in
org.apache.falcon.workflow.engine.OozieWorkflowEngine.isAlive(org.apache.falcon.entity.v0.cluster.Cluster)()
________________________________________________________________________________________________________
*** CID 87670: Null pointer dereferences (NULL_RETURNS)
/oozie/src/main/java/org/apache/falcon/workflow/engine/OozieWorkflowEngine.java:
129 in
org.apache.falcon.workflow.engine.OozieWorkflowEngine.isAlive(org.apache.falcon.entity.v0.cluster.Cluster)()
123 registerListener(new OozieHouseKeepingService());
124 }
125
126 @Override
127 public boolean isAlive(Cluster cluster) throws FalconException {
128 try {
>>> CID 87670: Null pointer dereferences (NULL_RETURNS)
>>> Calling a method on null object
"org.apache.falcon.workflow.engine.OozieClientFactory.get(cluster)".
129 return OozieClientFactory.get(cluster).getSystemMode()
== OozieClient.SYSTEM_MODE.NORMAL;
130 } catch (OozieClientException e) {
131 throw new FalconException("Unable to reach Oozie
server.", e);
132 }
133 }
134
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit,
https://scan.coverity.com/projects/3008?tab=overview
To manage Coverity Scan email notifications for "[email protected]",
click
https://scan.coverity.com/subscriptions/edit?email=venkatesh%40innerzeal.com&token=4c3c183c934a2bdd2c1c1c33387ce639
.
--
Regards,
Venkatesh
“Perfection (in design) is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.”
- Antoine de Saint-Exupéry