You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by francois papon <fr...@openobject.fr> on 2017/10/12 18:43:39 UTC
[Karaf 4.1.2] - error with command history + grep
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
Re: [Karaf 4.1.2] - error with command history + grep
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
I think we already have a Jira about it.
Regards
JB
On Oct 12, 2017, 22:14, at 22:14, Guillaume Nodet <gn...@apache.org> wrote:
>I've seen it too fwiw (not sure if it was on master or not), but I
>haven't
>investigated.
>
>2017-10-12 20:45 GMT+02:00 Jean-Baptiste Onofré <jb...@nanthrax.net>:
>
>> Hi
>>
>> It sounds like a bug. Let me try to reproduce.
>>
>> Regards
>> JB
>> On Oct 12, 2017, at 19:43, francois papon
><fr...@openobject.fr>
>> wrote:
>>>
>>> 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
>>>
>>
>
>
>--
>------------------------
>Guillaume Nodet
Re: [Karaf 4.1.2] - error with command history + grep
Posted by Guillaume Nodet <gn...@apache.org>.
I've seen it too fwiw (not sure if it was on master or not), but I haven't
investigated.
2017-10-12 20:45 GMT+02:00 Jean-Baptiste Onofré <jb...@nanthrax.net>:
> Hi
>
> It sounds like a bug. Let me try to reproduce.
>
> Regards
> JB
> On Oct 12, 2017, at 19:43, francois papon <fr...@openobject.fr>
> wrote:
>>
>> 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
>>
>
--
------------------------
Guillaume Nodet
Re: [Karaf 4.1.2] - error with command history + grep
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi
It sounds like a bug. Let me try to reproduce.
Regards
JB
On Oct 12, 2017, 19:43, at 19:43, francois papon <fr...@openobject.fr> wrote:
>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