You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/03/07 15:22:38 UTC
[jira] [Commented] (KARAF-5016) Possible NPE while running
"log:tail" in Karaf console
[ https://issues.apache.org/jira/browse/KARAF-5016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15899590#comment-15899590 ]
ASF subversion and git services commented on KARAF-5016:
--------------------------------------------------------
Commit eeb09556eb6b59599ee4a8b57fbee34ea75599e4 in karaf's branch refs/heads/master from [~gnt]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=eeb0955 ]
[KARAF-5016] Possible NPE while running "log:tail" in Karaf console
> Possible NPE while running "log:tail" in Karaf console
> ------------------------------------------------------
>
> Key: KARAF-5016
> URL: https://issues.apache.org/jira/browse/KARAF-5016
> Project: Karaf
> Issue Type: Bug
> Components: karaf-core
> Affects Versions: 4.1.0
> Reporter: Richard Kosegi
> Assignee: Guillaume Nodet
> Priority: Trivial
> Fix For: 4.1.1
>
>
> There is occasional NPE while running "log:tail" in Karaf console.
> This occurs few times per day, it has no real impact other then tailing of log is stopped (and must be restarted by CTRL+C, log:tail)
> Exception in thread "pool-51-thread-1" java.lang.NullPointerException
> at org.apache.karaf.log.core.internal.layout.PatternParser$MDCPatternConverter.convert(PatternParser.java:551)
> at org.apache.karaf.log.core.internal.layout.PatternConverter.format(PatternConverter.java:63)
> at org.apache.karaf.log.core.internal.LogEventFormatterImpl.format(LogEventFormatterImpl.java:117)
> at org.apache.karaf.log.command.DisplayLog.printEvent(DisplayLog.java:121)
> at org.apache.karaf.log.command.DisplayLog.printEvent(DisplayLog.java:105)
> at org.apache.karaf.log.command.LogTail$PrintEventThread.run(LogTail.java:113)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)