When calling ConfigurationHelper.getLong with values map containing integer value under key 'name', it will throw ConfigurationException. Similarily, same exception is thrown if either getInt or getInteger is called with long value under key 'name'. Simple test case is attached to demonstrate this behaviour.
Suggested solution to problem above is to use longValue / intValue methods in java.lang.Number class. Suggested patch is attached.
Pull request on Github will be created.