I just find that spring will call toString() after bean created (finished constructor call) and before setting properties (call setter to press beans to properties). If any methods of those properties called at the toString() method, you will get NullPointerException
Announcement Announcement Module
No announcement yet.
Why there is toString() call after bean initalizated? Page Title Module
Move Remove Collapse