karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-5313) Exception when deleting a .cfg file from hot deploy directory
Date Thu, 19 Oct 2017 16:28:00 GMT

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

Guillaume Nodet commented on KARAF-5313:
----------------------------------------

Note that even if the NPE is fixed, the file is not deleted.
The deletion code in FileInstall does not work at all because the properties are not available
anymore.
The code in Karaf is broken for factory configurations.

> Exception when deleting a .cfg file from hot deploy directory 
> --------------------------------------------------------------
>
>                 Key: KARAF-5313
>                 URL: https://issues.apache.org/jira/browse/KARAF-5313
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 4.1.2
>         Environment: Windows 7
>            Reporter: Scott Leschke
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.2.0, 4.1.3, 4.0.11
>
>
> {code}
> 2017-08-17T14:03:37,333 | INFO  | CM Event Dispatcher (Fire ConfigurationEvent: pid=bam.provider.query.cae236fc-adc4-437f-9197-0f58eda1d049)
| fileinstall                      | 8 - org.apache.felix.fileinstall - 3.6.0 | Unable to
delete configuration file
> java.lang.NullPointerException: null
> 	at org.apache.felix.fileinstall.internal.ConfigInstaller.doConfigurationEvent(ConfigInstaller.java:180)
[8:org.apache.felix.fileinstall:3.6.0]
> 	at org.apache.felix.fileinstall.internal.ConfigInstaller.configurationEvent(ConfigInstaller.java:108)
[8:org.apache.felix.fileinstall:3.6.0]
> 	at org.apache.felix.cm.impl.ConfigurationManager$FireConfigurationEvent.sendEvent(ConfigurationManager.java:2074)
[7:org.apache.felix.configadmin:1.8.14]
> 	at org.apache.felix.cm.impl.ConfigurationManager$FireConfigurationEvent.run(ConfigurationManager.java:2042)
[7:org.apache.felix.configadmin:1.8.14]
> 	at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:141) [7:org.apache.felix.configadmin:1.8.14]
> 	at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:109) [7:org.apache.felix.configadmin:1.8.14]
> 	at java.lang.Thread.run(Thread.java:748) [?:?]
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message