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

NPE in log:tail after doing a log:clear

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.3.2
    • 2.3.3, 2.4.0, 3.0.0
    • None
    • None

    Description

      I think this has been reported before. Would have though its been fixed in latest release. But its still there

      araf@root> log:clear
      karaf@root> log:get ALL^C
      karaf@root> log:tail
      Error executing command: java.lang.NullPointerException
      karaf@root> log:display
      log:display              log:display-exception
      karaf@root> log:display
      2013-07-23 14:21:38,867 | ERROR | l Console Thread | Console                          | araf.shell.console.jline.Console  199 | 14 - org.apache.karaf.shell.console - 2.3.2 | Exception caught while executing command
      java.lang.NullPointerException
      	at org.apache.karaf.shell.log.layout.PatternParser$DatePatternConverter.convert(PatternParser.java:428)[38:org.apache.karaf.shell.log:2.3.2]
      	at org.apache.karaf.shell.log.layout.PatternConverter.format(PatternConverter.java:61)[38:org.apache.karaf.shell.log:2.3.2]
      	at org.apache.karaf.shell.log.DisplayLog.display(DisplayLog.java:153)[38:org.apache.karaf.shell.log:2.3.2]
      	at org.apache.karaf.shell.log.LogTail.doExecute(LogTail.java:40)[38:org.apache.karaf.shell.log:2.3.2]
      	at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[14:org.apache.karaf.shell.console:2.3.2]
      	at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[14:org.apache.karaf.shell.console:2.3.2]
      	at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[14:org.apache.karaf.shell.console:2.3.2]
      	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)[14:org.apache.karaf.shell.console:2.3.2]
      	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)[14:org.apache.karaf.shell.console:2.3.2]
      	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[14:org.apache.karaf.shell.console:2.3.2]
      	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[14:org.apache.karaf.shell.console:2.3.2]
      	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[14:org.apache.karaf.shell.console:2.3.2]
      	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[14:org.apache.karaf.shell.console:2.3.2]
      	at org.apache.karaf.shell.console.jline.Console.run(Console.java:173)[14:org.apache.karaf.shell.console:2.3.2]
      	at java.lang.Thread.run(Thread.java:722)[:1.7.0_13]
      

      Attachments

        Activity

          People

            ffang Freeman Yue Fang
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: