I'm doing some work on Apache Cellar that I wanted to contribute. I'm
almost done, but when I sat down to work on finishing it the other day,
I've started to get a strange error from Karaf I haven't seen before.
Basically, I just ran the integration tests in their current state so I
could see the couple errors I have left to resolve, but am now see this
error print many many times throughout the tests. Does this ring a bell
for anyone? Is there something I might have inadvertently changed with the
dependencies that could cause this? I was looking at the maven
dependencies and don't see any other jars that might have the same class
but with a different signature for that method. Any ideas would be
appreciated!!!!
I'm going to try do some more investigating in the mean time.
Shell command being executed:
instance:list | grep node2 | grep -c Started
Error:
Exception in thread "pipe-[instance:list]" java.lang.NoSuchMethodError:
org.apache.karaf.shell.table.ShellTable.print(Ljava/io/PrintStream;Z)V
at
org.apache.karaf.instance.command.ListCommand.doExecute(ListCommand.java:55)
at
org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)
at
org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)
at
org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)
at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)
at
org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)
at
org.apache.karaf.shell.console.commands.$BlueprintCommand1608310629.execute(Unknown
Source)
at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)