- Deploy aerogear-controller-demo
- Try ios-otp-demo to login and validate otp
- Log in to aerogear-controller-demo with user 'john'
- Use the restricted admin page to register a new user
- Delete the newly created user
- Try the iso-otp-demo once again. For me the error below will be displayed in the servers console
11:00:24,761 INFO [stdout] (http--127.0.0.1-8080-3) [Demo Error handler :null
11:00:24,788 ERROR [org.jboss.ejb3.invocation] (http--127.0.0.1-8080-3) JBAS014134: EJB Invocation failed on component Otp for method public org.jboss.aerogear.security.model.AeroGearUser org.jboss.aerogear.controller.demo.Otp.secret(): javax.ejb.EJBException: java.lang.NullPointerException