karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (Jira) <j...@apache.org>
Subject [jira] [Updated] (KARAF-6614) man command leads to java.lang.reflect.InvocationTargetException
Date Mon, 02 Mar 2020 14:58:00 GMT

     [ https://issues.apache.org/jira/browse/KARAF-6614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Baptiste Onofré updated KARAF-6614:
----------------------------------------
    Fix Version/s: 4.2.9
                   4.3.0

> man command leads to java.lang.reflect.InvocationTargetException
> ----------------------------------------------------------------
>
>                 Key: KARAF-6614
>                 URL: https://issues.apache.org/jira/browse/KARAF-6614
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 4.2.8
>            Reporter: Andre Schlegel
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>             Fix For: 4.3.0, 4.2.9
>
>
> The man command isn't working In Karaf 4.2.8. The parameters do not matter.
> I have downloaded the current 4.2.8 Release and did no modification. Tried JDK 8 and
JDK 11.
> {code:java}
> karaf@root()> man --help
> Error executing command: java.lang.reflect.InvocationTargetException
> {code}
> LOG
> {code:java}
> 07:10:08.999 ERROR [Karaf local console user karaf] Exception caught while executing
command07:10:08.999 ERROR [Karaf local console user karaf] Exception caught while executing
commandjava.lang.reflect.InvocationTargetException: null at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method) ~[?:1.8.0_222] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
~[?:1.8.0_222] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[?:1.8.0_222] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_222] 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) ~[?:1.8.0_222] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
~[?:1.8.0_222] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
~[?:1.8.0_222] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]Caused by: java.lang.NoSuchMethodError:
org.jline.builtins.Less.<init>(Lorg/jline/terminal/Terminal;)V at org.apache.felix.gogo.jline.Posix.less(Posix.java:960)
~[?:?] at org.apache.felix.gogo.jline.Posix.run(Posix.java:207) ~[?:?] at org.apache.felix.gogo.jline.Posix._main(Posix.java:145)
~[?:?] ... 19 more
> {code}
> Maybe a result from KARAF-6543



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message