Menu

#8 NullPointerException in toString method

open
nobody
None
5
2006-08-17
2006-08-17
Anonymous
No

The toString methods generated using code sugar
throws NullPointerException if any member variable is
of type java.util.List and is null. The code sugar
generates the code which takes Iterator over list
before checking Null member variable

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.