java.lang.IllegalStateException: Failed to find template for: translator-file while
attempting to call Admin.getTemplatePropertyDefinitions("file")
----------------------------------------------------------------------------------------------------------------------------------------------------
Key: TEIID-1115
URL:
https://jira.jboss.org/browse/TEIID-1115
Project: Teiid
Issue Type: Bug
Affects Versions: 7.0
Reporter: Barry LaFond
Assignee: Steve Hawkins
Trying to access property info for Translators via Designer's hook through Admin API.
protected void refreshTranslators( Collection<Translator> translators ) throws
Exception {
for (Translator translator : translators) {
Collection<PropertyDefinition> propDefs =
this.admin.getTemplatePropertyDefinitions(translator.getName());
this.translatorByNameMap.put(translator.getName(), new TeiidTranslator(translator,
propDefs, this));
}
}
So when the loop gets to the "file" translator, the
admin.getTemplatePropertyDefinitions("file") ends up logging:
java.lang.IllegalStateException: Failed to find template for: translator-file
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira