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

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.

  • 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
    via by Jaime Silveira [Atlassian],
  • 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
    via by Jaime Silveira [Atlassian],
    • 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(LicenseAccessor.java:271) at com.atlassian.confluence.extra.calendar3.license.LicenseAccessor.isOnDemandLicense(LicenseAccessor.java:220)
    No Bugmate found.