Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
ManifoldCF 2.2
-
None
-
None
Description
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:
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)