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

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

Actually, there are two {{shell:watch}} command: the one currently used is the 
one from Felix, whereas we have one internal to Karaf as well. I do some 
sync/clean up.

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

Reply via email to