This is your resource to discuss support topics with your peers, and learn from each other.
Comment out part of your code that adds fields to your screen to find out what line of causes the problem.
Sometimes this problem caused when you add a null-object to the screen.
There is another code that caused the problem.
Comment out parts of code step by step - to find out the problem source.