Bug 370543 - NPE in Tracing page on cancelation of browse dialog
Summary: NPE in Tracing page on cancelation of browse dialog
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7.1   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 3.8 M6   Edit
Assignee: Curtis Windatt CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2012-02-03 07:18 EST by Christian Georgi CLA
Modified: 2012-02-03 11:25 EST (History)
1 user (show)

See Also:


Attachments
Patch for NPE (1.12 KB, patch)
2012-02-03 07:19 EST, Christian Georgi CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!