[
https://issues.apache.org/jira/browse/KARAF-5296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Baptiste Onofré updated KARAF-5296:
----------------------------------------
Comment: was deleted
(was: Thanks to the gogo update (at least on master/4.2.0-SNAPSHOT), the NPE is
fixed. However, a small drawback is that using command alias doesn't work (no
error but it doesn't display anything). I'm taking a look.)
> 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.1.4
>
>
> 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)