How to recover from Java Exceptions showing strings not included in config?

add as a first line of your *.cfg the ConfigAdmin Persistent IDentifier like this:

pid:org.openhab.binding.xyz
or
pid:org.openhab.persistence.xyz
or
pid:org.openhab.action.xyz
etc
etc

this applies to config parameters mainly.
read more here: HowTo: Manage OpenHab 2 configurations - #19 by Dim

This error says the following: a parameter in your stored configs for the http binding is formatted wrongly

Most possibly, during a previous configuration attempt in the http.cfg, you entered:

<cacheItemName>.updateInterval=60000.0

instead of 60000. You then deleted tmp&cache somefile holding info on the redStatus Item was deleted and the second error appeared because now the wrong config parameter was stored and kept in a file as a ghost config.

Interesting to see that clearing tmp&cache triggered the second error… I will dig deeper to see what could have caused the error to appear after clearing tmp&cache…