Project: springxd
Issue XD-603: NPE on stream destroy
xd:>stream create ticktock --definition "time | log" --deploy true 18:45:13,310 WARN Spring Shell client.RestTemplate:524 - POST request for "http://localhost:8080/streams" resulted in 400 (Bad Request); invoking error handler Command failed org.springframework.xd.rest.client.impl.SpringXDException: There is already a stream named 'ticktock' xd:>stream destroy ticktock 18:45:16,505 WARN Spring Shell client.RestTemplate:524 - DELETE request for "http://localhost:8080/streams/ticktock" resulted in 500 (Internal Server Error); invoking error handler Command failed org.springframework.xd.rest.client.impl.SpringXDException: java.lang.NullPointerException Caused by: java.lang.NullPointerException org.springframework.xd.dirt.module.ModuleDeployer.undeploy(ModuleDeployer.java:143) org.springframework.xd.dirt.module.ModuleDeployer.handleMessageInternal(ModuleDeployer.java:97)
Story points: 2