You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Antonio David Pérez Morales (JIRA)" <ji...@apache.org> on 2015/10/06 14:39:27 UTC

[jira] [Commented] (CONNECTORS-1245) NPE using Confluence authority

    [ https://issues.apache.org/jira/browse/CONNECTORS-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14944960#comment-14944960 ] 

Antonio David Pérez Morales commented on CONNECTORS-1245:
---------------------------------------------------------

[~daddywri] tested diff with debug enabled and now no NPE thrown, thanks

> NPE using Confluence authority
> ------------------------------
>
>                 Key: CONNECTORS-1245
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1245
>             Project: ManifoldCF
>          Issue Type: Bug
>    Affects Versions: ManifoldCF 2.2
>            Reporter: Karl Wright
>            Assignee: Antonio David Pérez Morales
>            Priority: Blocker
>             Fix For: ManifoldCF 2.3
>
>         Attachments: CONNECTORS-1245.diff
>
>
> Null pointer exception trying to use Confluence authority, as follows:
> Hi,
> we're trying index a confluence and are using the confluence authority
> connector. It is configured like this:
> Protocol : https
> Host     : ...
> Port     : 443
> Path     : /
> Username : Admin
> Password : ...
> In the UI we get the message "Connection working". When searching the
> indexed documents we can see that we have only the spacenames as allow
> and DEAD_AUTHORITY as the deny tokens.
> If we try to use the autority-service like
> :4080/mcf-authority-service/UserACLs\?username=Foo
> then we get always the following response:
> UNREACHABLEAUTHORITY:Confluence-Authority
> TOKEN:MyGroup:DEAD_AUTHORITY
> Everytime we query the authority service the following error is logged:
> {code}
> WARN 2015-10-05 10:57:12,757 (http-bio-8080-exec-8) - Authority
> 'Confluence-Authority' is unreachable fo r user 'Foo'
> WARN 2015-10-05 10:58:05,274 (Auth check thread 2) - Authority
> connection error: null java.lang.NullPointerException
>         at
> org.apache.manifoldcf.authorities.authorities.confluence.ConfluenceAuthorityConnector.initConfluenceClient
> (ConfluenceAuthorityConnector.java:180) at
> org.apache.manifoldcf.authorities.authorities.confluence.ConfluenceAuthorityConnector.connect( ConfluenceAuthorityConnector.java:133) at
> org.apache.manifoldcf.core.connectorpool.ConnectorPool$Pool.getConnector(ConnectorPool.java:479)
>         at org.apache.manifoldcf.core.connectorpool.ConnectorPool.grab
> (ConnectorPool.java:255) at
> org.apache.manifoldcf.authorities.authorityconnectorpool.AuthorityConnectorPool.grab
> (Authority ConnectorPool.java:86) at
> org.apache.manifoldcf.authorities.system.AuthCheckThread.run
> (AuthCheckThread.java:84)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)