Unable to send email notifications due to com.atlassian.cache.CacheException: java.lang.NullPointerException: Null keys are not supported

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.

Problem

At random occurrences, customer notifications may fail to be sent with the following error appearing in the atlassian-jira.log:

2017-02-01 19:28:23,038 Caesium-1-2 ERROR Anonymous user     [notifications.internal.dispatch.NotificationBatchDispatcher] Unable to send email notifications.
com.atlassian.cache.CacheException: java.lang.NullPointerException: Null keys are not supported
	at com.atlassian.cache.memory.DelegatingCache.rejectNullKey(DelegatingCache.java:435)
	at com.atlassian.cache.memory.DelegatingCache.get(DelegatingCache.java:166)
	at com.atlassian.jira.cache.CacheAdapter$2.get(CacheAdapter.java:95)
	at com.atlassian.jira.config.feature.DefaultFeatureManager.getUserEnabledFeatures(DefaultFeatureManager.java:278)
	at com.atlassian.jira.config.feature.DefaultFeatureManager.fetchDarkFeatures(DefaultFeatureManager.java:185)
	at com.atlassian.jira.config.feature.DefaultFeatureManager.lambda$getDarkFeatures$0(DefaultFeatureManager.java:176)
	at com.atlassian.vcache.internal.core.DefaultRequestCache.lambda$get$15(DefaultRequestCache.java:43)
	at java.util.HashMap.computeIfAbsent(HashMap.java:1126)
	at com.atlassian.vcache.internal.core.DefaultRequestCache.get(DefaultRequestCache.java:43)
	at com.atlassian.jira.config.feature.DefaultFeatureManager.getDarkFeatures(DefaultFeatureManager.java:176)
	at com.atlassian.jira.config.feature.DefaultFeatureManager.isEnabled(DefaultFeatureManager.java:109)
	at com.atlassian.jira.config.feature.DefaultFeatureManager.isEnabled(DefaultFeatureManager.java:116)
	at sun.reflect.GeneratedMethodAccessor634.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26)
	at com.sun.proxy.$Proxy532.isEnabled(Unknown Source)

Diagnosis

The customer is not using the latest version of the 3rd party add-on Insight - Asset Management for JIRA.

Cause

The root cause is unknown and is still being investigated.

Resolution

Upgrade this add-on to the latest version. If that still doesn't resolve the issue, raise an issue to Atlassian Support.

 

Last modified on Mar 8, 2017

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.