java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • h6. Steps to reproduce: # Create a page with title "Page title {} bla" # Create a other page and use include page macro and include above page h6. Stack trace {code} 2014-11-26 14:45:18,206 ERROR [http-8080-2] [ContainerBase.[Catalina].[localhost].[/confluence]] log Unhandled exception occurred whilst decorating page – referer: http://localhost:8080/confluence/pages/createpage.action?spaceKey=SMOKE&fromPageId=6946827 | url: /confluence/plugins/servlet/confluence/placeholder/macro | userName: admin java.lang.NullPointerException at com.atlassian.confluence.renderer.UserMacroLibrary.getMacro(UserMacroLibrary.java:129) at com.atlassian.confluence.renderer.UserMacroLibrary.hasMacro(UserMacroLibrary.java:124) at com.atlassian.confluence.macro.browser.UserMacroMetadataProvider.getByMacroName(UserMacroMetadataProvider.java:55) at com.atlassian.confluence.macro.browser.UserMacroMetadataProvider.getByMacroNameAndId(UserMacroMetadataProvider.java:68) at com.atlassian.confluence.macro.browser.DefaultMacroMetadataManager.getMacroMetadataByNameAndId(DefaultMacroMetadataManager.java:56) at com.atlassian.confluence.macro.browser.DefaultMacroMetadataManager.getMacroMetadataByName(DefaultMacroMetadataManager.java:48) at sun.reflect.GeneratedMethodAccessor1122.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) at com.sun.proxy.$Proxy369.getMacroMetadataByName(Unknown Source) at sun.reflect.GeneratedMethodAccessor1122.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) at com.sun.proxy.$Proxy369.getMacroMetadataByName(Unknown Source) at com.atlassian.confluence.tinymceplugin.placeholder.MacroPlaceholderServlet.doGet(MacroPlaceholderServlet.java:89) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:723) at com.atlassian.plugin.servlet.DelegatingPluginServlet.service(DelegatingPluginServlet.java:42) at javax.servlet.http.HttpServlet.service(HttpServlet.java:723) at com.atlassian.plugin.servlet.ServletModuleContainerServlet.service(ServletModuleContainerServlet.java:52) at javax.servlet.http.HttpServlet.service(HttpServlet.java:723) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.confluence.web.filter.DebugFilter.doFilter(DebugFilter.java:50) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:70) at com.atlassian.confluence.extra.webdav.servlet.filter.ReverseProxyCopyAndMoveDestinationFix.doFilter(ReverseProxyCopyAndMoveDestinationFix.java:59) {code}
    via by Vu Vo [Atlassian],
  • h6. Steps to reproduce: # Create a page with title "Page title {} bla" # Create a other page and use include page macro and include above page h6. Stack trace {code} 2014-11-26 14:45:18,206 ERROR [http-8080-2] [ContainerBase.[Catalina].[localhost].[/confluence]] log Unhandled exception occurred whilst decorating page – referer: http://localhost:8080/confluence/pages/createpage.action?spaceKey=SMOKE&fromPageId=6946827 | url: /confluence/plugins/servlet/confluence/placeholder/macro | userName: admin java.lang.NullPointerException at com.atlassian.confluence.renderer.UserMacroLibrary.getMacro(UserMacroLibrary.java:129) at com.atlassian.confluence.renderer.UserMacroLibrary.hasMacro(UserMacroLibrary.java:124) at com.atlassian.confluence.macro.browser.UserMacroMetadataProvider.getByMacroName(UserMacroMetadataProvider.java:55) at com.atlassian.confluence.macro.browser.UserMacroMetadataProvider.getByMacroNameAndId(UserMacroMetadataProvider.java:68) at com.atlassian.confluence.macro.browser.DefaultMacroMetadataManager.getMacroMetadataByNameAndId(DefaultMacroMetadataManager.java:56) at com.atlassian.confluence.macro.browser.DefaultMacroMetadataManager.getMacroMetadataByName(DefaultMacroMetadataManager.java:48) at sun.reflect.GeneratedMethodAccessor1122.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) at com.sun.proxy.$Proxy369.getMacroMetadataByName(Unknown Source) at sun.reflect.GeneratedMethodAccessor1122.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) at com.sun.proxy.$Proxy369.getMacroMetadataByName(Unknown Source) at com.atlassian.confluence.tinymceplugin.placeholder.MacroPlaceholderServlet.doGet(MacroPlaceholderServlet.java:89) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:723) at com.atlassian.plugin.servlet.DelegatingPluginServlet.service(DelegatingPluginServlet.java:42) at javax.servlet.http.HttpServlet.service(HttpServlet.java:723) at com.atlassian.plugin.servlet.ServletModuleContainerServlet.service(ServletModuleContainerServlet.java:52) at javax.servlet.http.HttpServlet.service(HttpServlet.java:723) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.confluence.web.filter.DebugFilter.doFilter(DebugFilter.java:50) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:70) at com.atlassian.confluence.extra.webdav.servlet.filter.ReverseProxyCopyAndMoveDestinationFix.doFilter(ReverseProxyCopyAndMoveDestinationFix.java:59) {code}
    via by Vu Vo [Atlassian],
    • java.lang.NullPointerException at com.atlassian.confluence.renderer.UserMacroLibrary.getMacro(UserMacroLibrary.java:129) at com.atlassian.confluence.renderer.UserMacroLibrary.hasMacro(UserMacroLibrary.java:124) at com.atlassian.confluence.macro.browser.UserMacroMetadataProvider.getByMacroName(UserMacroMetadataProvider.java:55) at com.atlassian.confluence.macro.browser.UserMacroMetadataProvider.getByMacroNameAndId(UserMacroMetadataProvider.java:68) at com.atlassian.confluence.macro.browser.DefaultMacroMetadataManager.getMacroMetadataByNameAndId(DefaultMacroMetadataManager.java:56) at com.atlassian.confluence.macro.browser.DefaultMacroMetadataManager.getMacroMetadataByName(DefaultMacroMetadataManager.java:48) at sun.reflect.GeneratedMethodAccessor1122.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) at com.sun.proxy.$Proxy369.getMacroMetadataByName(Unknown Source) at sun.reflect.GeneratedMethodAccessor1122.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) at com.sun.proxy.$Proxy369.getMacroMetadataByName(Unknown Source) at com.atlassian.confluence.tinymceplugin.placeholder.MacroPlaceholderServlet.doGet(MacroPlaceholderServlet.java:89) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:723) at com.atlassian.plugin.servlet.DelegatingPluginServlet.service(DelegatingPluginServlet.java:42) at javax.servlet.http.HttpServlet.service(HttpServlet.java:723) at com.atlassian.plugin.servlet.ServletModuleContainerServlet.service(ServletModuleContainerServlet.java:52) at javax.servlet.http.HttpServlet.service(HttpServlet.java:723) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.confluence.web.filter.DebugFilter.doFilter(DebugFilter.java:50) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:70) at com.atlassian.confluence.extra.webdav.servlet.filter.ReverseProxyCopyAndMoveDestinationFix.doFilter(ReverseProxyCopyAndMoveDestinationFix.java:59)
    No Bugmate found.