Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359750 - R4E SMTP mail services with a null pointer
Summary: R4E SMTP mail services with a null pointer
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Jacques Bouthillier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 359751
  Show dependency tree
 
Reported: 2011-10-03 14:30 EDT by Jacques Bouthillier CLA
Modified: 2012-01-24 17:54 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jacques Bouthillier CLA 2011-10-03 14:30:13 EDT
When using the SMTP mail services, a null pointer exception occurs sometimes:

!ENTRY org.eclipse.mylyn.reviews.r4e.ui 4 0 2011-10-03 14:25:35.945
!MESSAGE Exception: org.eclipse.core.runtime.CoreException: ComponentObjectModelException: Null address
!STACK 1
org.eclipse.core.runtime.CoreException: ComponentObjectModelException: Null address
	at org.eclipse.mylyn.reviews.r4e.mail.smtp.mailVersion.Smtp.sendEmail(Smtp.java:119)
	at org.eclipse.mylyn.reviews.r4e.mail.smtp.mailVersion.Smtp.sendEmailGraphical(Smtp.java:153)
	at org.eclipse.mylyn.reviews.r4e.ui.internal.utils.MailServicesProxy.sendMessage(MailServicesProxy.java:306)
	at org.eclipse.mylyn.reviews.r4e.ui.internal.utils.MailServicesProxy.sendQuestion(MailServicesProxy.java:276)
	at org.eclipse.mylyn.reviews.r4e.ui.internal.commands.SendNotificationHandler$1.runInUIThread(SendNotificationHandler.java:124)
	at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95)
Comment 1 Jacques Bouthillier CLA 2011-10-03 14:50:09 EDT
Fix the null pointer exception by verifying the null or empty sender
Comment 2 Jacques Bouthillier CLA 2011-10-03 14:56:19 EDT
Issue fixed