com.google.common.util.concurrent.UncheckedExecutionException: java.lang.NullPointerException

Atlassian JIRA | Knipper Jacques | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Hello, After upgrading du jira from 6.1 to 6.2.3, I encounter the following error in my catalina.out on any event notification. I can see that this stack trace appear two times per user on my log each time he's trying to send a notification. I have no error before that one. I've tried to set a higher timeout but with no sucess. Do you have any idea of what I have to do to fix this issue please? {code:xml} 014-05-06 19:25:10,604 Sending mailitem com.atlassian.jira.mail.IssueMailQueueItem@3f0e3d8e[issue=com.atlassian.jira.issue.IssueImpl@15c36fd0[id=28426,summary=Test mail,key=BG-8654,created=2014-05-06 17:30:56.895,updated=2014-05-06 19:23:58.856,assignee=<null>,reporter=admin:1],remoteUser=admin:1,notificationType=Single_User,eventTypeId=3,templateId=3] ERROR ServiceRunner Mail Queue Service [atlassian.jira.mail.MailingListCompiler] Failed adding mail for notification recipient: [email=jean.paul@toto.com, user=jean.paul:10000] com.google.common.util.concurrent.UncheckedExecutionException: java.lang.NullPointerException at com.google.common.cache.CustomConcurrentHashMap$ComputedUncheckedException.get(CustomConcurrentHashMap.java:3305) at com.google.common.cache.CustomConcurrentHashMap$ComputingValueReference.compute(CustomConcurrentHashMap.java:3441) at com.google.common.cache.CustomConcurrentHashMap$Segment.compute(CustomConcurrentHashMap.java:2322) at com.google.common.cache.CustomConcurrentHashMap$Segment.getOrCompute(CustomConcurrentHashMap.java:2291) at com.google.common.cache.CustomConcurrentHashMap.getOrCompute(CustomConcurrentHashMap.java:3802) at com.google.common.cache.ComputingCache.get(ComputingCache.java:46) at com.google.common.cache.AbstractCache.getUnchecked(AbstractCache.java:49) at com.atlassian.jira.mail.BotoCssInliner.applyStyles(BotoCssInliner.java:73) at com.atlassian.jira.mail.builder.EmailRenderer.renderEmailBody(EmailRenderer.java:113) at com.atlassian.jira.mail.builder.EmailRenderer.render(EmailRenderer.java:165) at com.atlassian.jira.mail.builder.EmailBuilder.renderNow(EmailBuilder.java:162) at com.atlassian.jira.mail.builder.EmailBuilder.renderNowAsQueueItem(EmailBuilder.java:152) at com.atlassian.jira.mail.MailingListCompiler$1.processRecipient(MailingListCompiler.java:306) at com.atlassian.jira.mail.NotificationRecipientProcessor.process(NotificationRecipientProcessor.java:39) at com.atlassian.jira.mail.MailingListCompiler.addMailsToQueue(MailingListCompiler.java:331) at com.atlassian.jira.mail.MailingListCompiler.access$200(MailingListCompiler.java:46) at com.atlassian.jira.mail.MailingListCompiler$NotificationCompiler.addEmailsToQueue(MailingListCompiler.java:454) at com.atlassian.jira.mail.MailingListCompiler$NotificationCompiler.sendLists(MailingListCompiler.java:424) at com.atlassian.jira.mail.MailingListCompiler$NotificationCompiler.sendNoLevelsIgnoreGroup(MailingListCompiler.java:404) at com.atlassian.jira.mail.MailingListCompiler$NotificationCompiler.sendToAll(MailingListCompiler.java:399) at com.atlassian.jira.mail.MailingListCompiler.sendLists(MailingListCompiler.java:144) at com.atlassian.jira.mail.IssueMailQueueItem.send(IssueMailQueueItem.java:149) at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:66) at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:28) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Caused by: java.lang.NullPointerException at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:187) at com.atlassian.jira.mail.BotoCssInliner.createStyles(BotoCssInliner.java:91) at com.atlassian.jira.mail.BotoCssInliner.access$200(BotoCssInliner.java:24) at com.atlassian.jira.mail.BotoCssInliner$BotocssCreator.load(BotoCssInliner.java:112) at com.atlassian.jira.mail.BotoCssInliner$BotocssCreator.load(BotoCssInliner.java:107) at com.google.common.cache.CustomConcurrentHashMap$ComputingValueReference.compute(CustomConcurrentHashMap.java:3426) ... 26 more {code}

    Atlassian JIRA | 3 years ago | Knipper Jacques
    com.google.common.util.concurrent.UncheckedExecutionException: java.lang.NullPointerException
  2. 0

    Hello, After upgrading du jira from 6.1 to 6.2.3, I encounter the following error in my catalina.out on any event notification. I can see that this stack trace appear two times per user on my log each time he's trying to send a notification. I have no error before that one. I've tried to set a higher timeout but with no sucess. Do you have any idea of what I have to do to fix this issue please? {code:xml} 014-05-06 19:25:10,604 Sending mailitem com.atlassian.jira.mail.IssueMailQueueItem@3f0e3d8e[issue=com.atlassian.jira.issue.IssueImpl@15c36fd0[id=28426,summary=Test mail,key=BG-8654,created=2014-05-06 17:30:56.895,updated=2014-05-06 19:23:58.856,assignee=<null>,reporter=admin:1],remoteUser=admin:1,notificationType=Single_User,eventTypeId=3,templateId=3] ERROR ServiceRunner Mail Queue Service [atlassian.jira.mail.MailingListCompiler] Failed adding mail for notification recipient: [email=jean.paul@toto.com, user=jean.paul:10000] com.google.common.util.concurrent.UncheckedExecutionException: java.lang.NullPointerException at com.google.common.cache.CustomConcurrentHashMap$ComputedUncheckedException.get(CustomConcurrentHashMap.java:3305) at com.google.common.cache.CustomConcurrentHashMap$ComputingValueReference.compute(CustomConcurrentHashMap.java:3441) at com.google.common.cache.CustomConcurrentHashMap$Segment.compute(CustomConcurrentHashMap.java:2322) at com.google.common.cache.CustomConcurrentHashMap$Segment.getOrCompute(CustomConcurrentHashMap.java:2291) at com.google.common.cache.CustomConcurrentHashMap.getOrCompute(CustomConcurrentHashMap.java:3802) at com.google.common.cache.ComputingCache.get(ComputingCache.java:46) at com.google.common.cache.AbstractCache.getUnchecked(AbstractCache.java:49) at com.atlassian.jira.mail.BotoCssInliner.applyStyles(BotoCssInliner.java:73) at com.atlassian.jira.mail.builder.EmailRenderer.renderEmailBody(EmailRenderer.java:113) at com.atlassian.jira.mail.builder.EmailRenderer.render(EmailRenderer.java:165) at com.atlassian.jira.mail.builder.EmailBuilder.renderNow(EmailBuilder.java:162) at com.atlassian.jira.mail.builder.EmailBuilder.renderNowAsQueueItem(EmailBuilder.java:152) at com.atlassian.jira.mail.MailingListCompiler$1.processRecipient(MailingListCompiler.java:306) at com.atlassian.jira.mail.NotificationRecipientProcessor.process(NotificationRecipientProcessor.java:39) at com.atlassian.jira.mail.MailingListCompiler.addMailsToQueue(MailingListCompiler.java:331) at com.atlassian.jira.mail.MailingListCompiler.access$200(MailingListCompiler.java:46) at com.atlassian.jira.mail.MailingListCompiler$NotificationCompiler.addEmailsToQueue(MailingListCompiler.java:454) at com.atlassian.jira.mail.MailingListCompiler$NotificationCompiler.sendLists(MailingListCompiler.java:424) at com.atlassian.jira.mail.MailingListCompiler$NotificationCompiler.sendNoLevelsIgnoreGroup(MailingListCompiler.java:404) at com.atlassian.jira.mail.MailingListCompiler$NotificationCompiler.sendToAll(MailingListCompiler.java:399) at com.atlassian.jira.mail.MailingListCompiler.sendLists(MailingListCompiler.java:144) at com.atlassian.jira.mail.IssueMailQueueItem.send(IssueMailQueueItem.java:149) at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:66) at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:28) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Caused by: java.lang.NullPointerException at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:187) at com.atlassian.jira.mail.BotoCssInliner.createStyles(BotoCssInliner.java:91) at com.atlassian.jira.mail.BotoCssInliner.access$200(BotoCssInliner.java:24) at com.atlassian.jira.mail.BotoCssInliner$BotocssCreator.load(BotoCssInliner.java:112) at com.atlassian.jira.mail.BotoCssInliner$BotocssCreator.load(BotoCssInliner.java:107) at com.google.common.cache.CustomConcurrentHashMap$ComputingValueReference.compute(CustomConcurrentHashMap.java:3426) ... 26 more {code}

    Atlassian JIRA | 3 years ago | Knipper Jacques
    com.google.common.util.concurrent.UncheckedExecutionException: java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    How to register custom parsers?

    Google Groups | 2 years ago | Zhao Weinan
    com.fasterxml.jackson.databind.JsonMappingException: Instantiation of [simple type, class io.druid.data.input.impl.DelimitedDataSpec] value failed: null
  5. 0

    Issue 2481 in selenium: Problem with WebDriverWait

    Google Groups | 5 years ago | sele...@googlecode.com
    com.selenium.test.sampleTest
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. java.lang.NullPointerException

    No message provided

    at com.google.common.base.Preconditions.checkNotNull()
  2. Guava
    Preconditions.checkNotNull
    1. com.google.common.base.Preconditions.checkNotNull(Preconditions.java:187)
    1 frame
  3. com.atlassian.jira
    BotoCssInliner$BotocssCreator.load
    1. com.atlassian.jira.mail.BotoCssInliner.createStyles(BotoCssInliner.java:91)
    2. com.atlassian.jira.mail.BotoCssInliner.access$200(BotoCssInliner.java:24)
    3. com.atlassian.jira.mail.BotoCssInliner$BotocssCreator.load(BotoCssInliner.java:112)
    4. com.atlassian.jira.mail.BotoCssInliner$BotocssCreator.load(BotoCssInliner.java:107)
    4 frames
  4. Guava
    AbstractCache.getUnchecked
    1. com.google.common.cache.CustomConcurrentHashMap$ComputingValueReference.compute(CustomConcurrentHashMap.java:3426)
    2. com.google.common.cache.CustomConcurrentHashMap$Segment.compute(CustomConcurrentHashMap.java:2322)
    3. com.google.common.cache.CustomConcurrentHashMap$Segment.getOrCompute(CustomConcurrentHashMap.java:2291)
    4. com.google.common.cache.CustomConcurrentHashMap.getOrCompute(CustomConcurrentHashMap.java:3802)
    5. com.google.common.cache.ComputingCache.get(ComputingCache.java:46)
    6. com.google.common.cache.AbstractCache.getUnchecked(AbstractCache.java:49)
    6 frames
  5. com.atlassian.jira
    IssueMailQueueItem.send
    1. com.atlassian.jira.mail.BotoCssInliner.applyStyles(BotoCssInliner.java:73)
    2. com.atlassian.jira.mail.builder.EmailRenderer.renderEmailBody(EmailRenderer.java:113)
    3. com.atlassian.jira.mail.builder.EmailRenderer.render(EmailRenderer.java:165)
    4. com.atlassian.jira.mail.builder.EmailBuilder.renderNow(EmailBuilder.java:162)
    5. com.atlassian.jira.mail.builder.EmailBuilder.renderNowAsQueueItem(EmailBuilder.java:152)
    6. com.atlassian.jira.mail.MailingListCompiler$1.processRecipient(MailingListCompiler.java:306)
    7. com.atlassian.jira.mail.NotificationRecipientProcessor.process(NotificationRecipientProcessor.java:39)
    8. com.atlassian.jira.mail.MailingListCompiler.addMailsToQueue(MailingListCompiler.java:331)
    9. com.atlassian.jira.mail.MailingListCompiler.access$200(MailingListCompiler.java:46)
    10. com.atlassian.jira.mail.MailingListCompiler$NotificationCompiler.addEmailsToQueue(MailingListCompiler.java:454)
    11. com.atlassian.jira.mail.MailingListCompiler$NotificationCompiler.sendLists(MailingListCompiler.java:424)
    12. com.atlassian.jira.mail.MailingListCompiler$NotificationCompiler.sendNoLevelsIgnoreGroup(MailingListCompiler.java:404)
    13. com.atlassian.jira.mail.MailingListCompiler$NotificationCompiler.sendToAll(MailingListCompiler.java:399)
    14. com.atlassian.jira.mail.MailingListCompiler.sendLists(MailingListCompiler.java:144)
    15. com.atlassian.jira.mail.IssueMailQueueItem.send(IssueMailQueueItem.java:149)
    15 frames
  6. com.atlassian.mail
    MailQueueImpl.sendBuffer
    1. com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:66)
    1 frame
  7. com.atlassian.jira
    ServiceRunner.execute
    1. com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:28)
    2. com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61)
    3. com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48)
    3 frames
  8. quartz
    SimpleThreadPool$WorkerThread.run
    1. org.quartz.core.JobRunShell.run(JobRunShell.java:195)
    2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    2 frames