karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Assigned] (KARAF-5481) NullPointer when invoking Karaf.stop()
Date Tue, 14 Nov 2017 06:34:00 GMT

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

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

    Assignee: 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
>            Assignee: Jean-Baptiste Onofré
>
> 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
(v6.4.14#64029)

Mime
View raw message