Uploaded image for project: 'Logback-Beagle - the console plugin for Eclipse'
  1. Logback-Beagle - the console plugin for Eclipse
  2. CONSPLUG-19

Stack trace icon is sometimes not displayed

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • interface
    • None
    • Red Hat Enterprise Linux 5, Eclipse 3.5

    Description

      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.

      Attachments

        1. log-config.xml
          0.1 kB
          Richard Fearn
        2. Test.java
          0.7 kB
          Richard Fearn

        Activity

          People

            logback-dev Logback dev list
            richardfearn Richard Fearn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: