java.lang.NullPointerException

JIRA | Andy Brook | 2 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

    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}

    JIRA | 2 years ago | Andy Brook
    java.lang.NullPointerException
  2. 0

    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}

    JIRA | 2 years ago | Andy Brook
    java.lang.NullPointerException
  3. 0

    Getting a nullpointer exception when switching displayables in J2ME

    Stack Overflow | 7 years ago | Pallinder
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    J2ME (Java) - Null Pointer Exception caught in Display Class

    Stack Overflow | 6 years ago | Tom
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  6. 0

    Cloud Foundry v2 in Grails

    Stack Overflow | 3 years ago | angelo087
    java.lang.NullPointerException: Cannot invoke method getAt() on null object

    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.thepluginpeople.jira.emq.dto.IssueEventEmailContent.createStaticUrl()
    2. com.thepluginpeople.jira
      ManageMailQueuesAction$1.run
      1. com.thepluginpeople.jira.emq.dto.IssueEventEmailContent.createStaticUrl(IssueEventEmailContent.java:165)
      2. com.thepluginpeople.jira.emq.dto.IssueEventEmailContent.addSubjectHeader(IssueEventEmailContent.java:155)
      3. com.thepluginpeople.jira.emq.dto.IssueEventEmailContent.addBodyPiece(IssueEventEmailContent.java:122)
      4. com.thepluginpeople.jira.emq.dto.IssueEventEmailContent.<init>(IssueEventEmailContent.java:115)
      5. com.thepluginpeople.jira.emq.queue.OutgoingQueueProcessor.createIssueEventEmailContent(OutgoingQueueProcessor.java:418)
      6. com.thepluginpeople.jira.emq.queue.OutgoingQueueProcessor.buildSendProcessAndLogEmail(OutgoingQueueProcessor.java:354)
      7. com.thepluginpeople.jira.emq.queue.OutgoingQueueProcessor.processItems(OutgoingQueueProcessor.java:277)
      8. com.thepluginpeople.jira.emq.queue.OutgoingQueueManager.flushAllQueues(OutgoingQueueManager.java:73)
      9. com.thepluginpeople.jira.emq.action.mailconfiguration.ManageMailQueuesAction$1.run(ManageMailQueuesAction.java:90)
      9 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame