Inserting TOC throws java.lang.NullPointerException

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
Accepted answer

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

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
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,348 views 96 8
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you