It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Inserting TOC throws java.lang.NullPointerException

Peter Binney Nov 28, 2012

Inserting a TOC into a freshly created trivial page generates:

org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getResourceTagsForAdditionalContextsHtml' in class $Proxy54 threw exception java.lang.NullPointerException at templates/editor-header.vm line 7, column 61

The TOC is inserted OK. Log showing full stack trace attached to originating Atalassian ticket.

The page contains just:

<p>Here's text</p>

<p> </p>

<h5>Heading 5</h5>

<p>h5 text</p>

<p> </p>

<h6>Head 6</h6>

1 answer

1 accepted

2 votes
Answer accepted

Hi Peter,

I'm just answering this issue for the sake of future users who may experience a similar issue. It turns out that in this case the problem is being caused by a bug in the Gliffy plugin that is described in the following bug report and will be fixed as of Gliffy v5.0.2: http://jira.gliffy.com/browse/GCONF-803

All the best,
John

Peter Binney Dec 05, 2012

Thanks again, John. Just to confirm that gliffy 5.0.2 has fixed the problem!

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

936 views 0 19
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you