Community
Participate
Working Groups
The org.eclipse.sphinx.xtendxpand.ui.groups.TemplateGroup#loadTemplate(IFile) method return null if template file is under a folder not a PackageJavaElement. The root cause is: - The org.eclipse.sphinx.xtendxpand.ui.groups.TemplateGroup#loadTemplate(IFile) method use org.eclipse.xtend.shared.ui.core.IXtendXpandProject#findXtendXpandResource(IStorage) and the last one call org.eclipse.xtend.shared.ui.core.internal.JDTUtil#findXtendXpandResourceID(IJavaProject, IStorage). - The org.eclipse.xtend.shared.ui.core.internal.JDTUtil#findXtendXpandResourceID(IJavaProject, IStorage) return null as ResourceID because folders are JavaElement
*** This bug has been marked as a duplicate of bug 341921 ***
proposed patch in #Bug 341921 resolve this problem.