
[ http://jira.qos.ch/browse/CONSPLUG-19?page=com.atlassian.jira.plugin.system.... ] Richard Fearn commented on CONSPLUG-19: --------------------------------------- I've attached a test program and logging configuration - if the logging statements are reversed (i.e. the first logging event doesn't have an exception) I don't see the icon in the Logback View.
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: log-config.xml, 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