com.atlassian.license.LicenseException: License string or hash are null. @40000000540712b137b1ca24 at com.atlassian.license.LicensePair.<init>(LicensePair.java:73)

Atlassian JIRA | Jaime Silveira [Atlassian] | 2 years ago
  1. 0

    When a user creates an instance that contains Confluence in OnDemand (without choosing the ‘Team Calendar’ add-on), the instance is created and Team Calendar is enabled by defauld. A license error happens, since the add-on is enabled and there is not license. The image below shows the error: !teams_calendar_error.png! It reads: Invalid license specified When going to the management of add-ons, the add on is enabled (the button ‘disable’ is there), but the user also has the option to start a free trial, as shown below: !team_calendars_management.png! The following error appears in the logs: {noformat} @40000000540712b137b1ca24 com.atlassian.license.LicenseException: License string or hash are null. @40000000540712b137b1ca24 at com.atlassian.license.LicensePair.<init>(LicensePair.java:73) @40000000540712b137b1ed4c at com.atlassian.confluence.extra.calendar3.license.LicenseAccessor.getProductLicenseString(LicenseAccessor.java:271) @40000000540712b137b1ed4c at com.atlassian.confluence.extra.calendar3.license.LicenseAccessor.isOnDemandLicense(LicenseAccessor.java:220) @40000000540712b137b1f134 at com.atlassian.confluence.extra.calendar3.condition.OnDemandWebItemCondition.shouldDisplay(OnDemandWebItemCondition.java:19) @40000000540712b137b1f904 at com.atlassian.confluence.extra.calendar3.condition.CalendarCondition.shouldDisplay(CalendarCondition.java:21) @40000000540712b137b1fcec at com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition.shouldDisplay(BaseConfluenceCondition.java:38) @40000000540712b137b20c8c at com.atlassian.plugin.web.conditions.AndCompositeCondition.shouldDisplay(AndCompositeCondition.java:14) @40000000540712b137b20c8c at com.atlassian.plugin.web.conditions.AndCompositeCondition.shouldDisplay(AndCompositeCondition.java:14) @40000000540712b137b21074 at com.atlassian.plugin.web.DefaultWebInterfaceManager.filterFragmentsByCondition(DefaultWebInterfaceManager.java:172) @40000000540712b137b21844 at com.atlassian.plugin.web.DefaultWebInterfaceManager.getDisplayableItems(DefaultWebInterfaceManager.java:103) @40000000540712b137b21c2c at com.atlassian.confluence.plugin.descriptor.web.ConfluenceWebInterfaceManager.getDisplayableItems(ConfluenceWebInterfaceManager.java:88) @40000000540712b137b21c2c at sun.reflect.GeneratedMethodAccessor2934.invoke(Unknown Source) @40000000540712b137b223fc at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @40000000540712b137b223fc at java.lang.reflect.Method.invoke(Method.java:597) … {noformat} *Steps to reproduce* * Create a Confluence instance in OnDemand without Team Calendar * Access it and ‘Team Calendar’ will be there * Click ‘Calendar’ and the error occurs

    Atlassian JIRA | 2 years ago | Jaime Silveira [Atlassian]
    com.atlassian.license.LicenseException: License string or hash are null. @40000000540712b137b1ca24 at com.atlassian.license.LicensePair.<init>(LicensePair.java:73)
  2. 0

    When a user creates an instance that contains Confluence in OnDemand (without choosing the ‘Team Calendar’ add-on), the instance is created and Team Calendar is enabled by defauld. A license error happens, since the add-on is enabled and there is not license. The image below shows the error: !teams_calendar_error.png! It reads: Invalid license specified When going to the management of add-ons, the add on is enabled (the button ‘disable’ is there), but the user also has the option to start a free trial, as shown below: !team_calendars_management.png! The following error appears in the logs: {noformat} @40000000540712b137b1ca24 com.atlassian.license.LicenseException: License string or hash are null. @40000000540712b137b1ca24 at com.atlassian.license.LicensePair.<init>(LicensePair.java:73) @40000000540712b137b1ed4c at com.atlassian.confluence.extra.calendar3.license.LicenseAccessor.getProductLicenseString(LicenseAccessor.java:271) @40000000540712b137b1ed4c at com.atlassian.confluence.extra.calendar3.license.LicenseAccessor.isOnDemandLicense(LicenseAccessor.java:220) @40000000540712b137b1f134 at com.atlassian.confluence.extra.calendar3.condition.OnDemandWebItemCondition.shouldDisplay(OnDemandWebItemCondition.java:19) @40000000540712b137b1f904 at com.atlassian.confluence.extra.calendar3.condition.CalendarCondition.shouldDisplay(CalendarCondition.java:21) @40000000540712b137b1fcec at com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition.shouldDisplay(BaseConfluenceCondition.java:38) @40000000540712b137b20c8c at com.atlassian.plugin.web.conditions.AndCompositeCondition.shouldDisplay(AndCompositeCondition.java:14) @40000000540712b137b20c8c at com.atlassian.plugin.web.conditions.AndCompositeCondition.shouldDisplay(AndCompositeCondition.java:14) @40000000540712b137b21074 at com.atlassian.plugin.web.DefaultWebInterfaceManager.filterFragmentsByCondition(DefaultWebInterfaceManager.java:172) @40000000540712b137b21844 at com.atlassian.plugin.web.DefaultWebInterfaceManager.getDisplayableItems(DefaultWebInterfaceManager.java:103) @40000000540712b137b21c2c at com.atlassian.confluence.plugin.descriptor.web.ConfluenceWebInterfaceManager.getDisplayableItems(ConfluenceWebInterfaceManager.java:88) @40000000540712b137b21c2c at sun.reflect.GeneratedMethodAccessor2934.invoke(Unknown Source) @40000000540712b137b223fc at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @40000000540712b137b223fc at java.lang.reflect.Method.invoke(Method.java:597) … {noformat} *Steps to reproduce* * Create a Confluence instance in OnDemand without Team Calendar * Access it and ‘Team Calendar’ will be there * Click ‘Calendar’ and the error occurs

    Atlassian JIRA | 2 years ago | Jaime Silveira [Atlassian]
    com.atlassian.license.LicenseException: License string or hash are null. @40000000540712b137b1ca24 at com.atlassian.license.LicensePair.<init>(LicensePair.java:73)
  3. 0

    In some OnDemand instances which appear to have subscribed (and have current subscription) Team Calendar, the following error message clutters the Confluence log: {code} 2014-09-06 05:28:54.202563500 2014-09-06 05:28:54,199 ERROR [TP-Processor6] [extra.calendar3.license.LicenseAccessor] isOnDemandLicense There seems to be a problem with the Confluence license... 2014-09-06 05:28:54.202565500 -- url: /wiki/display/intranet/My+Page | userName: sysadmin | referer: https://mydomain.atlassian.net/wiki/display/TEST/Home 2014-09-06 05:28:54.202566500 com.atlassian.license.LicenseException: License string or hash are null. 2014-09-06 05:28:54.202566500 at com.atlassian.license.LicensePair.<init>(LicensePair.java:73) 2014-09-06 05:28:54.202577500 at com.atlassian.confluence.extra.calendar3.license.LicenseAccessor.getProductLicenseString(LicenseAccessor.java:271) 2014-09-06 05:28:54.202578500 at com.atlassian.confluence.extra.calendar3.license.LicenseAccessor.isOnDemandLicense(LicenseAccessor.java:220) 2014-09-06 05:28:54.202578500 at com.atlassian.confluence.extra.calendar3.condition.OnDemandWebItemCondition.shouldDisplay(OnDemandWebItemCondition.java:19) 2014-09-06 05:28:54.202580500 at com.atlassian.confluence.extra.calendar3.condition.CalendarCondition.shouldDisplay(CalendarCondition.java:21) 2014-09-06 05:28:54.202581500 at com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition.shouldDisplay(BaseConfluenceCondition.java:38) 2014-09-06 05:28:54.202584500 at com.atlassian.plugin.web.conditions.AndCompositeCondition.shouldDisplay(AndCompositeCondition.java:14) 2014-09-06 05:28:54.202585500 at com.atlassian.plugin.web.conditions.AndCompositeCondition.shouldDisplay(AndCompositeCondition.java:14) 2014-09-06 05:28:54.202585500 at com.atlassian.plugin.web.DefaultWebInterfaceManager.filterFragmentsByCondition(DefaultWebInterfaceManager.java:172) 2014-09-06 05:28:54.202587500 at com.atlassian.plugin.web.DefaultWebInterfaceManager.getDisplayableItems(DefaultWebInterfaceManager.java:103) 2014-09-06 05:28:54.202588500 at com.atlassian.confluence.plugin.descriptor.web.ConfluenceWebInterfaceManager.getDisplayableItems(ConfluenceWebInterfaceManager.java:88) 2014-09-06 05:28:54.202588500 at sun.reflect.GeneratedMethodAccessor6383.invoke(Unknown Source) 2014-09-06 05:28:54.202590500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) {code} This appears in almost every request to Confluence pages.

    Atlassian JIRA | 2 years ago | Azwandi Aris [Atlassian]
    com.atlassian.license.LicenseException: License string or hash are null. 2014-09-06 05:28:54.202566500 at com.atlassian.license.LicensePair.<init>(LicensePair.java:73) 2014-09-06 05:28:54.202577500 at com.atlassian.confluence.extra.calendar3.license.LicenseAccessor.getProductLicenseString(LicenseAccessor.java:271) 2014-09-06 05:28:54.202578500 at com.atlassian.confluence.extra.calendar3.license.LicenseAccessor.isOnDemandLicense(LicenseAccessor.java:220) 2014-09-06 05:28:54.202578500 at com.atlassian.confluence.extra.calendar3.condition.OnDemandWebItemCondition.shouldDisplay(OnDemandWebItemCondition.java:19) 2014-09-06 05:28:54.202580500 at com.atlassian.confluence.extra.calendar3.condition.CalendarCondition.shouldDisplay(CalendarCondition.java:21) 2014-09-06 05:28:54.202581500 at com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition.shouldDisplay(BaseConfluenceCondition.java:38) 2014-09-06 05:28:54.202584500 at com.atlassian.plugin.web.conditions.AndCompositeCondition.shouldDisplay(AndCompositeCondition.java:14) 2014-09-06 05:28:54.202585500 at com.atlassian.plugin.web.conditions.AndCompositeCondition.shouldDisplay(AndCompositeCondition.java:14) 2014-09-06 05:28:54.202585500 at com.atlassian.plugin.web.DefaultWebInterfaceManager.filterFragmentsByCondition(DefaultWebInterfaceManager.java:172) 2014-09-06 05:28:54.202587500 at com.atlassian.plugin.web.DefaultWebInterfaceManager.getDisplayableItems(DefaultWebInterfaceManager.java:103)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    In some OnDemand instances which appear to have subscribed (and have current subscription) Team Calendar, the following error message clutters the Confluence log: {code} 2014-09-06 05:28:54.202563500 2014-09-06 05:28:54,199 ERROR [TP-Processor6] [extra.calendar3.license.LicenseAccessor] isOnDemandLicense There seems to be a problem with the Confluence license... 2014-09-06 05:28:54.202565500 -- url: /wiki/display/intranet/My+Page | userName: sysadmin | referer: https://mydomain.atlassian.net/wiki/display/TEST/Home 2014-09-06 05:28:54.202566500 com.atlassian.license.LicenseException: License string or hash are null. 2014-09-06 05:28:54.202566500 at com.atlassian.license.LicensePair.<init>(LicensePair.java:73) 2014-09-06 05:28:54.202577500 at com.atlassian.confluence.extra.calendar3.license.LicenseAccessor.getProductLicenseString(LicenseAccessor.java:271) 2014-09-06 05:28:54.202578500 at com.atlassian.confluence.extra.calendar3.license.LicenseAccessor.isOnDemandLicense(LicenseAccessor.java:220) 2014-09-06 05:28:54.202578500 at com.atlassian.confluence.extra.calendar3.condition.OnDemandWebItemCondition.shouldDisplay(OnDemandWebItemCondition.java:19) 2014-09-06 05:28:54.202580500 at com.atlassian.confluence.extra.calendar3.condition.CalendarCondition.shouldDisplay(CalendarCondition.java:21) 2014-09-06 05:28:54.202581500 at com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition.shouldDisplay(BaseConfluenceCondition.java:38) 2014-09-06 05:28:54.202584500 at com.atlassian.plugin.web.conditions.AndCompositeCondition.shouldDisplay(AndCompositeCondition.java:14) 2014-09-06 05:28:54.202585500 at com.atlassian.plugin.web.conditions.AndCompositeCondition.shouldDisplay(AndCompositeCondition.java:14) 2014-09-06 05:28:54.202585500 at com.atlassian.plugin.web.DefaultWebInterfaceManager.filterFragmentsByCondition(DefaultWebInterfaceManager.java:172) 2014-09-06 05:28:54.202587500 at com.atlassian.plugin.web.DefaultWebInterfaceManager.getDisplayableItems(DefaultWebInterfaceManager.java:103) 2014-09-06 05:28:54.202588500 at com.atlassian.confluence.plugin.descriptor.web.ConfluenceWebInterfaceManager.getDisplayableItems(ConfluenceWebInterfaceManager.java:88) 2014-09-06 05:28:54.202588500 at sun.reflect.GeneratedMethodAccessor6383.invoke(Unknown Source) 2014-09-06 05:28:54.202590500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) {code} This appears in almost every request to Confluence pages.

    Atlassian JIRA | 2 years ago | Azwandi Mohd Aris
    com.atlassian.license.LicenseException: License string or hash are null. 2014-09-06 05:28:54.202566500 at com.atlassian.license.LicensePair.<init>(LicensePair.java:73) 2014-09-06 05:28:54.202577500 at com.atlassian.confluence.extra.calendar3.license.LicenseAccessor.getProductLicenseString(LicenseAccessor.java:271) 2014-09-06 05:28:54.202578500 at com.atlassian.confluence.extra.calendar3.license.LicenseAccessor.isOnDemandLicense(LicenseAccessor.java:220) 2014-09-06 05:28:54.202578500 at com.atlassian.confluence.extra.calendar3.condition.OnDemandWebItemCondition.shouldDisplay(OnDemandWebItemCondition.java:19) 2014-09-06 05:28:54.202580500 at com.atlassian.confluence.extra.calendar3.condition.CalendarCondition.shouldDisplay(CalendarCondition.java:21) 2014-09-06 05:28:54.202581500 at com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition.shouldDisplay(BaseConfluenceCondition.java:38) 2014-09-06 05:28:54.202584500 at com.atlassian.plugin.web.conditions.AndCompositeCondition.shouldDisplay(AndCompositeCondition.java:14) 2014-09-06 05:28:54.202585500 at com.atlassian.plugin.web.conditions.AndCompositeCondition.shouldDisplay(AndCompositeCondition.java:14) 2014-09-06 05:28:54.202585500 at com.atlassian.plugin.web.DefaultWebInterfaceManager.filterFragmentsByCondition(DefaultWebInterfaceManager.java:172) 2014-09-06 05:28:54.202587500 at com.atlassian.plugin.web.DefaultWebInterfaceManager.getDisplayableItems(DefaultWebInterfaceManager.java:103)
  6. 0

    When the first page of the Bamboo Setup Wizard appears, Bamboo writes the following message to its log: {noformat} 2007-08-15 10:39:25,756 ERROR [SocketListener0-1] [LicenseManager] Could not build a license pair com.atlassian.license.LicenseException: License string or hash are null. at com.atlassian.license.LicensePair.<init>(LicensePair.java:32) at com.atlassian.license.LicenseManager.getLicense(LicenseManager.java:95) at com.atlassian.bamboo.license.BambooLicenseManager.getLicense(BambooLicenseManager.java:29) at com.atlassian.bamboo.license.BambooLicenseManager.isMissing(BambooLicenseManager.java:103) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:616) at freemarker.ext.beans.BeanModel.invokeThroughDescriptor(BeanModel.java:271) at freemarker.ext.beans.BeanModel.get(BeanModel.java:183) at freemarker.core.Dot._getAsTemplateModel(Dot.java:76) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.Expression.isTrue(Expression.java:138) at freemarker.core.IfBlock.accept(IfBlock.java:80) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Environment.include(Environment.java:1375) at freemarker.core.Include.accept(Include.java:155) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Environment.process(Environment.java:176) at freemarker.template.Template.process(Template.java:232) at com.atlassian.bamboo.ww2.FreemarkerRequestDispatcherPageFilter.applyDecorator(FreemarkerRequestDispatcherPageFilter.java:66) at com.opensymphony.webwork.sitemesh.TemplatePageFilter.applyDecorator(TemplatePageFilter.java:86) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:59) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823) at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823) at com.atlassian.bamboo.filter.AccessLogFilter.doFilter(AccessLogFilter.java:86) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823) at com.atlassian.bamboo.filter.BambooAcegiProxyFilter.doFilter(BambooAcegiProxyFilter.java:21) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823) at com.atlassian.bamboo.filter.LicenseFilter.doFilter(LicenseFilter.java:72) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823) at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:72) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:83) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:91) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823) at com.atlassian.spring.filter.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:26) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823) at com.atlassian.bamboo.filter.CompressingFilter.doFilter(CompressingFilter.java:69) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823) at com.atlassian.bamboo.filter.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:26) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823) at com.atlassian.bamboo.filter.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:26) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823) at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:75) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567) at org.mortbay.http.HttpContext.handle(HttpContext.java:1565) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:635) at org.mortbay.http.HttpContext.handle(HttpContext.java:1517) at org.mortbay.jetty.plus.PlusWebAppContext.handle(PlusWebAppContext.java:158) at org.mortbay.http.HttpServer.service(HttpServer.java:954) at org.mortbay.http.HttpConnection.service(HttpConnection.java:814) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) {noformat} This message should be disregarded. Bamboo is behaving as intended.

    Atlassian JIRA | 9 years ago | Adrian Hempel [Atlassian]
    com.atlassian.license.LicenseException: License string or hash are null.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.atlassian.license.LicenseException

      License string or hash are null. @40000000540712b137b1ca24 at com.atlassian.license.LicensePair.<init>(LicensePair.java:73)

      at com.atlassian.confluence.extra.calendar3.license.LicenseAccessor.getProductLicenseString()
    2. com.atlassian.confluence
      LicenseAccessor.isOnDemandLicense
      1. com.atlassian.confluence.extra.calendar3.license.LicenseAccessor.getProductLicenseString(LicenseAccessor.java:271)
      2. com.atlassian.confluence.extra.calendar3.license.LicenseAccessor.isOnDemandLicense(LicenseAccessor.java:220)
      2 frames