You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Florian Müller (JIRA)" <ji...@apache.org> on 2013/05/02 12:32:16 UTC
[jira] [Resolved] (CMIS-653) Error in Function
WebServicesAuthenticate of class StandardAuthenticationProvider
[ https://issues.apache.org/jira/browse/CMIS-653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Florian Müller resolved CMIS-653.
---------------------------------
Resolution: Fixed
Fix Version/s: DotCMIS 0.6
Thanks for reporting this bug.
> Error in Function WebServicesAuthenticate of class StandardAuthenticationProvider
> ----------------------------------------------------------------------------------
>
> Key: CMIS-653
> URL: https://issues.apache.org/jira/browse/CMIS-653
> Project: Chemistry
> Issue Type: Bug
> Components: dotcmis
> Reporter: Antonia Baumann
> Assignee: Florian Müller
> Priority: Minor
> Fix For: DotCMIS 0.6
>
>
> There seems to be an error in the binding-intf.cs (class: StandardAuthenticationProvider; method: protected virtual void WebServicesAuthenticate(object connection)), line 175:
> is:
> PolicyServicePortClient policyServicePortClient = connection as PolicyServicePortClient;
> if (policyServicePortClient != null)
> {
> AddWebServicesCredentials(multiFilingServicePortClient.Endpoint, multiFilingServicePortClient.ClientCredentials);
> return;
> }
> should most probably be:
> PolicyServicePortClient policyServicePortClient = connection as PolicyServicePortClient;
> if (policyServicePortClient != null)
> {
> AddWebServicesCredentials(policyServicePortClient.Endpoint, policyServicePortClient.ClientCredentials);
> return;
> }
> Otherwise the calling of IPolicyService.ApplyPolicy(string repositoryId, string policyId, string objectId, IExtensionsData extension) runs into:
> System.NullReferenceException: Object reference not set to an instance of an object.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira