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.

  • Andy, just experimenting with this support. It look very good. Having a few problems. Perhaps they are just configuration issues. 1) If I specify reporter in the email, I can get it to import as an issue. But it seems to have trouble with trying to determine reporter from the email address. 2) Other than project and reporter, none of the other fields seemed to be picked up. {noformat} Subject: test 3 From: Bob Swift <bob.swift@visionsolutions.com> Date: Nov 04, 2008 project: Experiment components: Other priority: Major issuetype: Bug watchers: sde-tester fixVersions: 0.0.1,0.0.2 description: test {noformat} {noformat} createusers=false #reportusername=jiraissues notifyusers=true deleteEmail=true stripquotes=true #get the project key from the to: address #projectAutoAssign=true alternateIDLookupClass=com.dolby.atlassian.jira.service.util.handler.emh.LDAPAlternateUserIDLookup domainEquivalency=visionsolutions.com emailFieldProcessorClassList=com.dolby.atlassian.jira.service.util.handler.emh.processor.ConfluenceMailFormNgFieldProcessor lowercaseUserids=true defaultProject=XXX defaultIssueType=Task defaultPriority=Major defaultComponents=Other {noformat} {noformat} java.lang.NullPointerException at com.dolby.atlassian.jira.service.util.handler.emh.AbstractFieldProcessor.getAlternateEmailUserLookup(AbstractFieldProcessor.java:369) at com.dolby.atlassian.jira.service.util.handler.emh.AbstractFieldProcessor.findUserByEmail(AbstractFieldProcessor.java:507) at com.dolby.atlassian.jira.service.util.handler.emh.processor.ConfluenceMailFormNgFieldProcessor.fixupReporter(ConfluenceMailFormNgFieldProcessor.java:403) at com.dolby.atlassian.jira.service.util.handler.emh.processor.ConfluenceMailFormNgFieldProcessor.extractFieldsAndBody(ConfluenceMailFormNgFieldProcessor.java:181) at com.dolby.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:122) at com.dolby.atlassian.jira.service.util.handler.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:124) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:174) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:56) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) 2008-11-04 08:10:35,945 JiraQuartzScheduler_Worker-0 ERROR [service.util.handler.CreateIssueHandler] Could not create issue! - null java.lang.NullPointerException at com.dolby.atlassian.jira.service.util.handler.emh.AbstractFieldProcessor.getAlternateEmailUserLookup(AbstractFieldProcessor.java:369) at com.dolby.atlassian.jira.service.util.handler.emh.AbstractFieldProcessor.findUserByEmail(AbstractFieldProcessor.java:507) at com.dolby.atlassian.jira.service.util.handler.emh.processor.ConfluenceMailFormNgFieldProcessor.fixupReporter(ConfluenceMailFormNgFieldProcessor.java:403) at com.dolby.atlassian.jira.service.util.handler.emh.processor.ConfluenceMailFormNgFieldProcessor.extractFieldsAndBody(ConfluenceMailFormNgFieldProcessor.java:181) at com.dolby.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:122) at com.dolby.atlassian.jira.service.util.handler.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:124) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:174) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:56) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) {noformat}
    via by Bob Swift,
  • Andy, just experimenting with this support. It look very good. Having a few problems. Perhaps they are just configuration issues. 1) If I specify reporter in the email, I can get it to import as an issue. But it seems to have trouble with trying to determine reporter from the email address. 2) Other than project and reporter, none of the other fields seemed to be picked up. {noformat} Subject: test 3 From: Bob Swift <bob.swift@visionsolutions.com> Date: Nov 04, 2008 project: Experiment components: Other priority: Major issuetype: Bug watchers: sde-tester fixVersions: 0.0.1,0.0.2 description: test {noformat} {noformat} createusers=false #reportusername=jiraissues notifyusers=true deleteEmail=true stripquotes=true #get the project key from the to: address #projectAutoAssign=true alternateIDLookupClass=com.dolby.atlassian.jira.service.util.handler.emh.LDAPAlternateUserIDLookup domainEquivalency=visionsolutions.com emailFieldProcessorClassList=com.dolby.atlassian.jira.service.util.handler.emh.processor.ConfluenceMailFormNgFieldProcessor lowercaseUserids=true defaultProject=XXX defaultIssueType=Task defaultPriority=Major defaultComponents=Other {noformat} {noformat} java.lang.NullPointerException at com.dolby.atlassian.jira.service.util.handler.emh.AbstractFieldProcessor.getAlternateEmailUserLookup(AbstractFieldProcessor.java:369) at com.dolby.atlassian.jira.service.util.handler.emh.AbstractFieldProcessor.findUserByEmail(AbstractFieldProcessor.java:507) at com.dolby.atlassian.jira.service.util.handler.emh.processor.ConfluenceMailFormNgFieldProcessor.fixupReporter(ConfluenceMailFormNgFieldProcessor.java:403) at com.dolby.atlassian.jira.service.util.handler.emh.processor.ConfluenceMailFormNgFieldProcessor.extractFieldsAndBody(ConfluenceMailFormNgFieldProcessor.java:181) at com.dolby.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:122) at com.dolby.atlassian.jira.service.util.handler.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:124) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:174) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:56) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) 2008-11-04 08:10:35,945 JiraQuartzScheduler_Worker-0 ERROR [service.util.handler.CreateIssueHandler] Could not create issue! - null java.lang.NullPointerException at com.dolby.atlassian.jira.service.util.handler.emh.AbstractFieldProcessor.getAlternateEmailUserLookup(AbstractFieldProcessor.java:369) at com.dolby.atlassian.jira.service.util.handler.emh.AbstractFieldProcessor.findUserByEmail(AbstractFieldProcessor.java:507) at com.dolby.atlassian.jira.service.util.handler.emh.processor.ConfluenceMailFormNgFieldProcessor.fixupReporter(ConfluenceMailFormNgFieldProcessor.java:403) at com.dolby.atlassian.jira.service.util.handler.emh.processor.ConfluenceMailFormNgFieldProcessor.extractFieldsAndBody(ConfluenceMailFormNgFieldProcessor.java:181) at com.dolby.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:122) at com.dolby.atlassian.jira.service.util.handler.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:124) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:174) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:56) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) {noformat}
    via by Bob Swift,
  • When the Jira built-in "Proirity" field is hidden, issue creation by email fails (see error below). We are using Jira 3.12.2, version 0.9.1-SNAPSHOT of JEMH, and version 1.0.16 of ldaputli {noformat} 2009-08-26 14:20:38,708 JiraQuartzScheduler_Worker-2 DEBUG [util.handler.emh.AbstractFieldProcessor] - issueObject created: true 2009-08-26 14:20:38,708 JiraQuartzScheduler_Worker-2 DEBUG [util.handler.emh.AbstractFieldProcessor] - projectObject set: true 2009-08-26 14:20:38,708 JiraQuartzScheduler_Worker-2 DEBUG [util.handler.emh.AbstractFieldProcessor] - reporter set: true 2009-08-26 14:20:38,708 JiraQuartzScheduler_Worker-2 DEBUG [util.handler.emh.AbstractFieldProcessor] - issueTypeObject set: true 2009-08-26 14:20:38,708 JiraQuartzScheduler_Worker-2 DEBUG [util.handler.emh.AbstractFieldProcessor] - priorityObject set: false 2009-08-26 14:20:38,708 JiraQuartzScheduler_Worker-2 WARN [util.handler.emh.AbstractFieldProcessor] Based on lack of information within the issue, it cannot be created by this handler. Other handlers will now be tried. 2009-08-26 14:20:38,708 JiraQuartzScheduler_Worker-2 ERROR [service.util.handler.EMHIssueHandler] Unhandled Exception processing issue (bug): null 2009-08-26 14:20:38,708 JiraQuartzScheduler_Worker-2 ERROR [service.util.handler.EMHIssueHandler] Rethrowing exception: Unhandled Exception processing issue (bug): null; nested exception is: java.lang.NullPointerException javax.mail.MessagingException: Unhandled Exception processing issue (bug): null; nested exception is: java.lang.NullPointerException at com.dolby.atlassian.jira.service.util.handler.EMHIssueHandler.runProcessor(EMHIssueHandler.java:336) at com.dolby.atlassian.jira.service.util.handler.EMHIssueHandler.handleMessage(EMHIssueHandler.java:118) at com.dolby.atlassian.jira.service.util.handler.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:63) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:190) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) {noformat} config file: {noformat} defaultIssueType=38 defaultPriority=minor defaultIssueLinkType=relates defaultProject=MRLITBRPR createUsers=true createUsersIDFrom=alternate autoJoinGroup=jira-users eatEmptyBodyLinesMax=2 deleteEmail=false projectAutoAssign=false alternateIDLookupClassList=com.dolby.atlassian.jira.service.util.handler.emh.LDAPAlternateUserIDLookup domainEquivalency=NorthAmerica.msx.campany.com,company.com emailFieldProcessorPackageList=com.dolby.atlassian.jira.service.util.handler.emh.processor stripQuotes=true {noformat}
    via by Stephen Day,
  • When the Jira built-in "Proirity" field is hidden, issue creation by email fails (see error below). We are using Jira 3.12.2, version 0.9.1-SNAPSHOT of JEMH, and version 1.0.16 of ldaputli {noformat} 2009-08-26 14:20:38,708 JiraQuartzScheduler_Worker-2 DEBUG [util.handler.emh.AbstractFieldProcessor] - issueObject created: true 2009-08-26 14:20:38,708 JiraQuartzScheduler_Worker-2 DEBUG [util.handler.emh.AbstractFieldProcessor] - projectObject set: true 2009-08-26 14:20:38,708 JiraQuartzScheduler_Worker-2 DEBUG [util.handler.emh.AbstractFieldProcessor] - reporter set: true 2009-08-26 14:20:38,708 JiraQuartzScheduler_Worker-2 DEBUG [util.handler.emh.AbstractFieldProcessor] - issueTypeObject set: true 2009-08-26 14:20:38,708 JiraQuartzScheduler_Worker-2 DEBUG [util.handler.emh.AbstractFieldProcessor] - priorityObject set: false 2009-08-26 14:20:38,708 JiraQuartzScheduler_Worker-2 WARN [util.handler.emh.AbstractFieldProcessor] Based on lack of information within the issue, it cannot be created by this handler. Other handlers will now be tried. 2009-08-26 14:20:38,708 JiraQuartzScheduler_Worker-2 ERROR [service.util.handler.EMHIssueHandler] Unhandled Exception processing issue (bug): null 2009-08-26 14:20:38,708 JiraQuartzScheduler_Worker-2 ERROR [service.util.handler.EMHIssueHandler] Rethrowing exception: Unhandled Exception processing issue (bug): null; nested exception is: java.lang.NullPointerException javax.mail.MessagingException: Unhandled Exception processing issue (bug): null; nested exception is: java.lang.NullPointerException at com.dolby.atlassian.jira.service.util.handler.EMHIssueHandler.runProcessor(EMHIssueHandler.java:336) at com.dolby.atlassian.jira.service.util.handler.EMHIssueHandler.handleMessage(EMHIssueHandler.java:118) at com.dolby.atlassian.jira.service.util.handler.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:63) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:190) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) {noformat} config file: {noformat} defaultIssueType=38 defaultPriority=minor defaultIssueLinkType=relates defaultProject=MRLITBRPR createUsers=true createUsersIDFrom=alternate autoJoinGroup=jira-users eatEmptyBodyLinesMax=2 deleteEmail=false projectAutoAssign=false alternateIDLookupClassList=com.dolby.atlassian.jira.service.util.handler.emh.LDAPAlternateUserIDLookup domainEquivalency=NorthAmerica.msx.campany.com,company.com emailFieldProcessorPackageList=com.dolby.atlassian.jira.service.util.handler.emh.processor stripQuotes=true {noformat}
    via by Stephen Day,
    • java.lang.NullPointerException at com.dolby.atlassian.jira.service.util.handler.emh.AbstractFieldProcessor.getAlternateEmailUserLookup(AbstractFieldProcessor.java:369) at com.dolby.atlassian.jira.service.util.handler.emh.AbstractFieldProcessor.findUserByEmail(AbstractFieldProcessor.java:507) at com.dolby.atlassian.jira.service.util.handler.emh.processor.ConfluenceMailFormNgFieldProcessor.fixupReporter(ConfluenceMailFormNgFieldProcessor.java:403) at com.dolby.atlassian.jira.service.util.handler.emh.processor.ConfluenceMailFormNgFieldProcessor.extractFieldsAndBody(ConfluenceMailFormNgFieldProcessor.java:181) at com.dolby.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:122) at com.dolby.atlassian.jira.service.util.handler.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:124) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:174) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:56) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)
    No Bugmate found.