Ahhh, some of the core classes implement life cycle handling, if you want to be able to restart you app, you may need to code around this.
(Away from my desk, but if you don't see what I'm talking about let me know and I'll send a better response later) -Brian > On Jul 2, 2014, at 1:21 AM, charmpeach <[email protected]> wrote: > > My web application will reload context on `ContextRefreshedEvent`(when > `ApplicationContext` get initialized), I rewrite the code to avoid the > reload, and the NullPointerException disappear. Though I didn't quite > understand the logic, but it seems the reload make sessionManager become > null. Do you know what happen in this process? . > > > > -- > View this message in context: > http://shiro-user.582556.n2.nabble.com/NullPointerException-using-Shiro-tp7580049p7580054.html > Sent from the Shiro User mailing list archive at Nabble.com.
