You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by Madhan Neethiraj <ma...@apache.org> on 2017/01/05 17:41:33 UTC
FW: New Defects reported by Coverity Scan for Apache Atlas
Neeru,
Can you please review the following issue flagged by Coverity Scan and update? This seems to be from the commit for ATLAS-1391.
Thanks,
Madhan
On 1/5/17, 9:37 AM, "scan-admin@coverity.com" <sc...@coverity.com> wrote:
Hi,
Please find the latest report on new defect(s) introduced to Apache Atlas found with Coverity Scan.
1 new defect(s) introduced to Apache Atlas found with Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
** CID 155185: Null pointer dereferences (FORWARD_NULL)
/repository/src/main/java/org/apache/atlas/util/AtlasRepositoryConfiguration.java: 116 in org.apache.atlas.util.AtlasRepositoryConfiguration.getAuditExcludedOperations(org.apache.commons.configuration.Configuration)()
________________________________________________________________________________________________________
*** CID 155185: Null pointer dereferences (FORWARD_NULL)
/repository/src/main/java/org/apache/atlas/util/AtlasRepositoryConfiguration.java: 116 in org.apache.atlas.util.AtlasRepositoryConfiguration.getAuditExcludedOperations(org.apache.commons.configuration.Configuration)()
110 } catch (AtlasException e) {
111 LOG.error(" Error reading operations for auditing ", e);
112 }
113 }
114 if (skippedOperations == null) {
115 skippedOperations = new ArrayList<String>();
>>> CID 155185: Null pointer dereferences (FORWARD_NULL)
>>> Calling a method on null object "config".
116 String[] skipAuditForOperations = config
117 .getStringArray(AUDIT_EXCLUDED_OPERATIONS);
118 if (skipAuditForOperations != null
119 && skipAuditForOperations.length > 0) {
120 for (String skippedOperation : skipAuditForOperations) {
121 String[] excludedOperations = skippedOperation.trim().toLowerCase().split(SEPARATOR);
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRZSbhom32dlDl11LWEm9nX1nbwG-2F526MSwix34kV0EOH7g-2BScYg5Neu8mhD8p0GzKU-3D_LnAJ35ABvEvOrnniInKJw2EvFzzVWfd-2BYI3WJ8Im3vGTgYlpiexZNPU8Z8jMAHkNRXyqU-2FGppnBCSZgusp7qa1jrUKVoVvdX95aDrLh5ptioLtE9cdwR-2B0pm5UZ2P1YSLOUsrDzf1FQ7GPyw75boQWs7hv1Lpbmez7Ae79lw0fPNIS5uRuXw3J7fHG-2FMFvk-2BDpzg6McsgXXzOcmAX1twvL-2F3n4GWRS4-2B5pknWLH-2FfYI-3D
To manage Coverity Scan email notifications for "mneethiraj@hortonworks.com", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbVDbis712qZDP-2FA8y06Nq47mxskBQgxRJXpeEpoMwX0McAuDRyJUckvXbF17DhDLsPMLsQ8vjMxWA8prVpW8XFQLFUT1SyR1J0pL1yCZ20nVmr2nMWjTeARQKttMH-2FASk-3D_LnAJ35ABvEvOrnniInKJw2EvFzzVWfd-2BYI3WJ8Im3vGTgYlpiexZNPU8Z8jMAHkNRXyqU-2FGppnBCSZgusp7qa91dAeXTLS-2Bhnwdb2GoYyd-2BdoKqrcb6rQZc1J6qCSYcb3nial132Ek8eu-2BpByV2Z5qPKChkh7PODc-2FYVIcen2mfHbFklOmdpmLE-2F48iHWvoL-2FSpP3P3yBoCFkkQxp4AUWKs-2B8Ug1XVKe2YXKrS9D0ys-3D