Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348010 - [TMF] NullPointerException in custom XML parser wizard
Summary: [TMF] NullPointerException in custom XML parser wizard
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: LinuxTools (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Francois Chouinard CLA
QA Contact: Francois Chouinard CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 301610
  Show dependency tree
 
Reported: 2011-06-01 16:22 EDT by Patrick Tasse CLA
Modified: 2022-01-13 14:53 EST (History)
1 user (show)

See Also:


Attachments
Proposed patch in org.eclipse.linuxtools.tmf.ui package (849 bytes, patch)
2011-06-01 16:23 EDT, Patrick Tasse CLA
fchouinard: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Tasse CLA 2011-06-01 16:22:08 EDT
Build Identifier: 

Submitting a patch to fix a NullPointerException in the custom XML parser wizard.

The NPE occurs when the "Feeling lucky" button is pressed while the element tree is empty and no valid XML text is entered in the preview text box.

Reproducible: Always

Steps to Reproduce:
1. Create a new XML parser, leaving everything empty
2. Press the "Feeling lucky" button
Comment 1 Patrick Tasse CLA 2011-06-01 16:23:11 EDT
Created attachment 197167 [details]
Proposed patch in org.eclipse.linuxtools.tmf.ui package

Legal Message: I, Patrick Tasse, declare that I developed attached code from
scratch, without referencing any 3rd party materials except material licensed
under the EPL. I am authorized by my employer to make this contribution under
the EPL.
Comment 2 Francois Chouinard CLA 2011-07-22 15:39:57 EDT
Comment on attachment 197167 [details]
Proposed patch in org.eclipse.linuxtools.tmf.ui package

Patch committed
Comment 3 Francois Chouinard CLA 2011-07-22 15:40:22 EDT
Planned for 0.8.1
Comment 4 Andrew Overholt CLA 2011-08-15 14:37:30 EDT
Has this been cherry-picked to stable-0.8?
Comment 5 Francois Chouinard CLA 2011-08-23 17:59:01 EDT
Fix committed on stable-0.8 branch.
Comment 6 Francois Chouinard CLA 2011-09-28 17:32:26 EDT
Delivered with 0.8.1