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: https://confluence.cybage.com/pages/createpage.action?spaceKey=ALM&fromPageId=11087736 | url: /plugins/servlet/confluence/placeholder/macro | traceId: 88eadb7fdd7bb675 | userName: ratishm
java.lang.ArrayIndexOutOfBoundsException: 0
at sun.font.CompositeStrike.getStrikeForSlot(CompositeStrike.java:75)
at sun.font.CompositeStrike.getFontMetrics(CompositeStrike.java:93)
at sun.font.FontDesignMetrics.initMatrixAndMetrics(FontDesignMetrics.java:359)
at sun.font.FontDesignMetrics.<init>(FontDesignMetrics.java:350)
at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:302)
at sun.java2d.SunGraphics2D.getFontMetrics(SunGraphics2D.java:863)
at com.atlassian.confluence.tinymceplugin.placeholder.DefaultPlaceholderImageFactory.getFontMetrics(DefaultPlaceholderImageFactory.java:210)
at com.atlassian.confluence.tinymceplugin.placeholder.DefaultPlaceholderImageFactory.getPlaceholderImage(DefaultPlaceholderImageFactory.java:55)
at com.atlassian.confluence.tinymceplugin.placeholder.DefaultPlaceholderImageFactory.getPlaceholderImage(DefaultPlaceholderImageFactory.java:49)
at com.atlassian.confluence.tinymceplugin.placeholder.MacroPlaceholderServlet.getPlaceholderImage(MacroPlaceholderServlet.java:117)
at com.atlassian.confluence.tinymceplugin.placeholder.MacroPlaceholderServlet.doGet(MacroPlaceholderServlet.java:93)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at com.atlassian.plugin.servlet.DelegatingPluginServlet.service(DelegatingPluginServlet.java:37)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at com.atlassian.plugin.servlet.ServletModuleContainerServlet.service(ServletModuleContainerServlet.java:45)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
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
--------------------------
URL: http://confluence.cybage.com/500page.jsp
Scheme: http
Server: confluence.cybage.com
Port: 80
URI: /500page.jsp
Context Path:
Servlet Path: /500page.jsp
Path Info: null
Query String: definition=e2NoaWxkcmVuOnBhZ2U9QUxNX0tub3dsZWRnZWJhc2V8Zmlyc3Q9MnxkZXB0aD0yfQ&locale=en_GB&version=2
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
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)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.