Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-14734

Command history throws java.lang.reflect.InvocationTargetException

    XMLWordPrintable

Details

    • build3
      • bin/fuse
      • history

    Description

      Whenever I try to execute command history I get java.lang.reflect.InvocationTargetException exception. In log I see:

      13:47:39.333 ERROR [Karaf local console user karaf] Exception caught while executing command
      java.lang.reflect.InvocationTargetException: null
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_191]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_191]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_191]
      	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_191]
      	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_191]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_191]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_191]
      	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191]
      Caused by: java.lang.NoSuchMethodError: org.jline.builtins.Commands.history(Lorg/jline/reader/LineReader;Ljava/io/PrintStream;Ljava/io/PrintStream;Ljava/nio/file/Path;[Ljava/lang/String;)V
      	at org.apache.felix.gogo.jline.Builtin.history(Builtin.java:643) ~[?:?]
      	... 19 more
      

      Attachments

        Activity

          People

            yfang@redhat.com Freeman(Yue) Fang
            vhais Vratislav Hais
            Luigi De Masi Luigi De Masi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: