confluence无法打开空间目录

来源:互联网 发布:淘宝大学吧 编辑:程序博客网 时间:2024/05/04 02:44

无法打开空间目录

 

1.      问题描述

(1)当点击空间->空间目录时,界面出现如下错误,【全部空间】不能被显示,出现“搜索空间发生错误”信息

       

(2)查看atlassian-confluence.log的错误信息如下:

   2013-12-17 13:47:17,378 ERROR [http-8002-4] [common.error.jersey.ThrowableExceptionMapper]toResponse Uncaught exception thrown by REST service

 -- url:/rest/spacedirectory/1/search | userName: admin | referer:http://172.17.2.16:8002/spacedirectory/view.action

java.lang.NullPointerException

    at com.atlassian.confluence.plugins.spacedirectory.rest.DefaultSpaceDirectoryEntityBuilder.build(DefaultSpaceDirectoryEntityBuilder.java:73)

    atcom.atlassian.confluence.plugins.spacedirectory.rest.SpaceDirectoryResource.doSearch(SpaceDirectoryResource.java:91)

    atsun.reflect.GeneratedMethodAccessor637.invoke(Unknown Source)

    atsun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

    atjava.lang.reflect.Method.invoke(Unknown Source)

 

2.      问题原因

由于索引损坏导致;

 

This issue is caused by acorrupted index. Confluence is trying to fetch information about the spacesfrom the available index, and then retrieve the data from the database. Some ofthe spaces referenced in the index could not be found in the database, thusthis error thrown.

 

3.      解决办法

重建索引,点击[站点管理]->[内容索引],如下

 

问题解决!

0 0