Description
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.
karaf@root()> man --help Error executing command: java.lang.reflect.InvocationTargetException
LOG
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
Maybe a result from KARAF-6543
Attachments
Issue Links
- is blocked by
-
FELIX-6214 Gogo JLine range import
- Resolved
-
KARAF-6663 Upgrade to Felix Gogo jline 1.1.6
- Resolved
- is related to
-
KARAF-6602 History shell command is broken
- Resolved