[ https://issues.apache.org/jira/browse/KARAF-5296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on KARAF-5296 started by Jean-Baptiste Onofré. --------------------------------------------------- > 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)