Bug 178234 - [Forms] NPE in FormHeading.MessageRegion.removeMessageHyperlinkListener()
Summary: [Forms] NPE in FormHeading.MessageRegion.removeMessageHyperlinkListener()
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: User Assistance (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P1 normal (vote)
Target Milestone: 3.3 M6   Edit
Assignee: Curtis d'Entremont CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-20 07:47 EDT by Christof Marti CLA
Modified: 2007-03-20 11:49 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christof Marti CLA 2007-03-20 07:47:19 EDT
3.3M5

Apparently the listener was already removed, robustness for this case would release clients from keeping track if their listener was already removed.

Caused by: java.lang.NullPointerException
	at org.eclipse.ui.internal.forms.widgets.FormHeading$MessageRegion.removeMessageHyperlinkListener(FormHeading.java:460)
	at org.eclipse.ui.internal.forms.widgets.FormHeading$MessageRegion.access$0(FormHeading.java:459)
	at org.eclipse.ui.internal.forms.widgets.FormHeading.removeMessageHyperlinkListener(FormHeading.java:920)
	at org.eclipse.ui.forms.widgets.Form.removeMessageHyperlinkListener(Form.java:676)
Comment 1 Dejan Glozic CLA 2007-03-20 09:37:13 EDT
Curtis, please fix for M6
Comment 2 Curtis d'Entremont CLA 2007-03-20 11:49:00 EDT
Fixed.