You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2017/08/12 04:14:02 UTC

[jira] [Commented] (KARAF-5296) The command "shell:watch" fails with a NPE

    [ https://issues.apache.org/jira/browse/KARAF-5296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16124443#comment-16124443 ] 

Jean-Baptiste Onofré commented on KARAF-5296:
---------------------------------------------

I can reproduce the issue on 4.2.0-SNAPSHOT as well.

> The command "shell:watch" fails with a NPE
> ------------------------------------------
>
>                 Key: KARAF-5296
>                 URL: https://issues.apache.org/jira/browse/KARAF-5296
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>    Affects Versions: 4.1.2
>            Reporter: J. Brébec
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 4.2.0, 4.1.3
>
>
> The command "shell:watch" fails with a NPE :
> {code}
> java.lang.NullPointerException
>         at org.apache.felix.gogo.jline.Posix.lambda$watch$6(Posix.java:872)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>         at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>         at java.lang.Thread.run(Thread.java:745)
> {code}
> Reproduced on a fresh Karaf 4.1.2 instances, on Windows 7, with various "watch" tests (watch list, watch scr:components, ..)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)