[teiid-issues] [JBoss JIRA] Closed: (TEIID-1115) java.lang.IllegalStateException: Failed to find template for: translator-file while attempting to call Admin.getTemplatePropertyDefinitions("file")

Steve Hawkins (JIRA) jira-events at lists.jboss.org
Fri Jun 11 14:21:38 EDT 2010


     [ https://jira.jboss.org/browse/TEIID-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Hawkins closed TEIID-1115.
--------------------------------



> 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: Ramesh Reddy
>             Fix For: 7.0
>
>
> 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

        


More information about the teiid-issues mailing list