forge / springboot-addon

SpringBoot Addon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NPE for controller.initialize()

cmoulliard opened this issue · comments

When we launch maven test mvn test, we get a NPE at this line

https://github.com/forge/springboot-addon/blob/master/src/test/java/org/jboss/forge/addon/springboot/SetupCommandTest.java#L54

	@Test
	public void checkCommandMetadata() throws Exception {
		try (CommandController controller = uiTestHarness.createCommandController(SpringBootNewProjectCommand.class, project.getRoot()) {
			controller.initialize(); // NPE reported here
  • The temporary project is well created locally
  • Log file is available