manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CONNECTORS-1245) NPE using Confluence authority
Date Tue, 06 Oct 2015 11:44:26 GMT

     [ https://issues.apache.org/jira/browse/CONNECTORS-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Karl Wright resolved CONNECTORS-1245.
-------------------------------------
    Resolution: Fixed

r1707008


> 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
>
>
> 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)

Mime
View raw message