You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2013/07/25 11:17:49 UTC

[jira] [Resolved] (KARAF-2403) NPE in log:tail after doing a log:clear

     [ https://issues.apache.org/jira/browse/KARAF-2403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang resolved KARAF-2403.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.0
                   2.4.0
                   2.3.3
         Assignee: Freeman Fang  (was: Jean-Baptiste Onofré)
    
> NPE in log:tail after doing a log:clear
> ---------------------------------------
>
>                 Key: KARAF-2403
>                 URL: https://issues.apache.org/jira/browse/KARAF-2403
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.3.2
>            Reporter: Claus Ibsen
>            Assignee: Freeman Fang
>            Priority: Minor
>             Fix For: 2.3.3, 2.4.0, 3.0.0
>
>
> I think this has been reported before. Would have though its been fixed in latest release. But its still there
> {code}
> 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]
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira