Hello, When I update a configuration value (with webconsole) an ClassCastException occure in the cellar code.
How to reproduce: - Start karaf 2.2.5; - Execute commands: o features:addurl mvn:org.apache.karaf.cellar/apache-karaf-cellar/2.2.2/xml/features o features:install cellar o features:install cellar-webconsole - http://localhost:8181/system/console/configMgr - Select “Apache Felix Web Console Event Plugin”; - Change maximum event and Save; Result: 1. In the Web Console log service: - Unexpected problem delivery configuration event to [org.osgi.service.cm.ConfigurationListener .....] java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String - In the ./data/log/karaf.log file: 2012-01-05 12:44:50,627 | ERROR | l.PluginServlet) | configadmin | ? ? | 5 - org.apache.felix.configadmin - 1.2.8 | Unexpected problem delivery configuration event to [org.osgi.service.cm.ConfigurationListener, id=209, bundle=75] java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String at org.apache.karaf.cellar.config.ConfigurationSupport.filterDictionary(ConfigurationSupport.java:119)[75:org.apache.karaf.cellar.config:2.2.2] at org.apache.karaf.cellar.config.LocalConfigurationListener.push(LocalConfigurationListener.java:87)[75:org.apache.karaf.cellar.config:2.2.2] at org.apache.karaf.cellar.config.LocalConfigurationListener.configurationEvent(LocalConfigurationListener.java:63)[75:org.apache.karaf.cellar.config:2.2.2] at org.apache.felix.cm.impl.ConfigurationManager$FireConfigurationEvent.run(ConfigurationManager.java:1832)[5:org.apache.felix.configadmin:1.2.8] at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:104)[5:org.apache.felix.configadmin:1.2.8] at java.lang.Thread.run(Thread.java:619)[:1.6.0_21] Is there a work around or a solution for it? Thank, SvS -- View this message in context: http://karaf.922171.n3.nabble.com/ClassCastException-using-cellar-when-update-configuration-fields-tp3634721p3634721.html Sent from the Karaf - User mailing list archive at Nabble.com.
