[ 
https://issues.apache.org/jira/browse/KARAF-5481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré reassigned KARAF-5481:
-------------------------------------------

    Assignee:     (was: Jean-Baptiste Onofré)

> NullPointer when invoking Karaf.stop()
> --------------------------------------
>
>                 Key: KARAF-5481
>                 URL: https://issues.apache.org/jira/browse/KARAF-5481
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Fabian Lange
>            Priority: Major
>
> customer sees this when they run a package upgrade of our karaf distribution
> ```Nov 12 04:15:54 karaf[21250]: Exception in thread "main" 
> java.lang.NullPointerException
> Nov 12 04:15:54 karaf[21250]: at 
> org.apache.karaf.main.Stop.main(Stop.java:60)```
> https://github.com/apache/karaf/blob/master/main/src/main/java/org/apache/karaf/main/Stop.java#L60
> We have the feeling this is kind of a race condition between sending the stop 
> command and deleting the file which contains the stop command.
> whats your thoughts? shouldn'T we at least ensure that 
> `config.shutdownCommand` is non null?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to