| Summary: | [TMF] Custom parsers NPE, extra columns and event type & content fixes | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Patrick Tasse <patrick.tasse> |
| Component: | LinuxTools | Assignee: | Francois Chouinard <fchouinard> |
| Status: | CLOSED FIXED | QA Contact: | Francois Chouinard <fchouinard> |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Attachments: | |||
|
Description
Patrick Tasse
Created attachment 180444 [details]
Proposed patch on org.eclipse.linuxtools.tmf.ui.parsers.custom
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.
Created attachment 180450 [details]
Proposed patch in org.eclipse.linuxtools.tmf.ui.parsers.custom
Fixed patch NPE during parsing.
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.
Created attachment 180457 [details]
Proposed patch in org.eclipse.linuxtools.tmf.ui.parsers.custom
Additional fix:
6. Empty event fields are not set properly when the table is scrolled. A null string does not erase the TableItem column text. The CustomEvent column data is now set to an empty string when the field value is null.
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.
Created attachment 189648 [details]
Proposed patch in org.eclipse.linuxtools.tmf.ui
Additional fixes:
7. Icon paths fixed.
8. Preview table layout fixed.
9. Moved creation of listeners later to prevent NPE.
10. Removed unused variables and methods.
11. Created CustomTxtEventType and CustomXmlEventType.
12. Modified parsers to use BufferedRandomAccessFile.
13. Use of NULL_LOCATION constant.
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.
Patch committed. Thanks Patrick. Delivered with 0.8 |