Buggy code:
@ Local ( { UcsManager . class } ) public class UcsManagerImpl implements UcsManager { public static final Logger s_logger = Logger . getLogger ( UcsManagerImpl . class ) ; public static final Long COOKIE_TTL = TimeUnit . MILLISECONDS . convert ( 100L , TimeUnit . MINUTES ) ; public static final Long COOKIE_REFRESH_TTL = TimeUnit . MILLISECONDS . convert ( 10L , TimeUnit . MINUTES ) ; @ Inject private UcsManagerDao ucsDao ; @ Inject private ResourceService resourceService ; @ Inject private ClusterDao clusterDao ; @ Inject private ClusterDetailsDao clusterDetailsDao ; @ Inject private UcsBladeDao bladeDao ; @ Inject private HostDao hostDao ; @ Inject private DataCenterDao dcDao ; @ Inject private ConfigurationDao configDao ; private final Map < Long , UcsCookie > cookies = new HashMap < Long , UcsCookie > ( ) ; private String name ; private int runLevel ; private Map < String , Object > params ; private ScheduledExecutorService syncBladesExecutor ; private int syncBladeInterval ; private class SyncBladesThread extends ManagedContextRunnable { private void discoverNewBlades ( Map < String , UcsBladeVO > previous , Map < String , ComputeBlade > now , UcsManagerVO mgr ) { } private void decommissionFadedBlade ( Map < String , UcsBladeVO > previous , Map < String , ComputeBlade > now ) { } private void syncBlades ( UcsManagerVO mgr ) { } @ Override protected void runInContext ( ) { } } @ Override public boolean configure ( String name , Map < String , Object > params ) throws ConfigurationException { } @ Override public boolean start ( ) { try { <START_BUG> syncBladeInterval = Integer . valueOf ( configDao . getValue ( UCSSyncBladeInterval . key ( ) ) ) ; <END_BUG> } catch ( NumberFormatException e ) { syncBladeInterval = 600 ; } syncBladesExecutor = Executors . newScheduledThreadPool ( 1 , new NamedThreadFactory ( "UCS-SyncBlades" ) ) ; syncBladesExecutor . scheduleAtFixedRate ( new UcsManagerImpl . SyncBladesThread ( ) , syncBladeInterval , syncBladeInterval , TimeUnit . SECONDS ) ; return true ; } @ Override public boolean stop ( ) { } @ Override public String getName ( ) { } private void discoverBlades ( UcsManagerVO ucsMgrVo ) { } @ Override @ DB public UcsManagerResponse addUcsManager ( AddUcsManagerCmd cmd ) { } private String getCookie ( Long ucsMgrId ) { } private List < ComputeBlade > listBlades ( Long ucsMgrId ) { } private List < UcsProfile > getUcsProfiles ( Long ucsMgrId ) { } @ Override public ListResponse < UcsProfileResponse > listUcsProfiles ( ListUcsProfileCmd cmd ) { } private String cloneProfile ( Long ucsMgrId , String srcDn , String newProfileName ) { } private boolean isProfileAssociated ( Long ucsMgrId , String dn ) { } @ Override public UcsBladeResponse associateProfileToBlade ( AssociateUcsProfileToBladeCmd cmd ) { } private String hostIdToUuid ( Long hostId ) { } private String zoneIdToUuid ( Long zoneId ) { } private String ucsManagerIdToUuid ( Long ucsMgrId ) { } @ Override public ListResponse < UcsManagerResponse > listUcsManager ( ListUcsManagerCmd cmd ) { } private UcsBladeResponse bladeVOToResponse ( UcsBladeVO vo ) { } @ Override public ListResponse < UcsBladeResponse > listUcsBlades ( ListUcsBladeCmd cmd ) { } @ Override public void setName ( String name ) { } @ Override public void setConfigParams ( Map < String , Object > params ) { } @ Override public Map < String , Object > getConfigParams ( ) { } @ Override public int getRunLevel ( ) { } @ Override public void setRunLevel ( int level ) { } @ Override public List < Class < ? > > getCommands ( ) { } @ Override public void deleteUcsManager ( Long id ) { } }

Fix:
syncBladeInterval = Integer . parseInt ( configDao . getValue ( UCSSyncBladeInterval . key ( ) ) ) ;