cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From karuturi <>
Subject [GitHub] cloudstack pull request: Dereference NULL return value
Date Thu, 23 Jul 2015 05:35:35 GMT
Github user karuturi commented on a diff in the pull request:
    --- Diff: plugins/user-authenticators/saml2/src/org/apache/cloudstack/saml/
    @@ -368,8 +368,14 @@ private boolean setup() {
                     _idpMetaDataProvider = new HTTPMetadataProvider(_timer, client, idpMetaDataUrl);
                 } else {
                     File metadataFile = PropertiesUtil.findConfigFile(idpMetaDataUrl);
    -                s_logger.debug("Provided Metadata is not a URL, trying to read metadata
file from local path: " + metadataFile.getAbsolutePath());
    -                _idpMetaDataProvider = new FilesystemMetadataProvider(_timer, metadataFile);
    +                if (metadataFile == null) {
    +                    s_logger.error("Metadata file returned null");
    --- End diff --
    Can you also add the file path its trying to fing (idpMetaDataUrl) to the error message?

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message