You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Erwin Hogeweg <er...@me.com> on 2020/01/17 16:47:36 UTC
1.2.8-SNAPSHOT - history command appears to be broken.
Hi,
It looks like a regression because I am pretty sure this worked in 1.2.6.
Am I missing something?
Cheers,
Erwin
karaf@root()> history
[Karaf local console user karaf] ERROR org.apache.karaf.shell.support.ShellUtil - Exception caught while executing command
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:143)
at org.apache.karaf.shell.impl.console.SessionFactoryImpl$ShellCommand.lambda$wrap$0(SessionFactoryImpl.java:218)
at org.apache.karaf.shell.impl.console.SessionFactoryImpl$ShellCommand.execute(SessionFactoryImpl.java:264)
at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:68)
at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:86)
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:599)
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:526)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:415)
at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:416)
at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229)
at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
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)
Caused by: java.lang.NoSuchMethodError: org.jline.builtins.Commands.history(Lorg/jline/reader/LineReader;Ljava/io/PrintStream;Ljava/io/PrintStream;[Ljava/lang/String;)V
at org.apache.felix.gogo.jline.Builtin.history(Builtin.java:643)
... 19 more
Error executing command: java.lang.reflect.InvocationTargetException
karaf@root()>
Re: 1.2.8-SNAPSHOT - history command appears to be broken.
Posted by Francois Papon <fr...@openobject.fr>.
FYI I created the Jira:
https://issues.apache.org/jira/browse/KARAF-6602
regards,
François
fpapon@apache.org
Le 17/01/2020 à 18:33, Francois Papon a écrit :
>
> I can reproduce from the 4.2.x branch, I will create a Jira for this.
>
> thanks,
>
> François
> fpapon@apache.org
> Le 17/01/2020 à 18:13, Francois Papon a écrit :
>>
>> Hi Erwin,
>>
>> You're talking about 4.2.8-SNAPSHOT right?
>>
>> Let me try to reproduce.
>>
>> regards,
>>
>> François
>> fpapon@apache.org
>> Le 17/01/2020 à 17:47, Erwin Hogeweg a écrit :
>>> Hi,
>>>
>>> It looks like a regression because I am pretty sure this worked in
>>> 1.2.6.
>>>
>>> Am I missing something?
>>>
>>>
>>> Cheers,
>>>
>>> Erwin
>>>
>>>
>>> karaf@root()> history
>>> [Karaf local console user karaf] ERROR
>>> org.apache.karaf.shell.support.ShellUtil - Exception caught while
>>> executing command
>>> java.lang.reflect.InvocationTargetException
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>> at java.lang.reflect.Method.invoke(Method.java:498)
>>> at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:143)
>>> at
>>> org.apache.karaf.shell.impl.console.SessionFactoryImpl$ShellCommand.lambda$wrap$0(SessionFactoryImpl.java:218)
>>> at
>>> org.apache.karaf.shell.impl.console.SessionFactoryImpl$ShellCommand.execute(SessionFactoryImpl.java:264)
>>> at
>>> org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:68)
>>> at
>>> org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:86)
>>> at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:599)
>>> at
>>> org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:526)
>>> at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:415)
>>> at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:416)
>>> at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229)
>>> at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59)
>>> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>>> 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)
>>> Caused by: java.lang.NoSuchMethodError:
>>> org.jline.builtins.Commands.history(Lorg/jline/reader/LineReader;Ljava/io/PrintStream;Ljava/io/PrintStream;[Ljava/lang/String;)V
>>> at org.apache.felix.gogo.jline.Builtin.history(Builtin.java:643)
>>> ... 19 more
>>> Error executing command: java.lang.reflect.InvocationTargetException
>>> karaf@root()>
>>>
>>>
Re: 1.2.8-SNAPSHOT - history command appears to be broken.
Posted by Francois Papon <fr...@openobject.fr>.
I can reproduce from the 4.2.x branch, I will create a Jira for this.
thanks,
François
fpapon@apache.org
Le 17/01/2020 à 18:13, Francois Papon a écrit :
>
> Hi Erwin,
>
> You're talking about 4.2.8-SNAPSHOT right?
>
> Let me try to reproduce.
>
> regards,
>
> François
> fpapon@apache.org
> Le 17/01/2020 à 17:47, Erwin Hogeweg a écrit :
>> Hi,
>>
>> It looks like a regression because I am pretty sure this worked in 1.2.6.
>>
>> Am I missing something?
>>
>>
>> Cheers,
>>
>> Erwin
>>
>>
>> karaf@root()> history
>> [Karaf local console user karaf] ERROR
>> org.apache.karaf.shell.support.ShellUtil - Exception caught while
>> executing command
>> java.lang.reflect.InvocationTargetException
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:498)
>> at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:143)
>> at
>> org.apache.karaf.shell.impl.console.SessionFactoryImpl$ShellCommand.lambda$wrap$0(SessionFactoryImpl.java:218)
>> at
>> org.apache.karaf.shell.impl.console.SessionFactoryImpl$ShellCommand.execute(SessionFactoryImpl.java:264)
>> at
>> org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:68)
>> at
>> org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:86)
>> at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:599)
>> at
>> org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:526)
>> at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:415)
>> at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:416)
>> at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229)
>> at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59)
>> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>> 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)
>> Caused by: java.lang.NoSuchMethodError:
>> org.jline.builtins.Commands.history(Lorg/jline/reader/LineReader;Ljava/io/PrintStream;Ljava/io/PrintStream;[Ljava/lang/String;)V
>> at org.apache.felix.gogo.jline.Builtin.history(Builtin.java:643)
>> ... 19 more
>> Error executing command: java.lang.reflect.InvocationTargetException
>> karaf@root()>
>>
>>
Re: 1.2.8-SNAPSHOT - history command appears to be broken.
Posted by Erwin Hogeweg <er...@me.com>.
> You're talking about 4.2.8-SNAPSHOT right?
>
Oops… yes.
> Let me try to reproduce.
> regards,
>
> François
> fpapon@apache.org <ma...@apache.org>
> Le 17/01/2020 à 17:47, Erwin Hogeweg a écrit :
>> Hi,
>>
>> It looks like a regression because I am pretty sure this worked in 1.2.6.
>>
>> Am I missing something?
>>
>>
>> Cheers,
>>
>> Erwin
>>
>>
>> karaf@root()> history
>> [Karaf local console user karaf] ERROR org.apache.karaf.shell.support.ShellUtil - Exception caught while executing command
>> java.lang.reflect.InvocationTargetException
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:498)
>> at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:143)
>> at org.apache.karaf.shell.impl.console.SessionFactoryImpl$ShellCommand.lambda$wrap$0(SessionFactoryImpl.java:218)
>> at org.apache.karaf.shell.impl.console.SessionFactoryImpl$ShellCommand.execute(SessionFactoryImpl.java:264)
>> at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:68)
>> at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:86)
>> at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:599)
>> at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:526)
>> at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:415)
>> at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:416)
>> at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229)
>> at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59)
>> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>> 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)
>> Caused by: java.lang.NoSuchMethodError: org.jline.builtins.Commands.history(Lorg/jline/reader/LineReader;Ljava/io/PrintStream;Ljava/io/PrintStream;[Ljava/lang/String;)V
>> at org.apache.felix.gogo.jline.Builtin.history(Builtin.java:643)
>> ... 19 more
>> Error executing command: java.lang.reflect.InvocationTargetException
>> karaf@root()>
Re: 1.2.8-SNAPSHOT - history command appears to be broken.
Posted by Francois Papon <fr...@openobject.fr>.
Hi Erwin,
You're talking about 4.2.8-SNAPSHOT right?
Let me try to reproduce.
regards,
François
fpapon@apache.org
Le 17/01/2020 à 17:47, Erwin Hogeweg a écrit :
> Hi,
>
> It looks like a regression because I am pretty sure this worked in 1.2.6.
>
> Am I missing something?
>
>
> Cheers,
>
> Erwin
>
>
> karaf@root()> history
> [Karaf local console user karaf] ERROR
> org.apache.karaf.shell.support.ShellUtil - Exception caught while
> executing command
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:143)
> at
> org.apache.karaf.shell.impl.console.SessionFactoryImpl$ShellCommand.lambda$wrap$0(SessionFactoryImpl.java:218)
> at
> org.apache.karaf.shell.impl.console.SessionFactoryImpl$ShellCommand.execute(SessionFactoryImpl.java:264)
> at
> org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:68)
> at
> org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:86)
> at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:599)
> at
> org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:526)
> at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:415)
> at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:416)
> at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229)
> at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> 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)
> Caused by: java.lang.NoSuchMethodError:
> org.jline.builtins.Commands.history(Lorg/jline/reader/LineReader;Ljava/io/PrintStream;Ljava/io/PrintStream;[Ljava/lang/String;)V
> at org.apache.felix.gogo.jline.Builtin.history(Builtin.java:643)
> ... 19 more
> Error executing command: java.lang.reflect.InvocationTargetException
> karaf@root()>
>
>
Re: 1.2.8-SNAPSHOT - history command appears to be broken.
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,
it's an issue in Felix Gogo Jline.
As I don't want to postpone Karaf 4.2.8 release anymore (as Felix Gogo
release needs the 3 days voting period), I will fix and release Gogo
Jline and then I will update/fix for Karaf 4.2.9.
Regards
JB
On 17/01/2020 17:47, Erwin Hogeweg wrote:
> Hi,
>
> It looks like a regression because I am pretty sure this worked in 1.2.6.
>
> Am I missing something?
>
>
> Cheers,
>
> Erwin
>
>
> karaf@root()> history
> [Karaf local console user karaf] ERROR
> org.apache.karaf.shell.support.ShellUtil - Exception caught while
> executing command
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:143)
> at
> org.apache.karaf.shell.impl.console.SessionFactoryImpl$ShellCommand.lambda$wrap$0(SessionFactoryImpl.java:218)
> at
> org.apache.karaf.shell.impl.console.SessionFactoryImpl$ShellCommand.execute(SessionFactoryImpl.java:264)
> at
> org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:68)
> at
> org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:86)
> at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:599)
> at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:526)
> at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:415)
> at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:416)
> at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229)
> at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> 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)
> Caused by: java.lang.NoSuchMethodError:
> org.jline.builtins.Commands.history(Lorg/jline/reader/LineReader;Ljava/io/PrintStream;Ljava/io/PrintStream;[Ljava/lang/String;)V
> at org.apache.felix.gogo.jline.Builtin.history(Builtin.java:643)
> ... 19 more
> Error executing command: java.lang.reflect.InvocationTargetException
> karaf@root()>
>
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com