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

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
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

254 views 2 10
Read article

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