Details
-
Task
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Discovery Oak 1.2.40
-
None
Description
With the update to parent 47 the discovery.oak's Config "lost" the ability to gracefully deal with wrong values, such as empty strings. It used to silently swallow these, but now fails loudly with
org.osgi.service.component.ComponentException: java.lang.NumberFormatException: For input string: "" at org.apache.felix.scr.impl.inject.internal.Annotations$Handler.invoke(Annotations.java:379) [org.apache.felix.scr:2.2.0] at com.sun.proxy.$Proxy368.backoffStandbyFactor(Unknown Source) at org.apache.sling.discovery.oak.Config.configure(Config.java:238) [org.apache.sling.discovery.oak:1.2.40] at org.apache.sling.discovery.oak.Config.activate(Config.java:159) [org.apache.sling.discovery.oak:1.2.40]