Receive error screen when trying to go to Space Directory Admin
Asked by Mark Haller:

I'm getting the following error -

org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getLogoDownloadPath' in class com.atlassian.confluence.plugins.spacedirectory.ViewSpaceDirectoryAction threw exception java.lang.NullPointerException at /templates/spacedirectory.vm line 65, column 59

When trying to access the Space Directory as an admin. Can you help?


Answers:
author: Derek de Bas
body: That solved it. Thank you very much for answering.

--spearhead


author: Eric Salonen
body: If you are still looking for an answer, the answer is here:

<https://confluence.atlassian.com/display/CONFKB/Could+not+accessed+Space+directory+due+to+broken+index>


author: Derek de Bas
body: Selecting Browse / Space Directory in Atlassian Confluence 4.2.3, produces the exact same error:

```
org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getLogoDownloadPath' in  class com.atlassian.confluence.plugins.spacedirectory.ViewSpaceDirectoryAction threw exception java.lang.NullPointerException at /templates/spacedirectory.vm[line 65, column 59]
```

I am running a fresh install of Atlassian Confluence 4.2.3 with only SubSpace Plugin v1.7.3 installed.

What can I do to solve this?

--Spearhead


author: Derek de Bas
body: Selecting Browse / Space Directory in Atlassian Confluence 4.2.3, produces the exact same error:

```
org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getLogoDownloadPath' in  class com.atlassian.confluence.plugins.spacedirectory.ViewSpaceDirectoryAction threw exception java.lang.NullPointerException at /templates/spacedirectory.vm[line 65, column 59]
```

I am running a fresh install of Atlassian Confluence 4.2.3 with only SubSpace Plugin v1.7.3 installed.

What can I do to solve this?

--Spearhead


author: Derek de Bas
body: Selecting Browse / Space Directory in Atlassian Confluence 4.2.3, produces the exact same error:

```
org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getLogoDownloadPath' in  class com.atlassian.confluence.plugins.spacedirectory.ViewSpaceDirectoryAction threw exception java.lang.NullPointerException at /templates/spacedirectory.vm[line 65, column 59]
```

I am running a fresh install of Atlassian Confluence 4.2.3 with only SubSpace Plugin v1.7.3 installed.

What can I do to solve this?

--Spearhead


author: Derek de Bas
body: Selecting Browse / Space Directory in Atlassian Confluence 4.2.3, produces the exact same error:

```
org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getLogoDownloadPath' in  class com.atlassian.confluence.plugins.spacedirectory.ViewSpaceDirectoryAction threw exception java.lang.NullPointerException at /templates/spacedirectory.vm[line 65, column 59]
```

I am running a fresh install of Atlassian Confluence 4.2.3 with only SubSpace Plugin v1.7.3 installed.

What can I do to solve this?

--Spearhead

comments: author: Derek de Bas
body: I just noticed that this error only occurs when logged in as Administrator.

Logged in as a regular user, this error does not occur and the Spaces Directory window appears as expected.

--Spearhead


author: Derek de Bas
body: It seems I was wrong.

In my particular setup, this error also occurs for regular users that have access to 4 spaces.

Users having only access to 1 or 2 spaces do not get this error.

Perhaps this helps.

--Spearhead


author: Derek de Bas
body: Selecting Browse / Space Directory in Atlassian Confluence 4.2.3, produces the exact same error:

```
org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getLogoDownloadPath' in  class com.atlassian.confluence.plugins.spacedirectory.ViewSpaceDirectoryAction threw exception java.lang.NullPointerException at /templates/spacedirectory.vm[line 65, column 59]
```

I am running a fresh install of Atlassian Confluence 4.2.3 with only SubSpace Plugin v1.7.3 installed.

What can I do to solve this?

--Spearhead


author: Peter Macdonald
body: Not having the issue any more. Not sure what I did back in Jan uary but we're now running 4.1.5.


author: Claus k?ll
body: Is there now a answer ? I have the same Problem !


author: Peter Macdonald
body: I'm getting exactly the same error running Confluence 4.1.2


author: Joe Clark
body: What version of Confluence are you running?