You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Kai Kreuzer (JIRA)" <ji...@apache.org> on 2017/07/15 07:51:00 UTC
[jira] [Commented] (KARAF-5111) Error executing command:
java.lang.InterruptedException when installing feature
[ https://issues.apache.org/jira/browse/KARAF-5111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16088505#comment-16088505 ]
Kai Kreuzer commented on KARAF-5111:
------------------------------------
FWIW, I am seeing the very same exception upon shutdown of my instance:
{noformat}
2017-07-15 14:41:04.270 [ERROR] [apache.karaf.shell.support.ShellUtil] - Exception caught while executing command
java.lang.InterruptedException
at java.lang.Object.wait(Native Method) ~[?:?]
at java.lang.Object.wait(Object.java:502) [?:?]
at org.apache.felix.gogo.runtime.CommandSessionImpl$JobImpl.start(CommandSessionImpl.java:772) [59:org.apache.karaf.shell.core:4.1.1]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:284) [59:org.apache.karaf.shell.core:4.1.1]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:157) [59:org.apache.karaf.shell.core:4.1.1]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:148) [59:org.apache.karaf.shell.core:4.1.1]
at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:168) [59:org.apache.karaf.shell.core:4.1.1]
at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:354) [59:org.apache.karaf.shell.core:4.1.1]
at java.lang.Thread.run(Thread.java:745) [?:?]
{noformat}
I can suppress this from my log file through an according "OFF" configuration, but what is specifically annoying is that the same is printed to stdout, althrough I don't have stdout configured as an appender for the logging at all:
{noformat}
openhab> logout
Error executing command: java.lang.InterruptedException
{noformat}
Let me know if you wish a separate bug report for this, but as the exception is identical, I assume it might be the same root cause.
> Error executing command: java.lang.InterruptedException when installing feature
> -------------------------------------------------------------------------------
>
> Key: KARAF-5111
> URL: https://issues.apache.org/jira/browse/KARAF-5111
> Project: Karaf
> Issue Type: Bug
> Affects Versions: 4.1.1
> Environment: JDK 8, MacOS
> Reporter: Andy Phillips
> Attachments: karaf.log
>
>
> I am trying to install a feature i wrote to install iPojo. I can manually install the two bundles, but when i install the "feature" that does the same thing it give me the following error:
> Error executing command: java.lang.InterruptedException
> I've attached the karaf.log as well. ${version.ipojo} = 1.12.1
> The feature is simple:
> <feature name="ipojo" version="${version.ipojo}">
> <bundle>mvn:org.apache.felix/org.apache.felix.ipojo/${version.ipojo}</bundle>
> <bundle>mvn:org.apache.felix/org.apache.felix.ipojo.api/${version.ipojo}</bundle>
> </feature>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)