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

Bug 348010

Summary: [TMF] NullPointerException in custom XML parser wizard
Product: z_Archived Reporter: Patrick Tasse <patrick.tasse>
Component: LinuxToolsAssignee: Francois Chouinard <fchouinard>
Status: CLOSED FIXED QA Contact: Francois Chouinard <fchouinard>
Severity: normal    
Priority: P3 CC: overholt
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 301610    
Attachments:
Description Flags
Proposed patch in org.eclipse.linuxtools.tmf.ui package fchouinard: iplog+

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