karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kai Kreuzer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-5111) Error executing command: java.lang.InterruptedException when installing feature
Date Sat, 15 Jul 2017 07:51:00 GMT

    [ 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:

2017-07-15 14:41:04.270 [ERROR] [apache.karaf.shell.support.ShellUtil] - Exception caught
while executing command
        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)
        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)
        at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:354)
        at java.lang.Thread.run(Thread.java:745) [?:?]

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:

openhab> logout                                                                       
Error executing command: java.lang.InterruptedException

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 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

View raw message