[Exception_Configuration_NullConfigItem:] CDKCC2005E:The configuration item cannot be found.:
After decompiling IBM MDM 9.02 code, I can see this exception defined in out of box class 'Configuration' [Exception_Configuration_NullConfigItem:] CDKCC2005E:The configuration item cannot be found.:
So, it could be for any entry which you are trying to get from getConfigItem(canonicalName) and it is not able to find it due to some reason, either could be cache not loaded for some reason or could be that the entry made in CONFIGELEMENT is improper.
decompiled code...
public ConfigItem getConfigItem(String canonicalName)
throws ConfigurationRepositoryException
{
GenericCache configItemsMap = this.configSession.getConfigItemsMap();
ConfigItem configItem = (ConfigItem)configItemsMap.get(canonicalName);
if (configItem == null)
{
if (logger.isWarnEnabled()) {
logger.warn("getConfigItem: Item Name " + canonicalName + " cannot be found!");
}
throw new IllegalArgumentException(ResourceBundleHelper.resolve("com.dwl.management.config.client.nl.ConfigurationClientStrings", "Exception_Configuration_NullConfigItem"));
}
if (logger.isFineEnabled())
{
String itemValue = configItem.getValue();
logger.fine(ResourceBundleHelper.resolve("com.dwl.management.config.client.nl.ConfigurationClientStrings", "Info_Configuration_GetConfigItemNameValue", new Object[] { canonicalName, itemValue }));
}
return configItem;
}
Try restarting the server if it is idle state from long time or check if Database connectivity issue doesn't exists.
After decompiling IBM MDM 9.02 code, I can see this exception defined in out of box class 'Configuration' [Exception_Configuration_NullConfigItem:] CDKCC2005E:The configuration item cannot be found.:
So, it could be for any entry which you are trying to get from getConfigItem(canonicalName) and it is not able to find it due to some reason, either could be cache not loaded for some reason or could be that the entry made in CONFIGELEMENT is improper.
decompiled code...
public ConfigItem getConfigItem(String canonicalName)
throws ConfigurationRepositoryException
{
GenericCache configItemsMap = this.configSession.getConfigItemsMap();
ConfigItem configItem = (ConfigItem)configItemsMap.get(canonicalName);
if (configItem == null)
{
if (logger.isWarnEnabled()) {
logger.warn("getConfigItem: Item Name " + canonicalName + " cannot be found!");
}
throw new IllegalArgumentException(ResourceBundleHelper.resolve("com.dwl.management.config.client.nl.ConfigurationClientStrings", "Exception_Configuration_NullConfigItem"));
}
if (logger.isFineEnabled())
{
String itemValue = configItem.getValue();
logger.fine(ResourceBundleHelper.resolve("com.dwl.management.config.client.nl.ConfigurationClientStrings", "Info_Configuration_GetConfigItemNameValue", new Object[] { canonicalName, itemValue }));
}
return configItem;
}
Try restarting the server if it is idle state from long time or check if Database connectivity issue doesn't exists.
No comments:
Post a Comment