Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 370543

Summary: NPE in Tracing page on cancelation of browse dialog
Product: [Eclipse Project] PDE Reporter: Christian Georgi <christian.georgi>
Component: UIAssignee: Curtis Windatt <curtis.windatt.public>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: curtis.windatt.public
Version: 3.7.1Keywords: contributed
Target Milestone: 3.8 M6   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Patch for NPE none

Description Christian Georgi CLA 2012-02-03 07:18:56 EST
In tracing preference page, after cancelation of the file browse dialog the exception below is thrown.  See patch attached.

java.lang.IllegalArgumentException: Argument cannot be null
at org.eclipse.swt.SWT.error(SWT.java:4064)
at org.eclipse.swt.SWT.error(SWT.java:3998)
at org.eclipse.swt.SWT.error(SWT.java:3969)
at org.eclipse.swt.widgets.Widget.error(Widget.java:468)
at org.eclipse.swt.widgets.Text.setText(Text.java:1951)
at org.eclipse.ui.trace.internal.TracingPreferencePage$3.widgetSelected(TracingPreferencePage.java:301)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
...
Comment 1 Christian Georgi CLA 2012-02-03 07:19:43 EST
Created attachment 210507 [details]
Patch for NPE
Comment 2 Curtis Windatt CLA 2012-02-03 11:25:17 EST
Applied the patch.  Thanks for the continued contributions!