Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-1115

java.lang.IllegalStateException: Failed to find template for: translator-file while attempting to call Admin.getTemplatePropertyDefinitions("file")

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.0
    • 7.0
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

            rhn-engineering-rareddy Ramesh Reddy
            blafond Barry LaFond
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: