Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-546

Null point exception when executing log:display on an empty log

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.1, 3.0.0
    • Component/s: None
    • Labels:
      None

      Description

      If the log is empty then log:display results in an NPE. This is easily reproducable by passing the following commands with no interval.
      karaf@root> log:clear
      karaf@root> log:display

        Attachments

          Activity

            People

            • Assignee:
              iocanel Ioannis Canellos
              Reporter:
              iocanel Ioannis Canellos
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: