Hi. I have an issue where a conversation bean is destroyed after I started a LRC. I suppposed that since LRC are only the promotion of temporary conversations, beans of the current conversation will be kept after starting the LRC. Somehow this is not happening. This is a snippet of the bean that is destroyed and then recreated my code:
@Name(HBPAuthConstants.ACTION_RESET_PASSWORD) public class ResetPasswordAction { ... @Begin(join = true) public String beginForUser(User user) { this.user = user; return HBPAuthConstants.VIEW_RESET_PASSWORD; } ... @End public String resetPassword() { ... } }
When I call resetPassword I get a NullPointerException because the user attribute is null (it was set in the bean that was destroyed before). I checked and yeah the instance when beginForUser() is called is different from the instance when resetPassword() is called. Any ideas?
Show us the User field of the class and it's bijection annotations.