Hi,

When I use the commande history with grep, I've got this error :

karaf@root()> history | grep cave
grep: java.lang.ArrayIndexOutOfBoundsException

I have some entry of "cave" word in my history.

in the log :

2017-10-08 18:28:45,969 | DEBUG | nsole user karaf |
LoggingCommandSessionListener    | 42 - org.apache.karaf.shell.core -
4.1.2 | Executing command: 'history | grep cave'
2017-10-08 18:28:47,000 | DEBUG | nsole user karaf |
LoggingCommandSessionListener    | 42 - org.apache.karaf.shell.core -
4.1.2 | Command: 'history | grep cave' returned 'null'

I try with other word, I've got the same error :

karaf@root()> history | grep list
  852  service:list ConnectionFactory
  854  service:list ConnectionFactory
grep: java.lang.ArrayIndexOutOfBoundsException

In the log :

2017-10-08 18:33:12,334 | DEBUG | nsole user karaf |
LoggingCommandSessionListener    | 42 - org.apache.karaf.shell.core -
4.1.2 | Executing command: 'history | grep list'
2017-10-08 18:33:13,372 | DEBUG | nsole user karaf |
LoggingCommandSessionListener    | 42 - org.apache.karaf.shell.core -
4.1.2 | Command: 'history | grep list' returned 'null'


Karaf - info :

Karaf
  Karaf version               4.1.2
  OSGi Framework              org.apache.felix.framework-5.6.6


Francois

Reply via email to