Community
Participate
Working Groups
= Steps to reproduce = * Go to Sphinx Model Explorer view * Right-click model element to generate code for and select Generate > Code using Xpand... * Select appropriate Xpand template file and definition to execute in ''Template'' group * Uncheck ''Use default path'' in ''Output'' group and enter ''xxx'' as path = Expected result = Generated code gets placed in a folder named ''xxx'' that is placed under the current directory of the running application (typically the Eclipse installation folder). = Actual result = java.lang.NullPointerException at org.eclipse.sphinx.xtendxpand.outlet.ExtendedOutlet.setPath(ExtendedOutlet.java:156) at org.eclipse.sphinx.xtendxpand.outlet.ExtendedOutlet.<init>(ExtendedOutlet.java:53) at org.eclipse.sphinx.xtendxpand.ui.groups.OutputGroup.getOutlets(OutputGroup.java:213) at org.eclipse.sphinx.xtendxpand.ui.wizards.pages.XpandConfigurationPage.getOutlets(XpandConfigurationPage.java:140) at org.eclipse.sphinx.xtendxpand.ui.wizards.M2TConfigurationWizard.createXpandJob(M2TConfigurationWizard.java:172) at org.eclipse.sphinx.xtendxpand.ui.wizards.M2TConfigurationWizard.doPerformFinish(M2TConfigurationWizard.java:150)
Fixed by improving implementation of org.eclipse.sphinx.xtendxpand.outlet.ExtendedOutlet.setPath(IContainer).
Mass-closing Resolved tickets