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.

  • Hi Paul, looks like we have the same npe in the earlier 6.2.x compat releases, can you branch off 0.9.10 and address this in 0.9.11 ? {quote} 2015-02-17 14:49:28,243 Thread-50 DEBUG [emq.queue.job.ProcessRetryQueueThread] =============== EXECUTE REPROCESS RETRY 2015-02-17 14:49:42,242 Thread-51 DEBUG [jira.emq.queue.OutgoingQueueManager] Starting to Flush Queues 2015-02-17 14:49:42,250 Thread-51 DEBUG [jira.emq.queue.OutgoingQueueManager] Processing recipient amahei with 1 links 2015-02-17 14:49:42,258 Thread-51 DEBUG [jira.emq.queue.OutgoingQueueManager] Getting smtp server for queueTC EMQ 2015-02-17 14:49:42,269 Thread-51 DEBUG [jira.emq.queue.SmtpMailServer] Starting to open connection 2015-02-17 14:49:42,270 Thread-51 DEBUG [jira.emq.queue.SmtpMailServer] Configuring socks 2015-02-17 14:49:42,273 Thread-51 DEBUG [jira.emq.queue.SmtpMailServer] Connection opened in 3 ms 2015-02-17 14:49:42,296 Thread-51 DEBUG [jira.emq.queue.IssueDetailManager] End - processing time=12ms 2015-02-17 14:49:42,298 Thread-51 ERROR [jira.emq.queue.OutgoingQueueManager] java.lang.NullPointerException at com.thepluginpeople.jira.emq.dto.IssueEventEmailContent.createStaticUrl(IssueEventEmailContent.java:165) at com.thepluginpeople.jira.emq.dto.IssueEventEmailContent.addSubjectHeader(IssueEventEmailContent.java:155) at com.thepluginpeople.jira.emq.dto.IssueEventEmailContent.addBodyPiece(IssueEventEmailContent.java:122) at com.thepluginpeople.jira.emq.dto.IssueEventEmailContent.<init>(IssueEventEmailContent.java:115) at com.thepluginpeople.jira.emq.queue.OutgoingQueueProcessor.createIssueEventEmailContent(OutgoingQueueProcessor.java:418) at com.thepluginpeople.jira.emq.queue.OutgoingQueueProcessor.buildSendProcessAndLogEmail(OutgoingQueueProcessor.java:354) at com.thepluginpeople.jira.emq.queue.OutgoingQueueProcessor.processItems(OutgoingQueueProcessor.java:277) at com.thepluginpeople.jira.emq.queue.OutgoingQueueManager.flushAllQueues(OutgoingQueueManager.java:73) at com.thepluginpeople.jira.emq.action.mailconfiguration.ManageMailQueuesAction$1.run(ManageMailQueuesAction.java:90) at java.lang.Thread.run(Unknown Source) 2015-02-17 14:49:42,307 Thread-51 DEBUG [jira.emq.queue.OutgoingQueueManager] Combining issue details into email body of type Html 2015-02-17 14:49:42,398 Thread-51 INFO [jira.emq.queue.IssueAttachmentManager] creating multipart for attachments 2015-02-17 14:49:42,401 Thread-51 INFO [jira.emq.queue.IssueAttachmentManager] Added 0 attachment body parts 2015-02-17 14:49:42,403 Thread-51 DEBUG [jira.emq.queue.DeliveryQueuedItem] Sending HTML email #1 to john.doe@company.com containing 0 2015-02-17 14:49:42,406 Thread-51 ERROR [jira.emq.queue.OutgoingQueueManager] java.lang.NullPointerException at com.thepluginpeople.jira.emq.dto.IssueEventEmailContent.getIssueDetailRecipientLinkId(IssueEventEmailContent.java:507) at com.thepluginpeople.jira.emq.queue.DeliveryQueuedItem.<init>(DeliveryQueuedItem.java:102) at com.thepluginpeople.jira.emq.queue.DeliveryManager.createDeliveryItem(DeliveryManager.java:46) at com.thepluginpeople.jira.emq.queue.DeliveryManager.sendEmail(DeliveryManager.java:40) at com.thepluginpeople.jira.emq.queue.OutgoingQueueProcessor.sendEmail(OutgoingQueueProcessor.java:615) at com.thepluginpeople.jira.emq.queue.OutgoingQueueProcessor.buildEmailFromIeec(OutgoingQueueProcessor.java:441) at com.thepluginpeople.jira.emq.queue.OutgoingQueueProcessor.buildSendProcessAndLogEmail(OutgoingQueueProcessor.java:399) at com.thepluginpeople.jira.emq.queue.OutgoingQueueProcessor.processItems(OutgoingQueueProcessor.java:277) at com.thepluginpeople.jira.emq.queue.OutgoingQueueManager.flushAllQueues(OutgoingQueueManager.java:73) at com.thepluginpeople.jira.emq.action.mailconfiguration.ManageMailQueuesAction$1.run(ManageMailQueuesAction.java:90) at java.lang.Thread.run(Unknown Source) {quote}
    via by Andy Brook,
  • Hi Paul, looks like we have the same npe in the earlier 6.2.x compat releases, can you branch off 0.9.10 and address this in 0.9.11 ? {quote} 2015-02-17 14:49:28,243 Thread-50 DEBUG [emq.queue.job.ProcessRetryQueueThread] =============== EXECUTE REPROCESS RETRY 2015-02-17 14:49:42,242 Thread-51 DEBUG [jira.emq.queue.OutgoingQueueManager] Starting to Flush Queues 2015-02-17 14:49:42,250 Thread-51 DEBUG [jira.emq.queue.OutgoingQueueManager] Processing recipient amahei with 1 links 2015-02-17 14:49:42,258 Thread-51 DEBUG [jira.emq.queue.OutgoingQueueManager] Getting smtp server for queueTC EMQ 2015-02-17 14:49:42,269 Thread-51 DEBUG [jira.emq.queue.SmtpMailServer] Starting to open connection 2015-02-17 14:49:42,270 Thread-51 DEBUG [jira.emq.queue.SmtpMailServer] Configuring socks 2015-02-17 14:49:42,273 Thread-51 DEBUG [jira.emq.queue.SmtpMailServer] Connection opened in 3 ms 2015-02-17 14:49:42,296 Thread-51 DEBUG [jira.emq.queue.IssueDetailManager] End - processing time=12ms 2015-02-17 14:49:42,298 Thread-51 ERROR [jira.emq.queue.OutgoingQueueManager] java.lang.NullPointerException at com.thepluginpeople.jira.emq.dto.IssueEventEmailContent.createStaticUrl(IssueEventEmailContent.java:165) at com.thepluginpeople.jira.emq.dto.IssueEventEmailContent.addSubjectHeader(IssueEventEmailContent.java:155) at com.thepluginpeople.jira.emq.dto.IssueEventEmailContent.addBodyPiece(IssueEventEmailContent.java:122) at com.thepluginpeople.jira.emq.dto.IssueEventEmailContent.<init>(IssueEventEmailContent.java:115) at com.thepluginpeople.jira.emq.queue.OutgoingQueueProcessor.createIssueEventEmailContent(OutgoingQueueProcessor.java:418) at com.thepluginpeople.jira.emq.queue.OutgoingQueueProcessor.buildSendProcessAndLogEmail(OutgoingQueueProcessor.java:354) at com.thepluginpeople.jira.emq.queue.OutgoingQueueProcessor.processItems(OutgoingQueueProcessor.java:277) at com.thepluginpeople.jira.emq.queue.OutgoingQueueManager.flushAllQueues(OutgoingQueueManager.java:73) at com.thepluginpeople.jira.emq.action.mailconfiguration.ManageMailQueuesAction$1.run(ManageMailQueuesAction.java:90) at java.lang.Thread.run(Unknown Source) 2015-02-17 14:49:42,307 Thread-51 DEBUG [jira.emq.queue.OutgoingQueueManager] Combining issue details into email body of type Html 2015-02-17 14:49:42,398 Thread-51 INFO [jira.emq.queue.IssueAttachmentManager] creating multipart for attachments 2015-02-17 14:49:42,401 Thread-51 INFO [jira.emq.queue.IssueAttachmentManager] Added 0 attachment body parts 2015-02-17 14:49:42,403 Thread-51 DEBUG [jira.emq.queue.DeliveryQueuedItem] Sending HTML email #1 to john.doe@company.com containing 0 2015-02-17 14:49:42,406 Thread-51 ERROR [jira.emq.queue.OutgoingQueueManager] java.lang.NullPointerException at com.thepluginpeople.jira.emq.dto.IssueEventEmailContent.getIssueDetailRecipientLinkId(IssueEventEmailContent.java:507) at com.thepluginpeople.jira.emq.queue.DeliveryQueuedItem.<init>(DeliveryQueuedItem.java:102) at com.thepluginpeople.jira.emq.queue.DeliveryManager.createDeliveryItem(DeliveryManager.java:46) at com.thepluginpeople.jira.emq.queue.DeliveryManager.sendEmail(DeliveryManager.java:40) at com.thepluginpeople.jira.emq.queue.OutgoingQueueProcessor.sendEmail(OutgoingQueueProcessor.java:615) at com.thepluginpeople.jira.emq.queue.OutgoingQueueProcessor.buildEmailFromIeec(OutgoingQueueProcessor.java:441) at com.thepluginpeople.jira.emq.queue.OutgoingQueueProcessor.buildSendProcessAndLogEmail(OutgoingQueueProcessor.java:399) at com.thepluginpeople.jira.emq.queue.OutgoingQueueProcessor.processItems(OutgoingQueueProcessor.java:277) at com.thepluginpeople.jira.emq.queue.OutgoingQueueManager.flushAllQueues(OutgoingQueueManager.java:73) at com.thepluginpeople.jira.emq.action.mailconfiguration.ManageMailQueuesAction$1.run(ManageMailQueuesAction.java:90) at java.lang.Thread.run(Unknown Source) {quote}
    via by Andy Brook,
    • java.lang.NullPointerException at com.thepluginpeople.jira.emq.dto.IssueEventEmailContent.getIssueDetailRecipientLinkId(IssueEventEmailContent.java:507) at com.thepluginpeople.jira.emq.queue.DeliveryQueuedItem.<init>(DeliveryQueuedItem.java:102) at com.thepluginpeople.jira.emq.queue.DeliveryManager.createDeliveryItem(DeliveryManager.java:46) at com.thepluginpeople.jira.emq.queue.DeliveryManager.sendEmail(DeliveryManager.java:40) at com.thepluginpeople.jira.emq.queue.OutgoingQueueProcessor.sendEmail(OutgoingQueueProcessor.java:615) at com.thepluginpeople.jira.emq.queue.OutgoingQueueProcessor.buildEmailFromIeec(OutgoingQueueProcessor.java:441) at com.thepluginpeople.jira.emq.queue.OutgoingQueueProcessor.buildSendProcessAndLogEmail(OutgoingQueueProcessor.java:399) at com.thepluginpeople.jira.emq.queue.OutgoingQueueProcessor.processItems(OutgoingQueueProcessor.java:277) at com.thepluginpeople.jira.emq.queue.OutgoingQueueManager.flushAllQueues(OutgoingQueueManager.java:73) at com.thepluginpeople.jira.emq.action.mailconfiguration.ManageMailQueuesAction$1.run(ManageMailQueuesAction.java:90) at java.lang.Thread.run(Unknown Source)
    No Bugmate found.