Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Getting ArrayIndexOutOfBoundsException while adding Macro in Confluence Page

I have a Confluence Setup(Server Edition) on CentOS Machine. 

I am not able to insert Macro on Confluence Page, while adding macro on Confluence Page i am getting ArrayIndexOutOfBoundsException and save button is disabled.

Please anybody help me on this.

Please see below Error logs:

2018-01-12 10:49:41,381 ERROR [http-nio-8090-exec-2] [ContainerBase.[Standalone].[localhost].[/]] log Unhandled exception occurred whilst decorating page
-- referer: | url: /plugins/servlet/confluence/placeholder/macro | traceId: 88eadb7fdd7bb675 | userName: ratishm
java.lang.ArrayIndexOutOfBoundsException: 0
at sun.font.CompositeStrike.getStrikeForSlot(
at sun.font.CompositeStrike.getFontMetrics(
at sun.font.FontDesignMetrics.initMatrixAndMetrics(
at sun.font.FontDesignMetrics.<init>(
at sun.font.FontDesignMetrics.getMetrics(
at sun.java2d.SunGraphics2D.getFontMetrics(
at com.atlassian.confluence.tinymceplugin.placeholder.DefaultPlaceholderImageFactory.getFontMetrics(
at com.atlassian.confluence.tinymceplugin.placeholder.DefaultPlaceholderImageFactory.getPlaceholderImage(
at com.atlassian.confluence.tinymceplugin.placeholder.DefaultPlaceholderImageFactory.getPlaceholderImage(
at com.atlassian.confluence.tinymceplugin.placeholder.MacroPlaceholderServlet.getPlaceholderImage(
at com.atlassian.confluence.tinymceplugin.placeholder.MacroPlaceholderServlet.doGet(
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
at com.atlassian.plugin.servlet.DelegatingPluginServlet.service(
at javax.servlet.http.HttpServlet.service(
at com.atlassian.plugin.servlet.ServletModuleContainerServlet.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.tomcat.websocket.server.WsFilter.doFilter(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at com.atlassian.confluence.web.filter.DebugFilter.doFilter(DebugFilter.j

VM Stats
usedMemory = 553664152
usedMemoryInMegabytes = 528
availableHeap = 520077672
freeMemoryInMegabytes = 495
allocatedHeap = 1073741824
freeAllocatedHeap = 520077672
totalMemory = 1073741824
totalMemoryInMegabytes = 1024
availablePermGen = 0
maxPermGen = -1
maxHeap = 1073741824
usedHeap = 553664152
freeMemory = 520077672
usedPermGen = -1
Request Information
Scheme: http
Port: 80
URI: /500page.jsp
Context Path:
Servlet Path: /500page.jsp
Path Info: null
Query String: definition=e2NoaWxkcmVuOnBhZ2U9QUxNX0tub3dsZWRnZWJhc2V8Zmlyc3Q9MnxkZXB0aD0yfQ&locale=en_GB&version=2

2 answers

0 votes

What macro is it? 

Or if it's an error before you get to adding one to the page, can you tell us exactly where the error happens?  (e.g. you put { in and it crashes there, or you put { start typing the macro name and it crashes there, etc)

I am adding Roadmap or Widget Macro and clicking on insert button,but it is not  being added on page and save button is getting disabled.

0 votes
Damien Tan Atlassian Team Sep 10, 2019

Hello there,


This is probably too late to help on resolving Pradeep's issue but I figured this might help anyone that came across here in the future to look for a solution. The stack trace we can see there seems to be related to fonts, where the similar issue is being described in the bug report and KB below:

it is worth trying to install the fonts as described in the solution above for CentOS/RHEL 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

195 views 6 7
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