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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,367 views 25 10
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