karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Foster (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-1973) NullPointerException when performing log:clear then log:tail
Date Wed, 24 Oct 2012 22:16:13 GMT
Alan Foster created KARAF-1973:
----------------------------------

             Summary: NullPointerException when performing log:clear then log:tail
                 Key: KARAF-1973
                 URL: https://issues.apache.org/jira/browse/KARAF-1973
             Project: Karaf
          Issue Type: Bug
         Environment: Windows Server 2008 r2, Ubuntu
            Reporter: Alan Foster


This occurs within FuseESB, but it was mentioned that this may be a karaf issue

Here is the sequence of events which take place :
{code}
FuseESB:karaf@root> log:clear
FuseESB:karaf@root> log:tail
Error executing command: java.lang.NullPointerException
FuseESB:karaf@root> log:tail
2012-10-19 22:22:34,260 | INFO  | l Console Thread | Console                          | 18
- org.apache.karaf.shell.console - 2.2.5.fuse-70-097 | Exception caught while executing command
java.lang.NullPointerException
	at org.apache.karaf.shell.log.DisplayLog.getColor(DisplayLog.java:172)[42:org.apache.karaf.shell.log:2.2.5.fuse-70-097]
	at org.apache.karaf.shell.log.DisplayLog.display(DisplayLog.java:143)[42:org.apache.karaf.shell.log:2.2.5.fuse-70-097]
	at org.apache.karaf.shell.log.LogTail.doExecute(LogTail.java:40)[42:org.apache.karaf.shell.log:2.2.5.fuse-70-097]
	at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[18:org.apache.karaf.shell.console:2.2.5.fuse-70-097]
	at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[18:org.apache.karaf.shell.console:2.2.5.fuse-70-097]
	at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[18:org.apache.karaf.shell.console:2.2.5.fuse-70-097]
	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)[18:org.apache.karaf.shell.console:2.2.5.fuse-70-097]
	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)[18:org.apache.karaf.shell.console:2.2.5.fuse-70-097]
	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[18:org.apache.karaf.shell.console:2.2.5.fuse-70-097]
	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[18:org.apache.karaf.shell.console:2.2.5.fuse-70-097]
	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[18:org.apache.karaf.shell.console:2.2.5.fuse-70-097]
	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[18:org.apache.karaf.shell.console:2.2.5.fuse-70-097]
	at org.apache.karaf.shell.console.jline.Console.run(Console.java:233)[18:org.apache.karaf.shell.console:2.2.5.fuse-70-097]
	at java.lang.Thread.run(Thread.java:722)[:1.7.0_07]
{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

Mime
View raw message