Richard Fearn (JIRA | 1 Dec 2009 11:57
Picon

[JIRA] Updated: (CONSPLUG-19) Stack trace icon is sometimes not displayed


     [
http://jira.qos.ch/browse/CONSPLUG-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Fearn updated CONSPLUG-19:
----------------------------------

    Attachment: Test.java

Test class

> Stack trace icon is sometimes not displayed
> -------------------------------------------
>
>                 Key: CONSPLUG-19
>                 URL: http://jira.qos.ch/browse/CONSPLUG-19
>             Project: Console Plugin
>          Issue Type: Bug
>          Components: interface
>         Environment: Red Hat Enterprise Linux 5, Eclipse 3.5
>            Reporter: Richard Fearn
>            Assignee: Logback dev list
>            Priority: Minor
>         Attachments: Test.java
>
>
> The stack trace icon at the left hand side of the Logback View isn't always displayed. If a logging event
with a stack trace is displayed in the view first, the icon is displayed in the first row and the view seems to
work normally.
> But if an event without a stack trace is displayed first, without an icon, the icon doesn't seem to be
displayed for all subsequent rows.
> I think this might due to using a virtual table with a label provider that provides {{null}} column images.
I've changed {{getColumnImage}} to return a blank image instead of {{null}} if the event doesn't have a
stack trace, and that seems to fix the problem.

--

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

Gmane